zimbra 8.6.0 安装部署手册V1.0.0
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Linux下安装Zimbra 8.6.0 协同办公套件
(邮件系统)
1Zimbra简介
Zimbra是一家提供专业的电子邮件软件开发供应商,主要提供ZimbraDesktop邮件管理软件。
2007年9月,Zimbra被雅虎收购。
雅虎用3.50亿美元收购电子邮件软件提供商Zimbra。
Zimbra提供的品牌电子邮件软件包含日历和移动功能以及离线工作功能。
这家公司拥有200个教育行业、商业和互联网服务提供商合作伙伴,其中包括Comcast公司。
该公司向大约900万用户提供品牌的电子邮件服务。
Zimbra与众不同的特点是其“Zimlet“网络服务提供了更多的电子邮件功能。
例如,人们可以简单地用鼠标点击电子邮件程序中的航班信息以检查航班的状况。
用户还可以在电子邮件中跟踪FedEx公司的投递情况并且获得地图、股票和其它信息。
ZIMBRA公司目前通过自己的开放平台向用户提供电邮、日程管理程序和联系人管理工具。
Zimbra开放平台可让用户定制功能并将自己与其他网络服务连接起来。
通过较低价格和更灵活的服务方式,Zimbra从微软上海Exchange电邮平台手中夺得了客户。
Zimbra与众不同的特点是其“Zimlet”网络服务提供了更多的电子邮件功能。
例如,人们可以简单地用鼠标点击电子邮件程序中的航班信息以检查航班的状况。
用户还可以在电子邮件中跟踪FedEx公司的投递情况并且获得地图、股票和其它信息。
Zimbra的核心产品是Zimbra协作套件(Zimbra Collaboration Suite,简称ZCS)。
除了它的核心功能是电子邮件和日程安排服务器,当然还包括许多其它的功能,就象是下一代的微软Exchange。
在电子邮件和日程安排之外,它还提供文档存储和编辑、即时消息以及一个利用获奖技术开发的全功能的管理控制台。
ZCS同时也提供移动设备的支持,以及与部署于Windows、Linux或apple操作系统中的桌面程序的同步功能。
2核心功能
电子邮件服务它打破传统电子邮件的限制,提供集成的信息和协作办公,以提高工作效率,通过自动整理的邮箱、标签以及对话视图,zimbra让电子邮件易于管理,提供即时信息、共享日历以及快捷的文档创作和协作功能,改变由他人协作的方式,使用zimbra可以在任何地点从任意计算机访问自己的账户,而无论使用的是windows、apple还是linux操作系统,zimbra还可以与blackberry、iphone等手持设备同步,即使在路上也能时刻掌握最新资讯,zimbra可以作为个人电子邮件操作系统,也可以用于整个组织。
既可以本地部署,也可以部署在托管服务器上。
电子邮件具体功能:
1、收件箱、邮件、搜索(inbox, mail&search)
2、插件(mashups)
3、日历(calendar)
4、文档协作(document collaboration)
5、即时消息、任务、公文包(im,task,briefcase)
6、zimbra桌面(zimbra desktop)
7、与outlook或apple同步(outlook&apple sync)
8、移动访问(zimbra mobile)Zimbra协作套件(Zimbra Collaboration Suite)2.1版本介绍
ZCS共有三个版本可供选择:
⏹ZCS开源版(免费)
⏹ZCS 网络版(Network Edition)
⏹ZCS 租用版,由合作伙伴提供
2.2安装环境
系统环境:CentOS 6.5 x86_64
Zimbra版本:zimbra 8.6.0
1.zimbra官网:/ 进入官网下载开源版本,
下载地址为:
/downloads/zimbra-collaboration-open-source
2.zimbra不支持32位系统安装,请使用64位系统;
3.zimbra在安装时要检测MX,所以要在之前配置好dns MX解析;
4.安装会安装到/opt目录,请确保/opt目录有足够空间
3安装前准备
1.关闭selinux,编辑/etc/selinux/config
SELINUX=disabled
2.开放防火墙端口,编辑/etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 7071 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8087 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8443 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 110 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 143 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 993 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 995 -j ACCEPT
3.配置主机名,编辑/etc/sysconfig/network
HOSTNAME=
4.配置hosts,编辑/etc/hosts
172.16.12.10
5.关闭sendmail或postfix服务,避免25端口被占用
/etc/init.d/sendmail stop
chkconfig sendmail off
/etc/init.d/postfix stop
chkconfig postfix off
6.重启服务器,确保所有配置生效
# reboot
4开始安装
4.1安装dnsmasq
1.安装dnsmasq
# yum install dnsmasq bind-utils
4.2配置dnsmasq
# cp /etc/dnsmasq.conf /etc/dnsmasq.conf.bak
添加以下到/etc/dnsmasq.conf
no-resolv
server=127.0.0.1
domain=
mx-host=,,5
添加以下到/etc/resolv.conf
nameserver 127.0.0.1
启动dnsmasq
# /etc/init.d/dnsmasq start
4.3测试
[root@mail ~]# dig MX
测试成功。
5安装zimbra
5.1解压
[root@mail ~]# tar -zxvf zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz [root@mail ~]# cd zcs-8.6.0_GA_1153.RHEL6_64.20141215151155
[****************.0_GA_1153.RHEL6_64.20141215151155]#ls
5.2运行安装脚本
# ./install.sh
到此处填写y,继续
Do you agree with the terms of the software license agreement? [N] y 到下面发现少包:
Checking for prerequisites...
FOUND: NPTL
MISSING: nc
FOUND: sudo-1.8.6p3-12
FOUND: libidn-1.18-2
FOUND: gmp-4.3.1-7
FOUND: libaio-0.3.107-10
FOUND: libstdc++-4.4.7-4
FOUND: unzip-6.0-1
Checking for suggested prerequisites...
FOUND: perl-5.10.1
FOUND: sysstat
FOUND: sqlite
###ERROR###
One or more prerequisite packages are missing.
Please install them before running this installer.
Installation cancelled.
安装缺失的包nc:# yum -y install nc
再次运行安装脚本,安装日志如下:
[****************.0_GA_1153.RHEL6_64.20141215151155]#./install.sh
Operations logged to /tmp/install.log.24207
Checking for existing installation...
zimbra-ldap...NOT FOUND
zimbra-logger...NOT FOUND
zimbra-mta...NOT FOUND
zimbra-dnscache...NOT FOUND
zimbra-snmp...NOT FOUND
zimbra-store...NOT FOUND
zimbra-apache...NOT FOUND
zimbra-spell...NOT FOUND
zimbra-convertd...NOT FOUND
zimbra-memcached...NOT FOUND
zimbra-proxy...NOT FOUND
zimbra-archiving...NOT FOUND
zimbra-core...NOT FOUND
PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.
License Terms for the Zimbra Collaboration Suite:
/license/zimbra-public-eula-2-5.html
Do you agree with the terms of the software license agreement? [N] y
Checking for prerequisites...
FOUND: NPTL
FOUND: nc-1.84-22
FOUND: sudo-1.8.6p3-12
FOUND: libidn-1.18-2
FOUND: gmp-4.3.1-7
FOUND: libaio-0.3.107-10
FOUND: libstdc++-4.4.7-4
FOUND: unzip-6.0-1
Checking for suggested prerequisites...
FOUND: perl-5.10.1
FOUND: sysstat
FOUND: sqlite
Prerequisite check complete.
Checking for installable packages
Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-dnscache
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-memcached
Found zimbra-proxy
5.2.1选择安装组件
Select the packages to install
Install zimbra-ldap [Y] y
Install zimbra-logger [Y] y
Install zimbra-mta [Y] y
Install zimbra-dnscache [Y] n
Install zimbra-snmp [Y] y
Install zimbra-store [Y] y
Install zimbra-apache [Y] n
Install zimbra-spell [Y] n
Install zimbra-memcached [Y] n
Install zimbra-proxy [Y] n
Checking required space for zimbra-core
Checking space for zimbra-store
Checking required packages for zimbra-store
zimbra-store package check complete.
5.2.2确认组件
Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
The system will be modified. Continue? [N] y
Removing /opt/zimbra
Removing zimbra crontab entry...done.
Cleaning up zimbra init scripts...done.
Cleaning up /etc/ld.so.conf...done.
Cleaning up /etc/prelink.conf...done.
Cleaning up /etc/security/limits.conf...done.
Finished removing Zimbra Collaboration Server.
Installing packages
zimbra-core......zimbra-core-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64.rp m...done
zimbra-ldap......zimbra-ldap-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64.rp m...done
zimbra-logger......zimbra-logger-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_6 4.rpm...done
zimbra-mta......zimbra-mta-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64.rp m...done
zimbra-snmp......zimbra-snmp-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64. rpm...done
zimbra-store......zimbra-store-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64.r pm...done
Operations logged to /tmp/zmsetup03182015-130657.log
Installing LDAP configuration database...done.
Setting defaults...
DNS ERROR resolving MX for
It is suggested that the domain name have an MX record configured in DNS Change domain name? [Yes] yes(此处未开启DNS服务)
新开窗口开启:
[root@mail ~]# /etc/init.d/dnsmasq start
Starting dnsmasq:
[root@mail ~]#
5.2.3配置域名
DNS ERROR resolving MX for
It is suggested that the domain name have an MX record configured in DNS Re-Enter domain name? [Yes]
Create domain: []
MX: (172.16.176.200)
Interface: 172.16.176.200
Interface: 127.0.0.1
Interface: ::1
done.
Checking for port conflicts
Main menu
5.2.4设置密码
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-logger: Enabled
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: ************** ******* +Admin Password UNSET
+Anti-virus quarantine user: **********************************
+Enable automated spam training: yes
+Spam training user: **********************
+Non-spam(Ham) training user: ***********************
+SMTP host:
+Web server HTTP port: 80
+Web server HTTPS port: 443
+Web server mode: https
+IMAP server port: 143
+IMAP server SSL port: 993
+POP server port: 110
+POP server SSL port: 995
+Use spell check server: no
+Configure for use with mail proxy: FALSE
+Configure for use with web proxy: FALSE
+Enable version update checks: TRUE
+Enable version update notifications: TRUE
+Version update notification email: **************
+Version update source email: **************
+Install mailstore (service webapp): yes
+Install UI (zimbra,zimbraAdmin webapps): yes
7) Default Class of Service Configuration:
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help) 6
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: **************
** 4) Admin Password UNSET
5) Anti-virus quarantine user: **********************************
6) Enable automated spam training: yes
7) Spam training user: **********************
8) Non-spam(Ham) training user: ***********************
9) SMTP host:
10) Web server HTTP port: 80
11) Web server HTTPS port: 443
12) Web server mode: https
13) IMAP server port: 143
14) IMAP server SSL port: 993
15) POP server port: 110
16) POP server SSL port: 995
17) Use spell check server: no
18) Configure for use with mail proxy: FALSE
19) Configure for use with web proxy: FALSE
20) Enable version update checks: TRUE
21) Enable version update notifications: TRUE
22) Version update notification email: **************
23) Version update source email: **************
24) Install mailstore (service webapp): yes
25) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or 'r' for previous menu [r] 4
*************************(min6characters):[6lPewCyc]*^*^-yoyoadm Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: **************
4) Admin Password set
5) Anti-virus quarantine user: **********************************
6) Enable automated spam training: yes
7) Spam training user: **********************
8) Non-spam(Ham) training user: ***********************
9) SMTP host:
10) Web server HTTP port: 80
11) Web server HTTPS port: 443
12) Web server mode: https
13) IMAP server port: 143
14) IMAP server SSL port: 993
15) POP server port: 110
16) POP server SSL port: 995
17) Use spell check server: no
18) Configure for use with mail proxy: FALSE
19) Configure for use with web proxy: FALSE
20) Enable version update checks: TRUE
21) Enable version update notifications: TRUE
22) Version update notification email: **************
23) Version update source email: **************
24) Install mailstore (service webapp): yes
25) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or 'r' for previous menu [r]r(返回上一页)
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-logger: Enabled
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-store: Enabled
7) Default Class of Service Configuration:
s) Save config to file
x) Expand menu
q) Quit
*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a(应用配置)Save configuration data to a file? [Yes]yes
Saving config in /opt/zimbra/config.5031...done. 回车
The system will be modified - continue? [No] yes
5.2.5安装过程
Setting local config values...done.
Initializing core config...Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL zimbra-store certificate...done.
Creating new zimbra-ldap SSL certificate...done.
Creating new zimbra-mta SSL certificate...done.
Installing mailboxd SSL certificates...done.
Installing MTA SSL certificates...done.
Installing LDAP SSL certificate...done.
Initializing ldap...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Setting BES searcher password...done.
Creating server entry for ...done.
Setting Zimbra IP Mode...done.
Saving CA in ldap ..
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Setting BES searcher password...done.
Creating server entry for ...done.
Setting Zimbra IP Mode...done.
Saving CA in ldap ...done.
Saving SSL Certificate in ldap ...done.
Setting service ports on ...done.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
Setting TimeZone Preference...done.
Initializing mta config...done.
Setting services on ...done.
Adding to zimbraMailHostPool in default COS...done. Creating domain ...done.
Setting default domain name...done.
Creating domain ...already exists.
Creating admin account **************...
Creating root alias...done.
Creating postmaster alias...done.
**********************************...done.
***********************************...done.
**********************************************...done. Setting spam training and Anti-virus quarantine accounts...done. Initializing store sql database...done.
Setting zimbraSmtpHostname for ...done. Configuring SNMP...done.
Setting up syslog.conf...done.
Starting servers...done.
Installing common zimlets...
com_zimbra_phone...done.
com_zimbra_bulkprovision...done.
com_zimbra_webex...done.
com_zimbra_adminversioncheck...done.
com_zimbra_email...done.
com_zimbra_viewmail...done.
com_zimbra_tooltip...done.
com_zimbra_attachmail...done.
com_zimbra_mailarchive...done.
com_zimbra_clientuploader...done.
com_zimbra_ymemoticons...done.
com_zimbra_proxy_config...done.
com_zimbra_attachcontacts...done.
com_zimbra_url...done.
com_zimbra_cert_manager...done.
com_zimbra_srchhighlighter...done.
com_zimbra_date...done.
Finished installing common zimlets.
Restarting mailboxd...done.
Creating galsync account for default domain...done.
You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Server.
The only information that will be transmitted is:
The VERSION of zcs installed (8.6.0_GA_1153_RHEL6_64)
TheADMINEMAILADDRESScreated(**************)
5.2.6完成安装
Notify Zimbra of your installation? [Yes] yes
Notifying Zimbra of installation via /cgi-bin/notify.cgi?VER=8.6.0_GA_1153_RHEL6_64&MAIL =**************
ERROR: Notification failed
Setting up zimbra crontab...done.
Moving /tmp/zmsetup03182015-131557.log to /opt/zimbra/log
Configuration complete - press return to exit 5.2.7验证测试
https://:7071
6Zimbra管理
启动,停止,重启,状态:
# su - zimbra
$ zmcontrol start
$ zmcontrol stop
$ zmcontrol restart
$ zmcontrol status
第21页。