这篇文章主要介绍“Centos7下怎么安装Zimbra”的相关知识,小编通过实际案例向大家展示操作过程,操作方法简单快捷,实用性强,希望这篇“Centos7下怎么安装Zimbra”文章能帮助大家解决问题。

Zimbra提供一套开源协同办公套件包括WebMail,日历,通信录,Web文档管理和创作。它最大的特色在于其采用Ajax技术模仿CS桌面应用软件的风格开发的客户端兼容Firefox,Safari和IE浏览器。

环境

系统:Centos7 ip地址:192.168.1.109

安装前准备

1.关闭SELINUX并清空iptable规则

#sed-i's/SELINUX=enforcing/SELINUX=disabled/'/etc/sysconfig/selinux#yum-yinstalliptables-services#iptables-F#iptables-X#iptables-z#serviceiptablessave#reboot

2.配置主机名

#hostnamectlset-hostnamemail.zimbra.com#echo"192.168.1.109mail.zimbra.com">>/etc/hosts

3.安装zimbra所需要的包和库

#yum-yupdate#yum-yinstallperlperl-corenmapsudolibidngmplibaiolibstdc++unzipsysstatsqlitenc

4.关闭安装的MTA服务

#systemctlstoppostfix.service#systemctldisablepostfix.service配置dns服务器

1.安装bind

#yum-yinstallbindbind-utils

2.修改主配置文件

vim/etc/named.conf添加下面的配置:zone"zimbra.com"IN{typemaster;file"zimbra.com";allow-update{none;};};zone"1.168.192.in-addr.arpa"IN{typemaster;file"192.168.1.arpa";allow-update{none;};};

2.配置区域配置文件

#vim/var/named/zimbra.com$TTL1D@INSOA@rname.invalid.(0;serial1D;refresh1H;retry1W;expire3H);minimumNSns.zimbra.com.MX10mail.zimbra.com.nsA192.168.1.109mailA192.168.1.109#vim/var/named/192.168.1.arpa$TTL1D@INSOA@rname.invalid.(0;serial1D;refresh1H;retry1W;expire3H);minimumNSns.zimbra.com.109PTRns.zimbra.com.109PTRmail.zimbra.com.

3.重启bind

#systemctlrestartnamed.service

4.使用本地dns服务器

#echo"nameserver127.0.0.1">>/etc/resolv.conf安装zimbra

1.下载zimbra

#wgethttps://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.RHEL7_64.20141215151110.tgz

2.解压压缩包并修改文件夹名

#tar-zxvfzcs-8.6.0_GA_1153.RHEL7_64.20141215151110#mvzcs-8.6.0_GA_1153.RHEL7_64.20141215151110zimbra

3.运行脚本开始安装zimbra

#cdzimbra#./install.sh--platform-overrideOperationsloggedto/tmp/install.log.2744Checkingforexistinginstallation.........Doyouagreewiththetermsofthesoftwarelicenseagreement?[N]y......Installzimbra-ldap[Y]Installzimbra-logger[Y]Installzimbra-mta[Y]Installzimbra-dnscache[Y]nInstallzimbra-snmp[Y]Installzimbra-store[Y]Installzimbra-apache[Y]Installzimbra-spell[Y]Installzimbra-memcached[Y]Installzimbra-proxy[Y]......Thesystemwillbemodified.Continue?[N]y......DNSERRORresolvingMXformail.zimbra.comItissuggestedthatthedomainnamehaveanMXrecordconfiguredinDNSChangedomainname?[Yes]Createdomain:[mail.zimbra.com]zimbra.comMX:mail.zimbra.com(192.168.1.109)Interface:127.0.0.1Interface:::1Interface:192.168.1.109done.CheckingforportconflictsMainmenu1)CommonConfiguration:2)zimbra-ldap:Enabled3)zimbra-logger:Enabled4)zimbra-mta:Enabled5)zimbra-snmp:Enabled6)zimbra-store:Enabled+CreateAdminUser:yes+Adminusertocreate:admin@zimbra.com*******+AdminPasswordUNSET+Anti-virusquarantineuser:virus-quarantine.vhwa2pqsa7@zimbra.com......Addressunconfigured(**)items(?-help)6Storeconfiguration1)Status:Enabled2)CreateAdminUser:yes3)Adminusertocreate:admin@zimbra.com**4)AdminPasswordUNSET......Select,or'r'forpreviousmenu[r]4Passwordforadmin@zimbra.com(min6characters):[5okG5xTdX]123456Storeconfiguration...Select,or'r'forpreviousmenu[r]r......***CONFIGURATIONCOMPLETE-press'a'toapplySelectfrommenu,orpress'a'toapplyconfig(?-help)aSaveconfigurationdatatoafile?[Yes]Saveconfiginfile:[/opt/zimbra/config.11982]Savingconfigin/opt/zimbra/config.11982...done.Thesystemwillbemodified-continue?[No]yes......NotifyZimbraofyourinstallation?[Yes]noNotificationskippedSettingupzimbracrontab...done.Moving/tmp/zmsetup04082016-205457.logto/opt/zimbra/logConfigurationcomplete-pressreturntoexit

4.启动zimbra并查看状态

#su-zimbra//切换到zimbra用户#zmcontrolstart//启动zimbra#zmcontrolstatus//查看启动状态#zmcontrolstop//停止zimbra

查看zimbra启动状态:

5.访问管理页面测试

访问zimbra管理页面,在浏览器输入:

https://192.168.1.109:7071

登录界面: 后台管理界面: 访问zimbra客户端,在浏览器输入:

https://192.168.1.109

用户登录界面: 用户界面:

关于“Centos7下怎么安装Zimbra”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识,可以关注亿速云行业资讯频道,小编每天都会为大家更新不同的知识点。