Zimbra7.x邮件服务器安装及配置

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:example.com

        IP:192.168.1.5

        Netmask:255.255.255.0

        Gateway:192.168.1.1

        Nameserver:192.168.1.2(DNS配置,上网用)

      b) DNS服务器配置(必须)

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

         添加如下内容:

        zone "example.com"{

                  type master;

                  file "/etc/bind/example.com";

        };

         # nano/etc/bind/example.com

        添加如下内容:

        $TTL 604800

       @       IN     SOA     @   mail.local.(

        20131212       ; Serial

        604800 ; Refresh

        86400  ; Retry

        2419200 ; Expire

        604800) ; Negative Cache TTL

       @       IN     NS      mail

       @       IN     MX     10    mail

       mail     IN     A       192.168.1.5

      #   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

        nameserver     192.168.1.5

    # 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

     选择3

    然后再选择4                                                                                                               

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

    选择 r 回到上级目录

   选择s

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

    选择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.1.5

    用户名:admin

    密码:zimbra (刚刚修改的admin密码) 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值