GenerationIP

Just for you

  • Increase font size
  • Default font size
  • Decrease font size
Home Documentation Howto Howto install Zimbra Collaboration Suite 6-0

Howto install Zimbra Collaboration Suite 6-0

E-mail Print PDF
User Rating: / 8
PoorBest 

Type : System
Operating System : Linux

ZIMBRA is one of the most interesting solution for messaging groupware (mail, shared document, calendar, reminder and webmail . For a long time, ZIMBRA was a YAHOO product's. Now ZIMBRA is a vmware product and you can find now ZIMBRA network edition in vmware appliance.

You have 2 version of ZIMBRA

  • ZIMBRA Network Edition (not free)
  • ZIMBRA OPEN SOURCE Edition (free)

This howto is based on ZCS open source with CENTOS 5

PREPARATION OF YOUR SERVER

Before the installation you must prepare your server :

Your /etc/hosts must be define to have the relation between the ip address and the name of the server

# cat /etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1        localhost.localdomain localhost
::1        localhost6.localdomain6 localhost6
78.46.74.28     generationip.com webmail.generationip.com mail.generationip.com

Now you must define your DNS configuration and declare the MX record.

For that you have to edit your dns zone and you need to have something like that for the dns configuration in bind format :

  3600 IN MX 10  mail
; IPV4 server host definition
* 3600 IN A ipaddr
@ 3600 IN A ipaddr
localhost 3600 IN A 127.0.0.1
mail 3600 IN A ipaddr

ZIMBRA need some dependencies and you have to install it before :

Package requirement :

# yum install gmp libstdc++ compat-libstdc++-33 sysstat

INSTALLATION

First Step of the installation process, Download ZCS here

# wget http://h.yimg.com/lo/downloads/6.0.5_GA/zcs-6.0.5_GA_2213.RHEL5_64.20100203001950.tgz

Now extract the archive and read the content in ZCS folder:

# tar -xvf zcs*

# cd zcs-6*

# ls -al

total 100
drwxrwxr-x 7  503  503 4096 Feb  3 04:00 .
drwxr-x--- 3 root root 4096 Feb 15 18:51 ..
drwxrwxr-x 2  503  503 4096 Feb  3 04:00 bin
drwxrwxr-x 2  503  503 4096 Feb  3 04:00 data
drwxrwxr-x 3  503  503 4096 Feb  3 04:00 docs
-rwxr-xr-x 1  503  503 6534 Feb  3 04:00 install.sh
drwxrwxr-x 2  503  503 4096 Feb  3 04:00 packages
-r--r--r-- 1  503  503  369 Feb  3 04:00 readme_binary_en_US.txt
-r--r--r-- 1  503  503 8575 Feb  3 04:00 readme_source_en_US.txt
-r--r--r-- 1  503  503  428 Feb  3 04:00 README.txt
drwxrwxr-x 3  503  503 4096 Feb  3 04:00 util

As you can see you have to execute the install script to start the installation of ZCS

On REDHAT :

./install.sh

On CENTOS :

./install.sh --platform-override

Installation process :

Operations logged to /tmp/install.log.9208
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

Press Return to continue    

Checking for prerequisites...
 FOUND: NPTL
 FOUND: sudo-1.6.9p17-5
 FOUND: libidn-0.6.5-1.1
 FOUND: gmp-4.1.4-10
gmp-4.1.4-10
 FOUND: compat-libstdc++-33-3.2.3-61
compat-libstdc++-33-3.2.3-61
 FOUND: /usr/lib64/libstdc++.so.5
 FOUND: /usr/lib64/libstdc++.so.6
Checking for suggested prerequisites...
 FOUND: perl-5.8.8
 FOUND: sysstat
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

As you can see the installation check your system and define what you need to install.

Now you can define what you want to install, but the best thing is to follow installer.

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-memcached [N] 

Install zimbra-proxy [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

You appear to be installing packages on a platform different
than the platform for which they were built.

This platform is CentOS5_64
Packages found: RHEL5_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.

ZIMBRA ask you to confirm the installation :

Install anyway? [N] Y

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

The installation of the package start at this step :

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-6.0.5_GA_2213.RHEL5_64-20100203001950.x86_64.rpm...done
 zimbra-ldap......zimbra-ldap-6.0.5_GA_2213.RHEL5_64-20100203001950.x86_64.rpm...done
 zimbra-logger......zimbra-logger-6.0.5_GA_2213.RHEL5_64-20100203001950.x86_64.rpm...done
 zimbra-mta......zimbra-mta-6.0.5_GA_2213.RHEL5_64-20100203001950.x86_64.rpm...done
 zimbra-snmp......zimbra-snmp-6.0.5_GA_2213.RHEL5_64-20100203001950.x86_64.rpm...done
 zimbra-store......zimbra-store-6.0.5_GA_2213.RHEL5_64-20100203001950.x86_64.rpm...done
 zimbra-apache......zimbra-apache-6.0.5_GA_2213.RHEL5_64-20100203001950.x86_64.rpm...done
 zimbra-spell......zimbra-spell-6.0.5_GA_2213.RHEL5_64-20100203001950.x86_64.rpm...done
Operations logged to /tmp/zmsetup.02162010-052141.log
Installing LDAP configuration database...done.
Setting defaults...    MX: mail.generationip.com (78.46.74.27)

 Interface: 78.46.74.27
 Interface: 127.0.0.1
 78.46.74.27
done.
Checking for port conflicts

CONFIGURATION

At this step, you have the main menu to configure zimbra but here you have just to follow the request of the installer.

Main menu

 1) Common Configuration:                                                  
 2) zimbra-ldap:                             Enabled                       
 3) zimbra-store:                            Enabled                       
 +Create Admin User:                    yes                           
 +Admin user to create:                 admin                
