Sie sind auf Seite 1von 8

CentOS Linux Server Guide

CentOS Mail Server


Installing Zimbra Collaboration Server on CentOS
(Part 4: Zimbra Collaboration Suite 8 Installation)

In this session, we will discuss how to deploy Zimbra Collaboration Server(ZCS) on at CentOS 6.2 64bits
environment. You might need to check on earlier chapter on how the setup CentOS 6.2 and get ready all
the prerequisite packages and setup
Step1: Download Zimbra Collabration Suite
Download the latst ZCS packages from VMware Zimbra version.
wget http://files2.zimbra.com/downloads/version_GA/zcs-NETWORK-XXXXXXX.tgz
We are showing you version 8 beta, so we are downloading beta version of ZCS-Network edition here and
put it into software directory
#mkdir /software
#cd /software
#wget http://files2.zimbra.com/downloads/8.0.0_BETA5/zcs-NETWORK8.0.0_BETA5_5277.RHEL6_64.20120710123526.tgz
Step2: Download Zimbra Collaboration Suite
Next, let us extract the package.
#tar zxvf zcs-NETWORK-XXXXXXX.tgz
Step3: Install Zimbra Collaboration Suite
Because of CentOS is not the "official" distro for ZCS installation, we need to use --plaform-override option
to bypass the distro checking.
./install --platform-override
First you must accept the license
Do you agree with the terms of the software license agreement? [N] Y
Next, the installation will run the prerequisites process check, if you see and missing packages, you might
need to refer to the prerequisites packages installation that we discussed earlier.
Do Checking for prerequisites...
FOUND: NPTL
FOUND: nc-1.84-22
FOUND: sudo-1.7.4p5-12
FOUND: libidn-1.18-2
FOUND: gmp-4.3.1-7
FOUND: /usr/lib64/libstdc++.so.6
Checking for suggested prerequisites...
FOUND: perl-5.10.1
FOUND: sysstat
FOUND: sqlite
Prerequisite check complete.
Checking for installable packages
Found zimbra-core

Found
Found
Found
Found
Found
Found
Found
Found
Found
Found
Found

zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
zimbra-convertd
zimbra-memcached
zimbra-proxy
zimbra-archiving

Next, accept all the default setting of the installation packages by press <Enter> key
Select the packages to install
Install zimbra-ldap [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-convertd [Y]
Install zimbra-memcached [N]
Install zimbra-proxy [N]
Install zimbra-archiving [N]
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
zimbra-convertd
We will see this warning page. Just ignore the warning and type "Y" to install the ZCS. The installation will
take while, relax and have a coffee break.
You appear to be installing packages on a platform different
than the platform for which they were built.
This platform is CentOS6_64
Packages found: RHEL6_64
This may or may not work.
Using packages for a platform in which they were not designed for
may result in an installation that is NOT usable. Your support

options may be limited if you choose to continue.


Install anyway? [N] Y
The system will be modified. Continue? [N] Y
The installation process..look like below
Installing packages
zimbra-core......zimbra-core-8.0.0_BETA5_5277.RHEL6_64-20120710123526.x86_64.rpm...done
zimbra-ldap......zimbra-ldap-8.0.0_BETA5_5277.RHEL6_64-20120710123526.x86_64.rpm...done
zimbra-logger......zimbra-logger-8.0.0_BETA5_5277.RHEL6_64-20120710123526.x86_64.rpm...done
zimbra-mta......zimbra-mta-8.0.0_BETA5_5277.RHEL6_64-20120710123526.x86_64.rpm...done
zimbra-snmp......zimbra-snmp-8.0.0_BETA5_5277.RHEL6_64-20120710123526.x86_64.rpm...done
zimbra-store......zimbra-store-8.0.0_BETA5_5277.RHEL6_64-20120710123526.x86_64.rpm...done
zimbra-apache......zimbra-apache-8.0.0_BETA5_5277.RHEL6_64-20120710123526.x86_64.rpm...done
zimbra-spell......zimbra-spell-8.0.0_BETA5_5277.RHEL6_64-20120710123526.x86_64.rpm...done
zimbra-convertd......zimbra-convertd-8.0.0_BETA5_5277.RHEL6_64-20120710123526.x86_64.rpm...done
Operations logged to /tmp/zmsetup.07282012-064546.log
Installing LDAP configuration database...done. logical hostname for this host [mail.1a-centosserver.local]

After the installation process, we will be informed that there is an "error" on Domain name. You need to fill
in your Domain.(for example 1a-centosserver.local)
NS ERROR resolving MX for mail.1a-centosserver.local
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes]
Create domain: [mail.1a-centosserver.local] 1a-centosserver.local
MX: mail.1a-centosserver.local (192.168.142.7)
Interface: 192.168.142.7
Interface: 127.0.0.1
Interface: ::1
done.
Checking for port conflicts
Some of you might have the following error -DNS error. The reason of such error is because:
either the DNS services is not started properly. Please use the following command "service named
status" to see if the BIND started properly.
If BIND is started properly and you still facing this error, please using "dig" command to see the
record can be resolved properly. If not, please edit your zone file.
Checked nameservers:
192.168.142.7
8.8.8.8
No results returned for AAAA lookup of mail.1a-centosserver.local
Checked nameservers:
192.168.142.7
8.8.8.8
DNS ERROR resolving mail.1a-centosserver.local
It is suggested that the hostname be resolveable via DNS
Change hostname [Yes]
Please enter the logical hostname for this host [mail.1a-centosserver.local]
No results returned for A lookup of mail.1a-centosserver.local
Checked nameservers:
192.168.142.7
8.8.8.8

