测试环境:

debian-506-i386-CD-1.iso
Zimbra Collaboration Suite - Open Source Edition

第一阶段:前期准备 FQDN、DNS(BIND9)

sudo gedit /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
#The primary network interface
allow-hotplug eth1
iface eth1 inet static
address 192.168.1.37
netmask 255.255.255.0
gateway 192.168.1.1
 
sudo gedit /etc/hosts
127.0.0.1    localhost
192.168.1.37    server.mytest.com server

sudo gedit /etc/bind/named.conf
zone "mytest.com" {
    type master;
    file "/etc/bind/db.mytest.com";
};

zone "1.168.192.in-addr.arpa" {
    type master;
    file "/etc/bind/db.192.168.1";
};

sudo gedit /etc/bind/db.mytest.com
$TTL    604800
@    IN    SOA    mytest.com. root.mytest.com. (
                  1        ; Serial
             604800        ; Refresh
              86400        ; Retry
            2419200        ; Expire
             604800 )    ; Negative Cache TTL
;
@    IN    NS    ns.mytest.com.
@    IN    MX    10    mx.mytest.com.
@    IN    A       192.168.1.37    
ns    IN    A    192.168.1.37
server    IN    A    192.168.1.37
mx    IN    A    192.168.1.37
www    IN    CNAME    server.mytest.com.
@    IN    AAAA    ::1

sudo gedit /etc/bind/db.192.168.1
$TTL    604800
@    IN    SOA    ns.mytest.com. root.mytest.com. (
                  1        ; Serial
             604800        ; Refresh
              86400        ; Retry
            2419200        ; Expire
             604800 )    ; Negative Cache TTL
;
@    IN    NS    ns.
37    IN    PTR    ns.mytest.com
37    IN    PTR    mail.mytest.com
37    IN    PTR     server.mytest.com
37    IN    PTR    www.mytest.com
 
第二阶段:安装Zimbra
 
tar xzvf zcs608.tgz(重命名过的)
cd zcs608
sh install.sh
在安装过程中先后遇到几个比较有印象的问题
1,DNS的mx解析问题。前后折腾了很久,虽然目前是测试通过了,但是还没找到这方面的详细的资料,细节部分不是很理解。
2,libgmpc2。zimbra 的debian版本默认使用libgmp包,需要到util/utilfunc.sh当中去修改配置。
3,sysstat。突然出现的这个问题,现在重启debian还有warnning的提示。
4,Address unconfigured (**) items (? - help) 出来这个吓了我一跳。原来是要求输入管理员密码。按3,4之后根据提示输入,保存配置文件启动服务。
 
第三阶段:配置、访问Zimbra