******* +Admin Password                        UNSET                         
 +Enable automated spam training:       yes                           
 +Spam training user:                   spam.qgzzoqbkvw
 +Non-spam(Ham) training user:          ham.ll4tjg5o
 +Global Documents Account:             wiki
 +SMTP host:                            generationip.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://generationip.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
 +Version update source email:          admin                

 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

Now you have to edit zimbra store config to set the password :

Address unconfigured (**) items  (? - help) 3
Store configuration

 1) Status:                                  Enabled                       
 2) Create Admin User:                       yes                           
 3) Admin user to create:                    admin
** 4) Admin Password                           UNSET                         
 5) Enable automated spam training:          yes                           
 6) Spam training user:                      spam.qgzzoqbkvw      
 7) Non-spam(Ham) training user:             ham.ll4tjg5o         
 8) Global Documents Account:                wiki                 
 9) SMTP host:                               generationip.com                      
 10) Web server HTTP port:                    80                            
 11) Web server HTTPS port:                   443                           
 12) Web server mode:                         http                          
 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://generationip.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                
 24) Version update source email:             admin
select, or 'r' for previous menu [r] 4
Password for admin (min 6 characters): [wIqYkr_O]
Store configuration

 1) Status:                                  Enabled                       
 2) Create Admin User:                       yes                           
 3) Admin user to create:                    admin
 4) Admin Password                           set                           
 5) Enable automated spam training:          yes                           
 6) Spam training user:                      spam.qgzzoqbkvw      
 7) Non-spam(Ham) training user:             ham.ll4tjg5o
 8) Global Documents Account:                wiki
 9) SMTP host:                               generationip.com                      
 10) Web server HTTP port:                    80                            
 11) Web server HTTPS port:                   443                           
 12) Web server mode:                         http                          
 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://generationip.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                
 24) Version update source email:             admin
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

This step is to apply the configuration and to save it

*** 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.15485] 
Saving config in /opt/zimbra/config.15485...done.
The system will be modified - continue? [No] y
Operations logged to /tmp/zmsetup.02162010-052141.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.
Setting amavis password...done.
Setting nginx password...done.
Creating server entry for generationip.com...done.
Saving CA in ldap ...done.
Saving SSL Certificate in ldap ...done.
Setting spell check URL...done.
Setting service ports on generationip.com...done.
Adding generationip.com to zimbraMailHostPool in default COS...done.
Installing webclient skins...
 hotrod...done.
 lavender...done.
 sand...done.
 twilight...done.
 bones...done.
 lake...done.
 yahoo...done.
 sky...done.
 steel...done.
 lemongrass...done.
 waves...done.
 pebble...done.
 goldrush...done.
 beach...done.
 tree...done.
 zmail...done.
 bare...done.
 oasis...done.
 smoke...done.
Finished installing webclient skins.
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.
Initializing mta config...done.
Setting services on generationip.com...done.
Creating domain generationip.com...done.
Setting default domain name...done.
Creating domain generationip.com...already exists.
Creating admin account admin...done.
Creating root alias...done.
Creating postmaster alias...done.
Creating user wiki...done.
Creating user spam.qgzzoqbkvw...done.
Creating user ham.ll4tjg5o...done.
Setting spam training accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for generationip.com...done.
Configuring SNMP...done.
Checking for default IM conference room...not present.
Initializing default IM conference room...done.
Setting up syslog.conf...done.

You have the option of notifying Zimbra of your installation.
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 (6.0.5_GA_2213_CentOS5_64)
 The ADMIN EMAIL ADDRESS created (admin)
Notify Zimbra of your installation? [Yes] 
Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=6.0.5_GA_2213_CentOS5_64&MAIL=admin

ERROR: Notification failed 
Starting servers...done.
Installing common zimlets...
 com_zimbra_cert_manager...done.
 com_zimbra_adminversioncheck...done.
 com_zimbra_phone...done.
 com_zimbra_url...done.
 com_zimbra_ymemoticons...done.
 com_zimbra_email...done.
 com_zimbra_date...done.
 com_zimbra_local...done.
 com_zimbra_bulkprovision...done.
Finished installing common zimlets.
Initializing Documents...done.
Restarting mailboxd...done.
Setting up zimbra crontab...done.

Moving /tmp/zmsetup.02162010-052141.log to /opt/zimbra/log

Configuration complete - press return to exit

Now zimbra is started and ready to use

ZIMBRA PORT

  • POP3 : 110
  • POP3S : 995
  • IMAP : 143
  • IMAPS : 993
  • SMTP : 25
  • SMTPS : 465
  • SMTP submission : 587

ZIMBRA  WEB

  • WEBMAIL : http://domain.tld
  • ADMIN : https://domain.tld:7071

TIPS & TRICKS

ADD a  DNS cache on your mail server.

ADD Zimlet to improve the webmail features.

If you need more right for the user management, you have to upgrade to the network edition.

Create a /opt partition could be a good idea.

RELATED ARTICLES

How to install Cache DNS With bind



 

Last Updated on Wednesday, 17 February 2010 22:55  


Newsflash

Spacewalk opensource REDHAT satellite's project

Spacewalk is a very interesting open source project based on satellite RedHat. If you're a RedHat user, you know what I mean. For me, the satellite REDHAT is one of the most professional tools for server management and reduces management time.

If i have the time, i will tried to make a howto on the installation of this projet.

Fabien FAYE