zimbra安装文档

[键入公司名称]Zimbra 安装文档详细文档lisl2010-11-14此文档是在vmware7.1环境下安装测试 ,目录1 测试环境 .................

[键入公司名称]

Zimbra 安装文档

详细文档

lisl

2010-11-14

此文档是在vmware7.1环境下安装测试

,

目录

1 测试环境 ........................................................................................................................... 2

1.1

2 安装vmware tools工具 . ........................................................................................... 2 安装zimbra . ...................................................................................................................... 2

2.1

2.2 ZIMBRA 无权限安装 . ................................................................................................. 2 开始安装 . ................................................................................................................... 2 3 管理命令 ........................................................................................................................... 9

3.1

3.2 Zimbra 起停控制 ...................................................................................................... 9 后台管理 . ................................................................................................................. 10 4 问题及解决方案 ............................................................................................................. 10

4.1 Antivirus 服务停止 .................................................................................................. 10

1 / 13

,

1

1.1 测试环境 安装vmware tools工具

Vmware7.1, 安装LINUX 5.1 64 bit 在解压时出现”无法打开此目录或此目录不存在时”需要更改其文件所在的目录权限:

[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 无权限安装

目录将ZIMBRA 安装包由光盘复制到/OPT/ZCS/目录下, 执行安装时出现权限不够:

[root@mail zcs]# ./install.sh

bash: ./install.sh: 权限不够

[root@mail opt]# chmod 777 zcs/

[root@mail opt]# cd zcs/

[root@mail zcs]# ./install.sh

bash: ./install.sh: 权限不够

[root@mail zcs]# cd ..

[root@mail opt]# chmod 777 zcs/

[root@mail opt]# cd zcs/

[root@mail zcs]# ./install.sh

bash: ./install.sh: 权限不够

[[root@mail /]# chmod -R 777 opt//要改变ROOT 用户对OPT 目录的权限, 如有权限可用TAB 健来补全命令

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

出现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 ”该系统将修改。继续?[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 记录中配置功能变数名称解析服务

Change domain name? [Yes]

Change domain name? [Yes] n// 输入 n 因我没有在本机上建立DNS

done.

Checking for port conflicts

Port conflict detected: 25 (zimbra-mta)

Port conflicts detected! - Any key to continue //检测到港口冲突! ——任何键继续, 按任意健 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 起停控制

命令行下 $ su – zimbra

# $ zmcontrol status //查看zimbra 的运行状态

# $ zmcontrol start //启动zimbra

# $ zmcontrol stop //关闭zimbra

9 / 13

标签: