Zimbra最近出8.0了。赶紧下载体验了一番。

感觉变化蛮大的,主题跟win8看着有点像,布局么,跟vmware的东西越来越像了。功能方面,我觉得监控模块做的很是不错。。。方方面面都可以监控的很细。

更多内容,请访问 Darren博客

一、准备

环境:

操作系统:Ubuntu 12.04_x64 LTS

Zimbra版本: zcs-8.0.0_GA_5434.UBUNTU12_64.20120907144631

域名:mail.imycloud.com

二、安装

1.安装配置dns:

由于zimbra很依赖dns,特别是ldap,所以要预先配置好dns。

root@mail:~#apt-get install bind9

root@mail:~# vi /etc/bind9/named.conf.local

//

// Do any local configuration here

// Consider adding the 1918 zones here, if they are not used in your

// organization

//include “/etc/bind/zones.rfc1918″;

zone “imycloud.com” {                                    #添加imycloud.com域

        type master;

        file “/etc/bind/db.imycloud.com”;

};

添加区域数据文件:

root@mail:~# cat db.imycloud.com

; BIND data file for local loopback interface

;

$TTL    604800

@       IN      SOA     imycloud.com. admin.imycloud.com. (

                              2         ; Serial

                         604800         ; Refresh

                          86400         ; Retry

                        2419200         ; Expire

                         604800 )       ; Negative Cache TTL

;

@       IN      NS     imycloud.com.

@       IN      A       192.168.100.10

mail         IN      A       192.168.100.10

@       IN      MX 10   mail.imycloud.com.

修改dns服务器地址:

root@mail:~# cat /etc/resolv.conf

# Generated by NetworkManager

nameserver 192.168.100.10

测试解析:

root@mail:~# nslookup
> server 192.168.100.10
Default server: 192.168.100.10
Address: 192.168.100.10#53
> mail.imycloud.com
Server:         192.168.100.10
Address:        192.168.100.10#53

Name:   mail.imycloud.com
Address: 192.168.100.10
> set type=ns
> imycloud.com
Server:         192.168.100.10
Address:        192.168.100.10#53

imycloud.com    nameserver = imycloud.com.
> set type=mx
> imycloud.com
Server:         192.168.100.10
Address:        192.168.100.10#53

imycloud.com    mail exchanger = 10 mail.imycloud.com.

更多bind9配置请看

http://wiki.ubuntu.org.cn/index.php?title=Bind9%E5%AE%89%E8%A3%85%E8%AE%BE%E7%BD%AE%E6%8C%87%E5%8D%97&variant=zh-hans

2.安装依赖包:

root@mail:~# apt-get install sqlite3 sysstat libperl5.14

3.安装:

下载解压

下载连接:www.zimbra.com/downloads/zca-downloads.html

root@mail:~#tar xzvf /opt/zcs-8.0.0_GA_5434.UBUNTU12_64.20120907144631.tgz

root@mail:~#cd /opt/zcs-8.0.0_GA_5434.UBUNTU12_64.20120907144631

root@mail:~#./install.sh

Operations logged to /tmp/install.log.16922
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-convertd…NOT FOUND
zimbra-memcached…NOT FOUND
zimbra-proxy…NOT FOUND
zimbra-archiving…NOT FOUND
zimbra-cluster…NOT FOUND
zimbra-core…NOT FOUND

PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. (“ZIMBRA”) WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for the Zimbra Collaboration Suite:

http://www.zimbra.com/license/zimbra_public_eula_2.1.html

Do you agree with the terms of the software license agreement? [N] y

Oracle Binary Code License Agreement for the Java SE Platform Products

……

Do you agree with the terms of the software license agreement? [N] y

Checking for prerequisites…
FOUND: NPTL
FOUND: netcat-openbsd-1.89-4ubuntu1
FOUND: sudo-1.8.3p1-1ubuntu3
FOUND: libidn11-1.23-2
FOUND: libpcre3-8.12-4
FOUND: libgmp3c2-2:4.3.2+dfsg-2ubuntu1
FOUND: libexpat1-2.0.1-7.2ubuntu1
FOUND: libstdc++6-4.6.3-1ubuntu5
FOUND: libperl5.14-5.14.2-6ubuntu2.1

Checking for suggested prerequisites…
FOUND: perl-5.14.2
FOUND: sysstat
FOUND: sqlite3
Prerequisite check complete.

Checking for installable packages

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-memcached
Found zimbra-proxy

Select the packages to install

Install zimbra-ldap [Y]    y

Install zimbra-logger [Y] y

Install zimbra-mta [Y] y

Install zimbra-snmp [Y] y

Install zimbra-store [Y] y