DNS ERROR resolving mail.1a-centosserver.local


It is suggested that the hostname be resolveable via DNS
Re-Enter hostname [Yes]
Please enter the logical hostname for this host [mail.1a-centosserver.local]

Step4: Post Zimbra Collaboration Suite Installation


There are only 2 things that we need to perform after ZCS installation
Admin password - Change your administrator password
License File - Install the license for ZCS Serv
Things that need to be attended are highlighted under ****** below
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@1a-centosserver.local
******* +Admin Password UNSET
+Anti-virus quarantine user: virus-quarantine.rv5vm9zd0v@1a-centosserver.local
+Enable automated spam training: yes
+Spam training user: spam.st1zmhix@1a-centosserver.local
+Non-spam(Ham) training user: ham.19qc8q2qjd@1a-centosserver.local
+SMTP host: mail.1a-centosserver.local
+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.1a-centosserver.local: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@1a-centosserver.local
+Version update source email: admin@1a-centosserver.local
******* +License filename: UNSET
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-logger: Enabled
7) zimbra-spell: Enabled
8) zimbra-convertd: Enabled
9) Default Class of Service Configuration:
10) Enable default backup schedule: yes
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help)

Let us change the password immediately, type in 3 then go to 4 to change the admin password. Key in your

secret password and press <Enter> key


Address unconfigured (**) items (? - help) 3
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@1a-centosserver.local
** 4) Admin Password UNSET
5) Anti-virus quarantine user: virus-quarantine.rv5vm9zd0v@1a-centosserver.local
6) Enable automated spam training: yes
7) Spam training user: spam.st1zmhix@1a-centosserver.local
8) Non-spam(Ham) training user: ham.19qc8q2qjd@1a-centosserver.local
9) SMTP host: mail.1a-centosserver.local
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.1a-centosserver.local: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@1a-centosserver.local
24) Version update source email: admin@1a-centosserver.local
**25) License filename: UNSET
Select, or 'r' for previous menu [r] 4
Password for admin@1a-centosserver.local (min 6 characters): [Xq68v8ypiD] your-secret-password
Final step, we just need to install our ZCSlicense.xml (which Vmware Zimbra Sales) will sent yo you via
email. Type in 25 then key in the path that you kept the license file. Type r key to return to previous menu.
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@1a-centosserver.local
4) Admin Password set
5) Anti-virus quarantine user: virus-quarantine.rv5vm9zd0v@1a-centosserver.local
6) Enable automated spam training: yes
7) Spam training user: spam.st1zmhix@1a-centosserver.local
8) Non-spam(Ham) training user: ham.19qc8q2qjd@1a-centosserver.local
9) SMTP host: mail.1a-centosserver.local
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.1a-centosserver.local: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@1a-centosserver.local
24) Version update source email: admin@1a-centosserver.local
**25) License filename: UNSET
Select, or 'r' for previous menu [r] 25
Enter the name of the file that contains the license: /software/ZCSLicense.xml

Remember to save and apply your configuration. It take a while to initialize the ZCS. Press <Enter> to
complete upon the installation
*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.10192]
Saving config in /opt/zimbra/config.10192...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup.07282012-064546.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.1a-centosserver.local...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.1a-centosserver.local...done.
Adding mail.1a-centosserver.local to zimbraMailHostPool in default COS...done.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=FALSE...done.
Setting convertd URL...done.
Setting MTA auth host...done.
Setting TimeZone Preference...done.
Initializing mta config...done.
Setting services on mail.1a-centosserver.local...done.
Creating domain 1a-centosserver.local...done.
Setting default domain name...done.
Setting up default domain admin UI components..done.
Granting group zimbraDomainAdmins@1a-centosserver.local domain right +domainAdminConsoleRights
on 1a-centosserver.local...done.
Granting group zimbraDomainAdmins@1a-centosserver.local global right
+domainAdminZimletRights...done.
Setting up global distribution list admin UI components..done.
Granting group zimbraDLAdmins@1a-centosserver.local global right +adminConsoleDLRights...done.
Granting group zimbraDLAdmins@1a-centosserver.local global right +listAccount...done.
Creating domain 1a-centosserver.local...already exists.
Creating admin account admin@1a-centosserver.local...done.
Creating root alias...done.
Creating postmaster alias...done.

Creating user spam.st1zmhix@1a-centosserver.local...done.


Creating user ham.19qc8q2qjd@1a-centosserver.local...done.
Creating user virus-quarantine.rv5vm9zd0v@1a-centosserver.local...done.
Setting spam training and Anti-virus quarantine accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for mail.1a-centosserver.local...done.
Configuring SNMP...done.
Setting up syslog.conf...done.
Setting default backup schedule...Done
Looking for valid license to install...license installed.
WARNING: Document and Zimlet initialization skipped because Application Server was not configured to
start.
WARNING: galsync account creation for default domain skipped because Application Server was not
configured to start.
Setting up zimbra crontab...done.
Moving /tmp/zmsetup.07282012-064546.log to /opt/zimbra/log
Configuration complete - press return to exit
Step4: Login to Zimbra Collaboration Suite
Great, now let us start up our favorite Firefox browser. Type in https://youripaddress:7071 to login into
Zimbra administrator page. To login for your webmail type https://ipaddress

username: admin password:your-secret-password

Read More about Zimbra Collaboration Sever Setup at CentOS Linux Server

CentOS Server Guide by http://www.1a-centosserver.com is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0
Unported License. All trademarks are the property of their respective owners.

Contact Us | Privacy Policy

Das könnte Ihnen auch gefallen