Centos7下怎么安装Zimbra
生活随笔
收集整理的這篇文章主要介紹了
Centos7下怎么安装Zimbra
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
這篇文章主要介紹“Centos7下怎么安裝Zimbra”的相關知識,小編通過實際案例向大家展示操作過程,操作方法簡單快捷,實用性強,希望這篇“Centos7下怎么安裝Zimbra”文章能幫助大家解決問題。
Zimbra提供一套開源協(xié)同辦公套件包括WebMail,日歷,通信錄,Web文檔管理和創(chuàng)作。它最大的特色在于其采用Ajax技術模仿CS桌面應用軟件的風格開發(fā)的客戶端兼容Firefox,Safari和IE瀏覽器。
環(huán)境
系統(tǒng):Centos7 ip地址:192.168.1.109
安裝前準備
1.關閉SELINUX并清空iptable規(guī)則
#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.配置區(qū)域配置文件
#vim/var/named/zimbra.com$TTL1D @INSOA@rname.invalid.( 0;serial 1D;refresh 1H;retry 1W;expire 3H);minimum NSns.zimbra.com. MX10mail.zimbra.com. nsA192.168.1.109 mailA192.168.1.109#vim/var/named/192.168.1.arpa$TTL1D @INSOA@rname.invalid.( 0;serial 1D;refresh 1H;retry 1W;expire 3H);minimum NSns.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并查看狀態(tài)
#su-zimbra//切換到zimbra用戶#zmcontrolstart//啟動zimbra#zmcontrolstatus//查看啟動狀態(tài)#zmcontrolstop//停止zimbra
查看zimbra啟動狀態(tài):
5.訪問管理頁面測試
訪問zimbra管理頁面,在瀏覽器輸入:
https://192.168.1.109:7071
登錄界面: 后臺管理界面: 訪問zimbra客戶端,在瀏覽器輸入:
https://192.168.1.109
用戶登錄界面: 用戶界面:
總結
以上是生活随笔為你收集整理的Centos7下怎么安装Zimbra的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python即时标记_【Python】读
- 下一篇: ros重置后地址_从零开始丨INDEMI