Zimbra server 的安装

运维 系统运维
Zimbra是一套开源协同办公套件。包括WebMail,日历,通信录,Web文档管理和创作等等。其最大的特色在于其采用Ajax技术模仿CS桌面应用软件的风格。并且客户端兼容Firefox,Safari和IE浏览器。本文讲述的是Zimbra server 的安装。

Zimbra server 安装

  zimbra系统缺省使用UTF-8进行邮件编码,可能会在部分免费 邮件服务的web页面中显示乱码,但根据个人测试目前国内主流网站提供的邮件服务不会出现这个问题。

  一、 系统要求及配置环境

  Redhat Linux AS 4 需要完全安装

  Zimbra server 5 for redhat 4

  固定IP:61.183.xx.xx

  域名:xxx.com,并对域名作mx解析到61.183.xx.xx

  服务器采用三块72.8g硬盘作raid5阵列,可用空间为145.6g

  二、 安装操作系统

  1. 正常安装Redhat linux AS 4,在分区时选择自动分区。

  2. 在选择防火墙时必须选择关闭防火墙。

  3. 在选择selinux时,必须选择禁用。

  4. 在选择程序时选择“全部安装”。

  三、 安装前的配置

  安装前必须配置dns服务。

  1. 配置/etc/named.conf文件,配置如下:

  1.   // named.conf for Red Hat caching-nameserver  
  2.  
  3.   //  
  4.  
  5.   options {  
  6.  
  7.   directory "/var/named";  
  8.  
  9.   dump-file "/var/named/data/cache_dump.db";  
  10.  
  11.   statistics-file "/var/named/data/named_stats.txt";  
  12.  
  13.   forwarders {202.103.24.68;};  
  14.  
  15.   // query-source address * port 53;  
  16.  
  17.   };  
  18.  
  19.   //  
  20.  
  21.   // a caching only nameserver config  
  22.  
  23.   //  
  24.  
  25.   controls {  
  26.  
  27.   inet 127.0.0.1 allow { localhost; } keys { rndckey; };  
  28.  
  29.   };  
  30.  
  31.   zone "." IN {  
  32.  
  33.   type hint;  
  34.  
  35.   file "named.ca";  
  36.  
  37.   };  
  38.  
  39.   zone "localdomain" IN {  
  40.  
  41.   type master;  
  42.  
  43.   file "localdomain.zone";  
  44.  
  45.   allow-update { none; };  
  46.  
  47.   };  
  48.  
  49.   zone "localhost" IN {  
  50.  
  51.   type master;  
  52.  
  53.   file "localhost.zone";  
  54.  
  55.   allow-update { none; };  
  56.  
  57.   };  
  58.  
  59.   zone "xxx.com" IN {  
  60.  
  61.   type master;  
  62.  
  63.   file "xxx.com.zone";  
  64.  
  65.   allow-update { none; };  
  66.  
  67.   };  
  68.  
  69.   zone "xx.88.168.192.in-addr.arpa" IN {  
  70.  
  71.   type master;  
  72.  
  73.   file "xx.88.168.192.in-addr.arpa";  
  74.  
  75.   allow-update { none; };  
  76.  
  77.   };  
  78.  
  79.   zone "0.0.127.in-addr.arpa" IN {  
  80.  
  81.   type master;  
  82.  
  83.   file "named.local";  
  84.  
  85.   allow-update { none; };  
  86.  
  87.   };  
  88.  
  89.   zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {  
  90.  
  91.   type master;  
  92.  
  93.   file "named.ip6.local";  
  94.  
  95.   allow-update { none; };  
  96.  
  97.   };  
  98.  
  99.   zone "255.in-addr.arpa" IN {  
  100.  
  101.   type master;  
  102.  
  103.   file "named.broadcast";  
  104.  
  105.   allow-update { none; };  
  106.  
  107.   };  
  108.  
  109.   zone "0.in-addr.arpa" IN {  
  110.  
  111.   type master;  
  112.  
  113.   file "named.zero";  
  114.  
  115.   allow-update { none; };  
  116.  
  117.   };  
  118.  

  2. 在/var/named/chroot/var/named创建文件68.88.168.192.in-addr.arpa,并作以下配置:

  1.   TTL 86400  
  2.  
  3.   @ IN SOA mail.xxx.com. admin.xxx.com. (  
  4.  
  5.   1997022700 ; Serial  
  6.  
  7.   28800 ; Refresh  
  8.  
  9.   14400 ; Retry  
  10.  
  11.   3600000 ; Expire  
  12.  
  13.   86400 ) ; Minimum  
  14.  
  15.   IN NS mail.xxx.com.  
  16.  
  17.   1 IN PTR mail.xxx.com.  
  18.  

  3. 在/var/named/chroot/var/named创建文件xxx.com.zone,并作以下配置:

  1.   $TTL 86400  
  2.  
  3.   @ IN SOA mail.xxx.com. admin.xxx.com. (  
  4.  
  5.   42 ; serial (d. adams)  
  6.  
  7.   3H ; refresh  
  8.  
  9.   15M ; retry  
  10.  
  11.   1W ; expiry  
  12.  
  13.   1D ) ; minimum  
  14.  
  15.   IN NS mail.xxx.com.  
  16.  
  17.   IN MX 0 mail.xxx.com.  
  18.  
  19.   localhost IN A 127.0.0.1  
  20.  
  21.   mail IN A 192.168.88.xx  
  22.  

  4. 在/var/named/下创建链接,命令如下:

  1.   [root@mail named]# ln -s /var/named/chroot/var/named/68.88.168.192.in-addr.arpa  
  2.  
  3.   [root@mail named]# ln -s /var/named/chroot/var/named/xxx.com.zone  
  4.  

  5. 启动dns服务,命令如下:

  1.   [root@mail home]# service named restart  
  2.  

  6. 自动启动dns服务,命令如下:

  1.   [root@mail home]# chkconfig named on  
  2.  

  四、 安装zimbra server

  1. 关闭sendmai服务及停止sendmail服务

  1.   [root@mail home]# chkconfig sendmail off  
  2.  
  3.   [root@mail home]# service sendmail stop  
  4.  

  2. 编辑/etc/hosts文件。如下:

  1.   # Do not remove the following line, or various programs  
  2.  
  3.   # that require network functionality will fail.  
  4.  
  5.   127.0.0.1 localhost.localdomain localhost  
  6.  
  7.   192.168.88.68 mail.xxx.com mail  
  8.  

  3. 编辑/etc/resolv.conf。如下:

  1.   search xxx.com  
  2.  
  3.   nameserver 192.168.88.xx  
  4.  
  5.   nameserver 202.103.24.68  
  6.  

  4. 解压zimbra server安装包

  装安装包放在/var/tmp下,并解压,命令如下:

  1.   [root@mail tmp]# tar zxvf zcs-5.0.16_GA_2921.RHEL4.20090429033149  