Install zimbra-apache [Y] y

Install zimbra-spell [Y] y

Install zimbra-memcached [N] y

Install zimbra-proxy [N] y
Checking required space for zimbra-core
Checking space for zimbra-store

Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell

The system will be modified.  Continue? [N] y

Removing /opt/zimbra
Removing zimbra crontab entry…done.
Cleaning up zimbra init scripts…done.
Cleaning up /etc/ld.so.conf…done.
Cleaning up /etc/security/limits.conf…done.

Finished removing Zimbra Collaboration Server.

Installing packages

zimbra-core……zimbra-core_8.0.0.GA.5434.UBUNTU12.64_amd64.deb…done
zimbra-ldap……zimbra-ldap_8.0.0.GA.5434.UBUNTU12.64_amd64.deb…done
zimbra-logger……zimbra-logger_8.0.0.GA.5434.UBUNTU12.64_amd64.deb…done
zimbra-mta……zimbra-mta_8.0.0.GA.5434.UBUNTU12.64_amd64.deb…done
zimbra-snmp……zimbra-snmp_8.0.0.GA.5434.UBUNTU12.64_amd64.deb…done
zimbra-store……zimbra-store_8.0.0.GA.5434.UBUNTU12.64_amd64.deb…done
zimbra-apache……zimbra-apache_8.0.0.GA.5434.UBUNTU12.64_amd64.deb…done
zimbra-spell……zimbra-spell_8.0.0.GA.5434.UBUNTU12.64_amd64.deb…done
Operations logged to /tmp/zmsetup.10012012-172717.log
Installing LDAP configuration database…done.
Setting defaults…

DNS ERROR resolving MX for mail.imycloud.com
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes]
Create domain: [mail.imycloud.com] imycloud.com                         #注意,这里一定要改成这样,不要加mail.要不然等会你会哭的。
MX: mail.imycloud.com (192.168.100.10)

Interface: 192.168.100.10
Interface: 127.0.0.1
Interface: ::1
done.
Checking for port conflicts

Main menu

1) Common Configuration:
2) zimbra-ldap:                             Enabled
3) zimbra-store:                            Enabled
+Create Admin User:                    yes
+Admin user to create:                 admin@imycloud.com
******* +Admin Password                        UNSET
+Anti-virus quarantine user:           virus-quarantine.jvmzzudbz@imycloud.com
+Enable automated spam training:       yes
+Spam training user:                   spam.7yf6fkhq@imycloud.com
+Non-spam(Ham) training user:          ham.dsc_vxhfxm@imycloud.com
+SMTP host:                            mail.imycloud.com
+Web server HTTP port:                 80
+Web server HTTPS port:                443
+Web server mode:                      https
+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.imycloud.com:7780/aspell.php
+Configure for use with mail proxy:    FALSE
+Configure for use with web proxy:     FALSE
+Enable version update checks:         TRUE
+Enable version update notifications:  TRUE
+Version update notification email:    admin@imycloud.com
+Version update source email:          admin@imycloud.com

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@imycloud.com
** 4) Admin Password                           UNSET
5) Anti-virus quarantine user:              virus-quarantine.jvmzzudbz@imycloud.com
6) Enable automated spam training:          yes
7) Spam training user:                      spam.7yf6fkhq@imycloud.com
8) Non-spam(Ham) training user:             ham.dsc_vxhfxm@imycloud.com
9) SMTP host:                               mail.imycloud.com
10) Web server HTTP port:                    80
11) Web server HTTPS port:                   443
12) Web server mode:                         https
13) IMAP server port:                        143
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.imycloud.com:7780/aspell.php
19) Configure for use with mail proxy:       FALSE
20) Configure for use with web proxy:        FALSE
21) Enable version update checks:            TRUE
22) Enable version update notifications:     TRUE
23) Version update notification email:       admin@imycloud.com
24) Version update source email:             admin@imycloud.com

Select, or ‘r’ for previous menu [r] 4                   #提示要修改admin密码

Password for admin@imycloud.com (min 6 characters): [A3OSTmUqrt] darren                         #输入admin的密码

Store configuration

1) Status:                                  Enabled
2) Create Admin User:                       yes
3) Admin user to create:                    admin@imycloud.com
4) Admin Password                           set
5) Anti-virus quarantine user:              virus-quarantine.jvmzzudbz@imycloud.com
6) Enable automated spam training:          yes
7) Spam training user:                      spam.7yf6fkhq@imycloud.com
8) Non-spam(Ham) training user:             ham.dsc_vxhfxm@imycloud.com
9) SMTP host:                               mail.imycloud.com
10) Web server HTTP port:                    80
11) Web server HTTPS port:                   443
12) Web server mode:                         https
13) IMAP server port:                        143
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.imycloud.com:7780/aspell.php
19) Configure for use with mail proxy:       FALSE
20) Configure for use with web proxy:        FALSE
21) Enable version update checks:            TRUE
22) Enable version update notifications:     TRUE
23) Version update notification email:       admin@imycloud.com
24) Version update source email:             admin@imycloud.com

