Zimbra的簡單配置
Zimbra的簡單配置:
一、前提工作
CentOS 5.3默認安裝
關(guān)閉防火墻
關(guān)閉SELinux
zimbra服務(wù)器的IP為 10.44.100.66
關(guān)閉不必要的服務(wù)開機啟動
- # chkconfig sendmail off
- # chkconfig ip6tables off
- # chkconfig iptables off
二、安裝過程
安裝一些必要的包
# yum install libtool-ltdl compat-libstdc++-33 sysstat
修改主機名
# echo "10.44.100.66 mail.rookie.com mail" >> /etc/hosts
10.44.100.66 應為你服務(wù)器的IP地址
安裝Name Service
默認安裝的centOS 都已安裝了named ,如果沒安裝自己再裝一次吧
# rpm -qa |grep bind #查看named 是否安裝
- bind-libs-9.3.4-10.P1.el5
- ypbind-1.19-11.el5
- bind-chroot-9.3.4-10.P1.el5
- bind-9.3.4-10.P1.el5
- bind-utils-9.3.4-10.P1.el5
創(chuàng)建名字服務(wù)配置文件named.conf
- # vi /var/named/chroot/etc/named.conf
- options
- {
- directory "/var/named";
- dump-file "/var/named/data/cache_dump.db";
- statistics-file "/var/named/data/named_stats.txt";
- };
- include "/etc/rndc.key";
- // We are the master server for mail.rookie.com
- zone "mail.rookie.com" {
- type master;
- file "db.mail.rookie.com";
- };
創(chuàng)建數(shù)據(jù)文件
- # vi /var/named/chroot/var/named/db.mail.rookie.com
- ;
- ; Addresses and other host information.
- ;
- @ IN SOA mail.rookie.com. hostmaster.mail.rookie.com. (
- 10118 ; Serial
- 43200 ; Refresh
- 3600 ; Retry
- 3600000 ; Expire
- 2592000 ) ; Minimum
- ; Define the nameservers and the mail servers
- IN NS 10.44.100.66
- IN A 10.44.100.66
- IN MX 10 mail.rookie.com.
定義zimbra服務(wù)器的DNS服務(wù)器地址
- # echo "nameserver 10.44.100.66" >> /etc/resolv.conf
啟動named
- # service named start
添加到開機啟動
- # chkconfig named on
測試解釋是否正常
- # nslookup mail.rookie.com
如出現(xiàn)以下內(nèi)容說明正常
- Server: 10.44.100.66
- Address: 10.44.100.66#53
- Name: mail.rookie.com
- Address: 10.44.100.66
#p#
三、安裝zimbra
下載zimbra 包
- # wget http://h.yimg.com/lo/downloads/6.0.1_GA/zcs-6.0.1_GA_1816.RHEL5.20090911181524.tgz
解壓tgz包
- # tar zxvf zcs-6.0.1_GA_1816.RHEL5.20090911181524.tgz
安裝zimbra
- # cd zcs-6.0.1_GA_1816.RHEL5.20090911181524
- # ./install.sh --platform-override
安裝過程會有N多提示,對新手來說前面的都可以默認
至到
install anyway? [N] 選擇Y
The system will be modified. Continue? [N] 選擇Y
當出現(xiàn)以下畫面的時候
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@mail.rookie.com
******* +Admin Password UNSET
+Enable automated spam training: yes
+Spam training user: spam.o1irkbvbks@mail.rookie.com
+Non-spam(Ham) training user: ham.1zaab3n5vd@mail.rookie.com
+Global Documents Account: wiki@mail.rookie.com
+SMTP host: mail.rookie.com
+Web server HTTP port: 80
+Web server HTTPS port: 443
+Web server mode: http
+IMAP server port: 143
+IMAP server SSL port: 993
+POP server port: 110
+POP server SSL port: 995
+Use spell check server: yes
+Spell server URL: http://mail.rookie.com:7780/aspell.php
+Configure for use with mail proxy: FALSE
+Configure for use with web proxy: FALSE
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-logger: Enabled
7) zimbra-spell: Enabled
8) Default Class of Service Configuration:
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help)
選擇3 回車,再選擇4,設(shè)置 配置員密碼
- Password for admin@mail.rookie.com (min 6 characters): [UKzK4JXi]
輸入一次就完成
完成后輸入r回到上級目錄
- Select, or 'r' for previous menu
輸入a 應用剛剛的修改
- *** CONFIGURATION COMPLETE - press 'a' to apply
- Select from menu, or press 'a' to apply config (? - help)
再次確定,直接回車
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.8916]
提示系統(tǒng)會被修改,這里要選擇Yes
The system will be modified - continue? [No] Yes
是否把安裝信息發(fā)送到zimbra 官網(wǎng),yes 和 no 都可以
Notify Zimbra of your installation? [Yes]
出現(xiàn)以下行證明安裝配置成功
- Configuration complete - press return to exit
四、測試
安裝完成,可以測試一下了
https://10.44.100.66:7071 注意是https,這里是zimbra的管理控制臺
http://10.44.100.66 這是里用戶webmail
【編輯推薦】