当前位置:文档之家› zimbra 8.6.0 安装部署手册V1.0.0

zimbra 8.6.0 安装部署手册V1.0.0

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_64Zimbra版本:zimbra 8.6.01.zimbra官网:/ 进入官网下载开源版本,下载地址为:/downloads/zimbra-collaboration-open-source2.zimbra不支持32位系统安装,请使用64位系统;3.zimbra在安装时要检测MX,所以要在之前配置好dns MX解析;4.安装会安装到/opt目录,请确保/opt目录有足够空间3安装前准备1.关闭selinux,编辑/etc/selinux/configSELINUX=disabled2.开放防火墙端口,编辑/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 ACCEPT3.配置主机名,编辑/etc/sysconfig/networkHOSTNAME=4.配置hosts,编辑/etc/hosts172.16.12.10 5.关闭sendmail或postfix服务,避免25端口被占用/etc/init.d/sendmail stopchkconfig sendmail off/etc/init.d/postfix stopchkconfig postfix off6.重启服务器,确保所有配置生效# reboot4开始安装4.1安装dnsmasq1.安装dnsmasq# yum install dnsmasq bind-utils4.2配置dnsmasq# cp /etc/dnsmasq.conf /etc/dnsmasq.conf.bak添加以下到/etc/dnsmasq.confno-resolvserver=127.0.0.1domain=mx-host=,,5添加以下到/etc/resolv.confnameserver 127.0.0.1启动dnsmasq# /etc/init.d/dnsmasq start4.3测试[root@mail ~]# dig MX测试成功。

