zimbra安裝文檔
[鍵入公司名稱]Zimbra 安裝文檔詳細(xì)文檔lisl2010-11-14此文檔是在vmware7.1環(huán)境下安裝測試 ,目錄1 測試環(huán)境 .................
[鍵入公司名稱]
Zimbra 安裝文檔
詳細(xì)文檔
lisl
2010-11-14
此文檔是在vmware7.1環(huán)境下安裝測試
,目錄
1 測試環(huán)境 ........................................................................................................................... 2
1.1
2 安裝vmware tools工具 . ........................................................................................... 2 安裝zimbra . ...................................................................................................................... 2
2.1
2.2 ZIMBRA 無權(quán)限安裝 . ................................................................................................. 2 開始安裝 . ................................................................................................................... 2 3 管理命令 ........................................................................................................................... 9
3.1
3.2 Zimbra 起停控制 ...................................................................................................... 9 后臺管理 . ................................................................................................................. 10 4 問題及解決方案 ............................................................................................................. 10
4.1 Antivirus 服務(wù)停止 .................................................................................................. 10
1 / 13
,1
1.1 測試環(huán)境 安裝vmware tools工具
Vmware7.1, 安裝LINUX 5.1 64 bit 在解壓時出現(xiàn)”無法打開此目錄或此目錄不存在時”需要更改其文件所在的目錄權(quán)限:
[root@mail opt]# ls
VMwareTools-8.4.3-282343.tar.gz vmware-tools-distrib
[root@mail opt]# cd vmware-tools-distrib/
[root@mail vmware-tools-distrib]# ls
bin doc etc FILES INSTALL installer lib vmware-install.pl
[root@mail vmware-tools-distrib]# ./vmware-install.pl//更改/opt目錄后再運行安裝 2
2.1 安裝zimbra ZIMBRA 無權(quán)限安裝
目錄將ZIMBRA 安裝包由光盤復(fù)制到/OPT/ZCS/目錄下, 執(zhí)行安裝時出現(xiàn)權(quán)限不夠:
[root@mail zcs]# ./install.sh
bash: ./install.sh: 權(quán)限不夠
[root@mail opt]# chmod 777 zcs/
[root@mail opt]# cd zcs/
[root@mail zcs]# ./install.sh
bash: ./install.sh: 權(quán)限不夠
[root@mail zcs]# cd ..
[root@mail opt]# chmod 777 zcs/
[root@mail opt]# cd zcs/
[root@mail zcs]# ./install.sh
bash: ./install.sh: 權(quán)限不夠
[[root@mail /]# chmod -R 777 opt//要改變ROOT 用戶對OPT 目錄的權(quán)限, 如有權(quán)限可用TAB 健來補(bǔ)全命令
2.2 開始安裝
[root@mail zcs]# ./install.sh
Operations logged to /tmp/install.log.29214
Checking for existing installation...
zimbra-ldap...NOT FOUND
zimbra-logger...NOT FOUND
zimbra-mta...NOT FOUND
zimbra-snmp...NOT FOUND
zimbra-store...NOT FOUND
zimbra-apache...NOT FOUND
zimbra-spell...NOT FOUND
zimbra-proxy...NOT FOUND
2 / 13
,zimbra-archiving...NOT FOUND
zimbra-convertd...NOT FOUND
zimbra-cluster...NOT FOUND
zimbra-core...NOT FOUND
Press Return to continue//按任意鍵查找所需要的安裝包
Checking for prerequisites...
FOUND: NPTL
FOUND: sudo-1.6.8p12-10
FOUND: libidn-0.6.5-1.1
libidn-0.6.5-1.1
FOUND: fetchmail-6.3.6-1
FOUND: gmp-4.1.4-10
gmp-4.1.4-10
MISSING: compat-libstdc -296//在第三張光盤的Server 文件夾中
MISSING: compat-libstdc -33
MISSING: libtool-ltdl//在第二張光盤的Server 文件夾中
MISSING: /usr/lib/libstdc .so.5
FOUND: /usr/lib/libstdc .so.6
MISSING: /usr/lib64/libstdc .so.5
FOUND: /usr/lib64/libstdc .so.6
MISSING: /usr/lib64/libltdl.so.3
Checking for suggested prerequisites...
FOUND: perl-5.8.8
出現(xiàn)missing 是沒有找到的包, 需要從安裝盤上安裝, 安裝compat-libstdc -*后MISSING: /usr/lib/libstdc .so.5或MISSING: /usr/lib64/libstdc .so.5及 MISSING: /usr/lib64/libltdl.so.3 都已安裝如下文件:
Press Return to continue
Checking for prerequisites...
FOUND: NPTL
FOUND: sudo-1.6.8p12-10
FOUND: libidn-0.6.5-1.1
libidn-0.6.5-1.1
FOUND: fetchmail-6.3.6-1
FOUND: gmp-4.1.4-10
gmp-4.1.4-10
FOUND: compat-libstdc -296-2.96-138
FOUND: compat-libstdc -33-3.2.3-61
compat-libstdc -33-3.2.3-61
FOUND: libtool-ltdl-1.5.22-6.1
FOUND: /usr/lib/libstdc .so.5
FOUND: /usr/lib/libstdc .so.6
3 / 13
,FOUND: /usr/lib64/libstdc .so.5
FOUND: /usr/lib64/libstdc .so.6
FOUND: /usr/lib64/libltdl.so.3
Checking for suggested prerequisites...
FOUND: perl-5.8.8
Prerequisite check complete.//先決條件檢查完成
Checking for installable packages//檢查zimbra 安裝的軟件包 Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-proxy
Select the packages to install //選擇包來安裝
Install zimbra-ldap [Y] y
Install zimbra-logger [Y]
Install zimbra-mta [Y]
Install zimbra-snmp [Y]
Install zimbra-store [Y]
Install zimbra-apache [Y]
Install zimbra-spell [Y]
Install zimbra-proxy [N]
Checking required space for zimbra-core //檢查要求zimbra-core 空間 checking space for zimbra-store //檢查zimbra-store 空間
Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
4 / 13
,zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
The system will be modified. Continue? [N] y //選擇“y ”該系統(tǒng)將修改。繼續(xù)?[N]
Removing /opt/zimbra
Removing zimbra crontab entry...done.
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 Suite.
Installing packages //開始安裝
zimbra-core......zimbra-core-5.0.11_GA_2695.RHEL5_64-20081117051438.x86_64.rpm......................
……
……
Operations logged to /tmp/zmsetup.11142010-220630.log
Setting defaults...
DNS ERROR resolving MX for mail.dvision.com// DNS誤差為mail.dvision.com 要求解決 It is suggested that the domain name have an MX record configured in DNS
//建議域名有一個MX 記錄中配置功能變數(shù)名稱解析服務(wù)
Change domain name? [Yes]
Change domain name? [Yes] n// 輸入 n 因我沒有在本機(jī)上建立DNS
done.
Checking for port conflicts
Port conflict detected: 25 (zimbra-mta)
Port conflicts detected! - Any key to continue //檢測到港口沖突! ——任何鍵繼續(xù), 按任意健 Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled Create Admin User: yes Admin user to create: admin@mail.dvision.com
******* Admin Password UNSET Enable automated spam training: yes
5 / 13
,Spam training user: spam.xtd2slgj9s@mail.dvision.com Non-spam(Ham) training user: ham.xlhmixyxpk@mail.dvision.com Global Documents Account: wiki@mail.dvision.com SMTP host: mail.dvision.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.dvision.com:7780/aspell.php Configure store for use with reverse mail proxy: FALSE Configure store for use with reverse 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
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@mail.dvision.com
** 4) Admin Password UNSET
5) Enable automated spam training: yes
6) Spam training user: spam.xtd2slgj9s@mail.dvision.com
7) Non-spam(Ham) training user: ham.xlhmixyxpk@mail.dvision.com
8) Global Documents Account: wiki@mail.dvision.com
9) SMTP host: mail.dvision.com
10) Web server HTTP port: 80
11) Web server HTTPS port: 443
12) Web server mode: http
13) IMAP server port: 143
6 / 13
,14) IMAP server SSL port: 993 15) POP server port: 110 16) POP server SSL port: 995 17) Use spell check server: yes
18) Spell server URL: http://mail.dvision.com:7780/aspell.php 19) Configure store for use with reverse mail proxy: FALSE 20) Configure store for use with reverse web proxy: FALSE
Select, or 'r' for previous menu [r] 4//輸入4更改密碼
Password for admin@mail.dvision.com (min 6 characters): [6DsDmV0G]redhat Select, or 'r' for previous menu [r] r//輸入r 更改密碼
Main menu
1) Common Configuration: 2) zimbra-ldap: Enabled 3) zimbra-store: Enabled 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
*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a//輸入a 開始安裝 Save configuration data to a file? [Yes] //輸入y
Save config in file: [/opt/zimbra/config.12426] //回車 Saving config in /opt/zimbra/config.12426...done.
The system will be modified - continue? [No] y//輸入y Operations logged to /tmp/zmsetup.11142010-230615.log Setting local config values...done. Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done. Creating SSL certificate...done.
Installing mailboxd SSL certificates...done. Initializing ldap...done.
Setting replication password...done. Setting Postfix password...done.
7 / 13
//更改密碼
,Setting amavis password...done.
Setting nginx password...done.
Saving CA in ldap ...done.
Creating server entry for mail.dvision.com...done.
Saving SSL Certificate in ldap ...done.
Setting spell check URL...done.
Setting service ports on mail.dvision.com...done.
Adding mail.dvision.com to zimbraMailHostPool in default COS...done. Installing skins...
bones
beach
zmail
yahoo
lavender
waves
steel
sand
sky
lemongrass
bare
hotrod
done.
Setting zimbraFeatureIMEnabled=FALSE...done.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
Setting zimbraFeatureNotebookEnabled=TRUE...done.
Setting MTA auth host...done.
Setting TimeZone Preference...done.
Creating domain mail.dvision.com...done.
Creating user admin@mail.dvision.com...done.
Creating postmaster alias...done.
Creating user wiki@mail.dvision.com...done.
Creating user spam.xtd2slgj9s@mail.dvision.com...done.
Creating user ham.xlhmixyxpk@mail.dvision.com...done.
Setting spam training accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for mail.dvision.com...done. Initializing logger sql database...done.
Initializing mta config...done.
Configuring SNMP...done.
Setting services on mail.dvision.com...done.
Setting up syslog.conf...done.
You have the option of notifying Zimbra of your installation.
8 / 13
,This helps us to track the uptake of the Zimbra Collaboration Suite.
The only information that will be transmitted is:
The VERSION of zcs installed (5.0.11_GA_2695_RHEL5_64)
The ADMIN EMAIL ADDRESS created (admin@mail.dvision.com)
Notify Zimbra of your installation? [Yes]//回車
NotifyingZimbra of installation via
Notification complete
Starting servers...done.
Checking for deprecated zimlets...done.
Installing common zimlets...
com_zimbra_email...done.
com_zimbra_cert_manager...done.
com_zimbra_date...done.
com_zimbra_bulkprovision...done.
com_zimbra_local...done.
com_zimbra_url...done.
com_zimbra_phone...done.
com_zimbra_ymemoticons...done.
Finished installing common zimlets.
Initializing Documents...done.
Restarting mailboxd...done.
Setting up zimbra crontab...done.
Moving /tmp/zmsetup.11142010-230615.log to /opt/zimbra/log
Configuration complete - press return to exit//配置完全的-按回車退出
3 管理命令
3.1 Zimbra 起??刂?/p>
命令行下 $ su – zimbra
# $ zmcontrol status //查看zimbra 的運行狀態(tài)
# $ zmcontrol start //啟動zimbra
# $ zmcontrol stop //關(guān)閉zimbra
9 / 13