Select, or ‘r’ for previous menu [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]
Save config in file: [/opt/zimbra/config.23611]
Saving config in /opt/zimbra/config.23611…done.
The system will be modified – continue? [No] y
Operations logged to /tmp/zmsetup.10012012-172717.log
Setting local config values…done.
Initializing core config…Setting up CA…done.
Deploying CA to /opt/zimbra/conf/ca …done.
Creating SSL zimbra-store certificate…done.
Creating new zimbra-ldap SSL certificate…done.
Creating new zimbra-mta SSL certificate…done.
Installing mailboxd SSL certificates…done.
Installing MTA SSL certificates…done.
Installing LDAP SSL certificate…done.
Initializing ldap…done.
Setting replication password…done.
Setting Postfix password…done.
Setting amavis password…done.
Setting nginx password…done.
Creating server entry for mail.imycloud.com…done.
Setting Zimbra IP Mode…done.
Saving CA in ldap …done.
Saving SSL Certificate in ldap …done.
Setting spell check URL…done.
Setting service ports on mail.imycloud.com…done.
Adding mail.imycloud.com to zimbraMailHostPool in default COS…done.
Setting zimbraFeatureTasksEnabled=TRUE…done.
Setting zimbraFeatureBriefcasesEnabled=FALSE…done.
Setting MTA auth host…done.
Setting TimeZone Preference…done.
Initializing mta config…done.
Setting services on mail.imycloud.com…done.
Creating domain imycloud.com…done.
Setting default domain name…done.
Creating domain imycloud.com…already exists.
Creating admin account admin@imycloud.com…done.
Creating root alias…done.
Creating postmaster alias…done.
Creating user spam.7yf6fkhq@imycloud.com…done.
Creating user ham.dsc_vxhfxm@imycloud.com…done.
Creating user virus-quarantine.jvmzzudbz@imycloud.com…done.
Setting spam training and Anti-virus quarantine accounts…done.
Initializing store sql database…done.
Setting zimbraSmtpHostname for mail.imycloud.com…done.
Configuring SNMP…done.
Setting up syslog.conf…done.
Starting servers…done.
Installing common zimlets…
com_zimbra_phone…done.
com_zimbra_ymemoticons…done.
com_zimbra_url…done.
com_zimbra_date…done.
com_zimbra_tooltip…done.
com_zimbra_attachcontacts…done.
com_zimbra_bulkprovision…done.
com_zimbra_clientuploader…done.
com_zimbra_adminversioncheck…done.
com_zimbra_cert_manager…done.
com_zimbra_proxy_config…done.
com_zimbra_webex…done.
com_zimbra_srchhighlighter…done.
com_zimbra_email…done.
com_zimbra_attachmail…done.
Finished installing common zimlets.
Restarting mailboxd…done.
Creating galsync account for default domain…done.

You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Server.
The only information that will be transmitted is:
The VERSION of zcs installed (8.0.0_GA_5434_UBUNTU12_64)
The ADMIN EMAIL ADDRESS created (admin@imycloud.com)

Notify Zimbra of your installation? [Yes]
Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=8.0.0_GA_5434_UBUNTU12_64&MAIL=admin@imycloud.com

Notification complete

Setting up zimbra crontab…done.

Moving /tmp/zmsetup.10012012-172717.log to /opt/zimbra/log

Configuration complete – press return to exit

安装完成,切换到zimbra用户执行zmcontrol命令查看状态
root@mail:/opt/zcs-8.0.0_GA_5434.UBUNTU12_64.20120907144631# su – zimbra
zimbra@mail:~$ zmcontrol  status
Host mail.imycloud.com
antispam                Running
antivirus               Running
ldap                    Running
logger                  Running
mailbox                 Running
mta                     Running
snmp                    Running
spell                   Running
stats                   Running
zmconfigd               Running

三、预览

现在,你可以登录:

https://mail.imycloud.com   用户登录界面

https://mail.imycloud.com:7071   管理控制台界面

 

Zimbra8.0-安装配置_zimbra

Zimbra8.0-安装配置_安装_02

Zimbra8.0-安装配置_安装_03

Zimbra8.0-安装配置_安装_04

Zimbra8.0-安装配置_ubuntu_05