【编辑推荐】
 

 

  1. Ubuntu下Zimbra的安装
  2. 设置Zimbra黑名单白名单
  3. Zimbra的简单配置
  4. Zimbra的安装与配置
  5. Zimbra server的安装
  6. Zimbra 未解决的三个细节问题

 

责任编辑:zhaolei 来源: 网络转载
相关推荐

2011-01-19 12:56:45

Zimbraserve安装

2011-02-21 17:41:58

2011-01-21 17:01:34

Zimbra

2011-02-21 17:17:05

UbuntuZimbra安装

2011-01-20 11:00:07

Zimbra安装

2011-01-19 12:29:44

2011-01-20 11:00:41

Zimbra配置

2011-01-21 17:43:13

2011-01-21 16:49:15

Zimbra

2011-01-21 17:28:37

Zimbra

2011-02-21 17:51:39

Zimbra入门新手

2011-01-21 17:09:06

Zimbra

2011-01-19 13:11:25

Zimbra白名单证书

2011-01-21 17:15:35

Zimbra

2011-03-07 14:25:57

FileZilla安装

2012-07-17 09:43:58

2021-12-31 08:15:00

Percona SerMySQL开发

2011-01-21 17:53:44

Zimbra

2010-07-06 11:09:52

Server 2008

2010-09-02 17:18:39

SQL server安装
点赞
收藏

51CTO技术栈公众号