5安装zimbra5.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]#ls5.2运行安装脚本# ./install.sh到此处填写y,继续Do you agree with the terms of the software license agreement? [N] y 到下面发现少包:Checking for prerequisites...FOUND: NPTLMISSING: ncFOUND: sudo-1.8.6p3-12FOUND: libidn-1.18-2FOUND: gmp-4.3.1-7FOUND: libaio-0.3.107-10FOUND: libstdc++-4.4.7-4FOUND: unzip-6.0-1Checking for suggested prerequisites...FOUND: perl-5.10.1FOUND: sysstatFOUND: 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.shOperations logged to /tmp/install.log.24207Checking for existing installation...zimbra-ldap...NOT FOUNDzimbra-logger...NOT FOUNDzimbra-mta...NOT FOUNDzimbra-dnscache...NOT FOUNDzimbra-snmp...NOT FOUNDzimbra-store...NOT FOUNDzimbra-apache...NOT FOUNDzimbra-spell...NOT FOUNDzimbra-convertd...NOT FOUNDzimbra-memcached...NOT FOUNDzimbra-proxy...NOT FOUNDzimbra-archiving...NOT FOUNDzimbra-core...NOT FOUNDPLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOUFIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLINGTHE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BYTHIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THISAGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.License Terms for the Zimbra Collaboration Suite:/license/zimbra-public-eula-2-5.htmlDo you agree with the terms of the software license agreement? [N] yChecking for prerequisites...FOUND: NPTLFOUND: nc-1.84-22FOUND: sudo-1.8.6p3-12FOUND: libidn-1.18-2FOUND: gmp-4.3.1-7FOUND: libaio-0.3.107-10FOUND: libstdc++-4.4.7-4FOUND: unzip-6.0-1Checking for suggested prerequisites...FOUND: perl-5.10.1FOUND: sysstatFOUND: sqlitePrerequisite check complete.Checking for installable packagesFound zimbra-coreFound zimbra-ldapFound zimbra-loggerFound zimbra-mtaFound zimbra-dnscacheFound zimbra-snmpFound zimbra-storeFound zimbra-apacheFound zimbra-spellFound zimbra-memcachedFound zimbra-proxy5.2.1选择安装组件Select the packages to installInstall zimbra-ldap [Y] yInstall zimbra-logger [Y] yInstall zimbra-mta [Y] yInstall zimbra-dnscache [Y] nInstall zimbra-snmp [Y] yInstall zimbra-store [Y] yInstall zimbra-apache [Y] nInstall zimbra-spell [Y] nInstall zimbra-memcached [Y] nInstall zimbra-proxy [Y] nChecking required space for zimbra-coreChecking space for zimbra-storeChecking required packages for zimbra-storezimbra-store package check complete.5.2.2确认组件Installing:zimbra-corezimbra-ldapzimbra-loggerzimbra-mtazimbra-snmpzimbra-storeThe system will be modified. Continue? [N] yRemoving /opt/zimbraRemoving 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 packageszimbra-core......zimbra-core-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64.rp m...donezimbra-ldap......zimbra-ldap-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64.rp m...donezimbra-logger......zimbra-logger-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_6 4.rpm...donezimbra-mta......zimbra-mta-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64.rp m...donezimbra-snmp......zimbra-snmp-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64. rpm...donezimbra-store......zimbra-store-8.6.0_GA_1153.RHEL6_64-20141215151155.x86_64.r pm...doneOperations logged to /tmp/zmsetup03182015-130657.logInstalling 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 startStarting 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.200Interface: 127.0.0.1Interface: ::1done.Checking for port conflictsMain menu5.2.4设置密码1) Common Configuration:2) zimbra-ldap: Enabled3) zimbra-logger: Enabled4) zimbra-mta: Enabled5) zimbra-snmp: Enabled6) 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): yes7) Default Class of Service Configuration:s) Save config to filex) Expand menuq) QuitAddress unconfigured (**) items (? - help) 6Store configuration1) Status: Enabled2) Create Admin User: yes3) Admin user to create: **************** 4) Admin Password UNSET5) Anti-virus quarantine user: **********************************6) Enable automated spam training: yes7) Spam training user: **********************8) Non-spam(Ham) training user: ***********************9) SMTP host: 10) Web server HTTP port: 8011) Web server HTTPS port: 44312) Web server mode: https13) IMAP server port: 14314) IMAP server SSL port: 99315) POP server port: 11016) POP server SSL port: 99517) Use spell check server: no18) Configure for use with mail proxy: FALSE19) Configure for use with web proxy: FALSE20) Enable version update checks: TRUE21) Enable version update notifications: TRUE22) Version update notification email: **************23) Version update source email: **************24) Install mailstore (service webapp): yes25) Install UI (zimbra,zimbraAdmin webapps): yesSelect, or 'r' for previous menu [r] 4*************************(min6characters):[6lPewCyc]*^*^-yoyoadm Store configuration1) Status: Enabled2) Create Admin User: yes3) Admin user to create: **************4) Admin Password set5) Anti-virus quarantine user: **********************************6) Enable automated spam training: yes7) Spam training user: **********************8) Non-spam(Ham) training user: ***********************9) SMTP host: 10) Web server HTTP port: 8011) Web server HTTPS port: 44312) Web server mode: https13) IMAP server port: 14314) IMAP server SSL port: 99315) POP server port: 11016) POP server SSL port: 99517) Use spell check server: no18) Configure for use with mail proxy: FALSE19) Configure for use with web proxy: FALSE20) Enable version update checks: TRUE21) Enable version update notifications: TRUE22) Version update notification email: **************23) Version update source email: **************24) Install mailstore (service webapp): yes25) Install UI (zimbra,zimbraAdmin webapps): yesSelect, or 'r' for previous menu [r]r(返回上一页)Main menu1) Common Configuration:2) zimbra-ldap: Enabled3) zimbra-logger: Enabled4) zimbra-mta: Enabled5) zimbra-snmp: Enabled6) zimbra-store: Enabled7) Default Class of Service Configuration:s) Save config to filex) Expand menuq) Quit*** CONFIGURATION COMPLETE - press 'a' to applySelect from menu, or press 'a' to apply config (? - help) a(应用配置)Save configuration data to a file? [Yes]yesSaving config in /opt/zimbra/config.5031...done. 回车The system will be modified - continue? [No] yes5.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] yesNotifying Zimbra of installation via /cgi-bin/notify.cgi?VER=8.6.0_GA_1153_RHEL6_64&MAIL =**************ERROR: Notification failedSetting up zimbra crontab...done.Moving /tmp/zmsetup03182015-131557.log to /opt/zimbra/logConfiguration complete - press return to exit 5.2.7验证测试https://:70716Zimbra管理启动,停止,重启,状态:# su - zimbra$ zmcontrol start$ zmcontrol stop$ zmcontrol restart$ zmcontrol status第21页。

相关主题