Install Zimbra Collaboration Suite (ZCS) on CentOS 8

Zimbra Collaboration Suite is open-source software that includes the Zimbra LDAP server, MTA (Mail Transfer Agent), and Zimbra mailbox server. It also provides you with a web-based administration panel that can be used to manage the domain and accounts. Zimbra collaboration software can run on various OS platforms including Red Hat, Ubuntu, CentOS, etc. In an earlier post, we have explained the installation of Zimbra Collaboration in Ubuntu. In today’s post, we will be going to explain how to install Zimbra Collaboration Suite on CentOS 8 system.


For installing and running the Zimbra Collaboration server, you should have:

  • CentOS 8 system
  • Root privileges
  • A & MX record for your Server
  • Disk space 30 GB (at least)
  • RAM 8 GB (at least)
  • CPU/Processor 2.0 GHz (at least)

We have setup the CentOS 8 system with following specifications:

  • Zimbra Collaboration Suite: 8.8.15 GA Release
  • Domain: test.org
  • Server Hostname: mail.test.org
  • IP:

Steps to Install Zimbra Collaboration Suite on CentOS

Step 1: Install Dependencies

First, you will have to install some dependencies in your CentOS system. To do so, open the Terminal and execute the following command :

$ sudo yum install -y libidn gmp nptl nmap sysstat libaio libstdc++

Step 2: Disable Unwanted Services

You will need to disable unwanted services so that they do not conflict with the installation of the Zimbra collaboration suite. Here, we are going to disable SELinux, firewall, and postfix.

In order to disable SELinux, first execute the following command in Terminal to check if it is in “Enforcing” mode.

$ getenforce

If the output shows “Enforcing”, then change the SELinux mode to “Permissive”. Execute the following command to do so:

$ sudo setenforce 0

Now again run the following command to verify if the mode has been changed to “Permissive”:

$ getenforce

In order to disable the firewall, execute the following commands:

$ sudo systemctl stop firewalld
$ sudo systemctl disable firewall

To disable Postfix, run the following commands:

$ sudo systemctl stop postfix
$ sudo systemctl disable postfix

Step 3: Configure hostname and hosts file

Open the /etc/hostname file using the following command:

$ sudo nano /etc/hostname

Then in the file, add the FQDN as follows:


Make sure to replace the mail.test.org with your FQDN. Now save and close /etc/hostname file.

Now open the /etc/hosts file as follows:

$ sudo nano /etc/hosts

Add the below entry in the file: mail.test.org mail

Now save and close /etc/hosts file.

Step 4: Verify A and MX Records

Now verify the DNS configurations for your mail server. You can do this by using the below command in Terminal:

$ dig -t MX test.org

We can see from the output below that the MX and A records for our mail server have been configured properly.

Step 5: Install Zimbra Collaboration Suite

Now in this step, we will download and install the Zimbra collaboration suite.

1. To download the Zimbra collaboration suite, execute the following command in Terminal:

$ wget https://files.zimbra.com/downloads/8.8.15_GA/zcs-8.8.15_GA_3953.RHEL8_64.20200629025823.tgz

2. The downloaded Zimbra file will be in the .tgz archive format. To extract the archive file, use the following command:

$ tar -zxvf zcs-8.8.15_GA_3953.RHEL8_64.20200629025823.tgz

3. One the file is extracted; navigate to the extracted directory using the following command:

$ cd zcs-8.8.15_GA_3953.RHEL8_64.20200629025823/

4. In the extracted directory, you will see an installer file. To start the installation of Zimbra CS, run the installer as follows:

$ sudo ./install.sh

After executing the above command, the installation of Zimbra will be started.

Install zimbra collaboration

5. After performing a few checks, the installer will ask you to accept the conditions of the software License Agreement. Press “y” to accept the agreement.

6. Now, press “y” when asked to use Zimbra’s package repository.

7. Now, select the packages you want to install by pressing y. Press y for all the packages with the exception of the zimbra-imapd which is only available in the beta edition. After selecting the packages, the system will check the required space for installation. If it verifies the required space, it starts installing the selected packages; otherwise, it stops the installation.

8. When the following prompt appears, press y.

Now it will start installing the selected packages.

9. After the installation of packages is completed, the installer will check to see if the MX record is configured in DNS. At this stage, if an error appears as you can see in the following screenshot, then you will be asked to re-enter the domain name. First, type yes and press Enter and then type your domain name and again press Enter.

10. Now, the following view will appear showing you the default configurations. Here, you will also see some unconfigured option which is Admin Password marked with asterisks (******) to its left. To configure the Admin Password, press 7 from the Main menu.

11. Then from the Store configuration submenu, press 4 and then press Enter. Then type a password for the admin user (should at least contain 6 characters) and press Enter.

12. Now press “r” to return to the Main menu.

13. Now to apply the changes you have made, press a and then press Enter.

14. When asked to save the configurations to a file, type yes to save it and then press Enter.

15. After that, it will ask where you want to save the configurations. To save the configurations to the default (/opt/zimbra/config.75773]) location, just press Enter. If you want to save it on some other location, type the directory path and press Enter.

16. Then it will notify you that the system will be modified. Type yes and press Enter.

17. When the Configuration complete message appears, press Enter.

Now the installation of the Zimbra collaboration suite has been completed.

Step 6: Access Zimbra Administration Panel

Now access the Zimbra Administration panel using any web browser and typing the following URL:


When you open the above URL for the first time in your web browser, you will see a warning message that the connection is untrusted. You can simply ignore this message and continue. After that, a page will appear for you to type the username and password. Enter admin as a username and password that you have configured earlier during the installation.

Once you are logged in, you will see the following similar dashboard where you can view the summary.

Uninstall Zimbra Collaboration Suite

In case, you no longer need Zimbra on your system, you can easily uninstall it. Open the Terminal and go to the directory which contains the Zimbra installation files.

$ cd zcs-8.8.15_GA_3953.RHEL8_64.20200629025823/

Then execute the installer file with the -u option as follows to uninstall Zimbra from your system.

$ ./install.sh -u

Hit y, when it asks if you want to completely remove the existing installation. After which it, will completely uninstall Zimbra from your system.

Now, use the cd command to go back to the main directory which contains both the Zimbra collaboration archive and extracted directory:

$ cd

Then execute the following commands to remove both the archive and extracted directory:

$ sudo rm zcs-8.8.15_GA_3953.RHEL8_64.20200629025823.tgz
$ sudo rm –rf zcs-8.8.15_GA_3953.RHEL8_64.20200629025823

By following the above step by step procedure, you can easily install the Zimbra collaboration server on the CentOS system. We have also shown you how to uninstall Zimbra, in case you no longer want it in your system.

About the author

LinuxWays Team

We create HowTos and Tutorials for Sys Admins. Visit us on LinuxWays.net