How to install Zimbra Collaboration Suite 8.6 on CentOS 7

By | April 15, 2016

zimbra-logoThis is an install guide for Zimbra 8.6 on CentOS 7.1. This guide should help you get Zimbra email server – Open Source Edition up and running on CentOS.

 

Initial Setup:

Use hosts file to setup FQDN for Zimbra server

Disable SELINUX, Firewalld. Since Zimbra will install Postfix, MySQL and webserver, we need to remove these packages if already installed.

Install require dependencies:

Installation of Zimbra Collaboration – Open Source Edition

Use wget to download the Zimbra Collaboration Suite 8.6 from Zimbra site. Extract the package – zcs-8.6.0_GA_1153.RHEL7_64.20141215151110.tgz

Run the installer. We are using ‘–platform-override‘ option in command because installation script is only for Redhat  Linux but we are installing on CentOS 7 machine so to override the Platform condition.

Press “Y” to accept the License Agreement.

Press “Y” to install all the required packages and “N” for the rest that we don’t want to install.

Now press “Y” to continue after that system will be modified with the above selected installation packages.

During the installation process it might gives DNS error to change hostname which should be resolvable. Press “N” to change host name or domain name.

After all installation is completed, it you will Configuration Main Menu which will allow you make few configuration change. Here Select #3 then change the Admin Password under option #4 next hit r to go back.

Now to apply all the changing by press “a” then press “YES” to save the configuration data to a new file and type “YES” to continue system modifications.

Now do the following steps for basic house keeping:

Restart Crond service and enable it to start with system

Edit rsyslog.conf file and uncomment the following two lines under UDP syslog reception

Restart the rsyslogd service to changes take effect and enable to start with system

Now run following command to Update /etc/rsyslog.conf

Now switch user zimbra user account, update ssh key and restart Zimbra services

Now let’s open any of your favourite web browser to access Zimbra Administration Console using the configured Zimbra domain name or IP with user admin and password same as setup in the script:

 

Zimbra-Admin-Login-Screen

 

Zimbra-Admin-Home

Congratulations! Zimbra Collaboration Suite has been setup successfully with Open Source Edition using Single Server Installation.

Bonus Tip:

If you are using dummy domain name like test.com and want to check email flow within the domain, you can disable the DNS lookup in Zimbra Admin. For this, go to Configure > Global Settings > MTA and remove the tick from “ENABLED DNS LOOKUPS”.

After this restart the Zimbra service and you can then send the test email from abc@test.com to xyz@test.com and vice versa.

Leave a Reply

Your email address will not be published. Required fields are marked *