转载请注明出处,谢谢~毕竟忙了两个礼拜。
ZimbraCollaborationSuite (ZCS) is a groupware email server andweb clientcreated by Zimbra, Inc.The company waspurchasedby Yahoo! in September 2007,and subsequentlyacquiredby VMware on January 12, 2010.
----------------------------------维基zimbra
请放心参考。为了严谨,特地在另一台全新电脑上安装验证过。
Ubuntu10.04(zimbra官方支持的Ubuntu最高版本)。从全新系统开始编译Zimbra。
Ubuntu安装配置
Ubuntu 10.04 32位
设置源,更新源
更新
源码下载
exportP4PORT=codes.zimbra.com:2666
mkdir -p/home/public/p4
./p4 -u public -Ppublic1234 -c public-view sync -f //depot/zcs/HELIX-714/…
注意:确保创建的p4文件夹可写可读可执行。
实际下载的时候,经常无法连接到服务器,可以尝试下载其它版本。
ZimbraSourcecode Mirror andbrowseable repository
编译
Zimbra版本7.14。
参考 源码根目录下README.buildZCS,编译前安装配置好JDK与Ant,并设置好def文件。
The 1.6Java JDK must also be installed into /usr/local/java, so that the binary is:
/usr/local/java/bin/java
Ant mustbe installed in /usr/local/ant, so that the binary is:
/usr/local/ant/bin/ant
遇到编译错误之前的错误按照提示做。
终端运行ZimbraBuild/buildZCS.sh开始编译。
desktop版本 编译参数-d
Checkingfor prerequisite binaries
Checking ant
Checking java
Checkingfor required JDK tarball
Error:jdk file needed for ZCS packaging not available
Necessaryversion is: 1.7.0_03
Pleasecreate/home/soliddream/Zimbra/main/ZimbraBuild/../ThirdPartyBuilds/i386/java/jdk1.7.0_03.tgz
Whichis an extracted then retarred version of JDK 1.6 downloaded from
http://www.oracle.com/technetwork/java/javase/downloads/index.html
下载指定版本jdk