centos Zimbra邮件服务器的安装与配置

1.      下载Zimbra

官网地址:http://www.zimbra.com/downloads

下载说明:

a)      版本:

zimbra有两个大版本:Open Source Edition和 Network Edition(Starter/Standard/Professional),其中前者免费,后者收费,此处下载前者

具体各版本对比,请参见官网链接:http://www.zimbra.com/products/compare_products.html

b)      版本号:

根据系统酌情选择,此处选择的系统是Debian,而官网上支持Debian系统最高Zimbra版本只有Zimbra 7.2.2 GA,支持Debian5 x32和Debian 5 x64,此处选择Debian 5 x64版本的Zimbra 7.2.2 GA ,文件大小大概550MB左右,我下载下来的文件为:zcs-7.2.2_GA_2852.DEBIAN5_64.20121204211814.tgz

2. 安装前准备

a)        系统:

OS:Debian5 x64 Kennel: 2.6.26-amd64

Hostname: mail

Domain:tiddy.com

IP:192.168.61.217

Netmask:255.255.248.0

Gateway:192.168.60.1

Nameserver:192.168.60.129(临时用,能上网)

b) DNS服务器配置

# nano/etc/bind/named.conf.local

  添加如下内容:

zone "tiddy.com"{

        type master;

        file "/etc/bind/www.tiddy.com";

};

# nano/etc/bind/www.tiddy.com

添加如下内容:

$TTL 604800

@       IN     SOA     @   tiddy.local.(

        20130305       ; Serial

        604800 ; Refresh

        86400  ; Retry

        2419200 ; Expire

        604800) ; Negative Cache TTL

;

@       IN     NS      192.168.61.214.

                         MX     0       zimbra

zimbra     IN     A       192.168.61.217

#   invoke-rc.d     bind9     restart

3.      安装Zimbra

a)        将zcs-7.2.2_GA_2852.DEBIAN5_64.20121204211814.tgz用FTP上传至Debian5 x64系统的~目录下

b)       安装Zimbra相关组件:

#    aptitude     install   sudo   libidn11     libpcre3    libgmp3c2   libperl5.10   libexpat1   perl5    sysstat    sqlite3   file

c)        将Zimbra服务器上的临时DNS换成正式DNS,并重启服务器

# nano    /etc/resolv.conf

search     tiddy.com

nameserver     192.168.61.214

# reboot

d)       安装:

# cd ~

# tar  zxvf  zcs-7.2.2_GA_2852.DEBIAN5_64.20121204211814.tgz

# cd  zcs-7.2.2_GA_2852.DEBIAN5_64.20121204211814

# ./install.sh

安装过程中会有如下提示:

Do you agreewith the terms of the software license agreement? [N] y

Installzimbra-ldap [Y] y

Installzimbra-logger [Y] y

Installzimbra-mta [Y] y

Installzimbra-snmp [Y] y

Installzimbra-store [Y] y

Installzimbra-apache [Y] y

Install zimbra-spell[Y] y

Installzimbra-memcached [N] y

Installzimbra-proxy [N] y

The system willbe modified.  Continue? [N] y

Change domain name?[Yes] no

centos Zimbra邮件服务器的安装与配置

选择3

然后再选择4                                                                                                               

输入admin密码,此处我的密码是zimbra

选择 r 回到上级目录

centos Zimbra邮件服务器的安装与配置

选择s

要求保存文件时,直接回车即可

centos Zimbra邮件服务器的安装与配置

选择a 应用所有配置

Select from menu, or press 'a' to apply config (? - help)a

Save configuration data to a file? [Yes]

Save config in file: [/opt/zimbra/config.9213]

Saving config in /opt/zimbra/config.9213...done.

The system will be modified - continue? [No] yes

Notify Zimbra of your installation? [Yes] no

Configuration complete - press return to exit 回车退出即可

a)        修改/opt/zimbra/.bashrc

# nano/opt/zimbra/.bashrc

到PATH,在等号最前面添加/usr/share/file:

最后形式如下:PATH=/usr/share/file:${ZIMBRA_HOME}/bin:${ZIMBRA_HOME}/postfix/sbin:...

b)       重启服务器

# reboot

至此,安装全部完成

4.      客户端登录

http://192.168.61.217

用户名:admin

密码:zimbra (刚刚修改的admin密码)

centos Zimbra邮件服务器的安装与配置

centos Zimbra邮件服务器的安装与配置


转载于:https://my.oschina.net/u/230843/blog/377519