How to install zimbra on you centos VPS

How to install zimbra on you centos VPS, before do this you may need to know what iz zimbra : Bring Together Email, Calendaring and Enterprise Applications Zimbra is an enterprise-class email, calendar and collaboration solution built for the cloud, both public and private. With a redesigned browser-based interface, Zimbra offers the most innovative messaging experience available today, connecting end users to the information and activity in their personal clouds. Zimbra’s Open Source Community

Since the inception, Zimbra has been a community. All of our Zimbra Collaboration Open Source Edition software, documentation and innovation has been created, tested, used, and discussed openly by people like you participating in our Open Source Community. Our contributors diagnose bugs, fix bugs, translate programs, submit patches, point out deficiencies in documentation, answer community questions, submit killer applications, alert us to something that needs tweaking, and write new software. No matter how you contribute, we welcome new ideas and contributions for the advancement of greater shared knowledge and a better Zimbra Collaboration product.

Zimbra runs on several different distributions of Linux. This makes it stable, scalable and secure. In this article, we’ll be using CentOS, specifically version 6.5 64-bit. The minimum system requirements for Zimbra.

Zimbra system requirements are:

  • A CPU of 1.5GHz.
  • A minimum of 3GB or RAM (recommended 4GB RAM).
  • 5GB free space for software and logs.
  • Additional disk space for mail storage.
  • you can run zimbra Less than 2 GB RAM (just for testing only)

here is tutorial install zimbra on vps centos

First, we need to ensure that CentOS is up to date. Therefore, we’ll run the following command:

Next, we need to install some pre-requisites. Since there are 12 different applications required to install Zimbra, we can handle the installation in one single command:

Next, we’ll need to install check if postfix is running – if it is, disable it. Since we cannot have two different mail transfer agents running, postfix must go.

If postfix is running, we’ll need to disable it:

Configuring DNS For Use On The Mail Server
Because Zimbra is a collaboration server, it includes a fully functional mail server. This means that we must configure the DNS for our domain name for use in Zimbra. There’s a few different ways of achieving this.

Make this :

  • Create A record ==> to your IP
  • Create MX Record ==> mx set value 5 to

Now, we’ll need to download the file from the Zimbra website

Centos 6

Centos 7

This will download the file from the Zimbra website, saving it into the zcsinstall folder we created.

Editing The Hosts File
Now we’ll need to edit the hosts file in CentOS to contain the IP address of the Droplet, the FQDN, and name of the server. We can do this by typing:

Once opened, the hosts file should look similar to the following:



You’ll need to edit the file to contain another row with your Droplet’s IP address, FQDN and name. The line should look like the following:

You’ll need to ensure that you replace the above with the actual data values for your Droplet. You should also make sure that you use a tabbed space between each value. This means that you’ll have a host file looking something similar to:



Once done, press CTRL+O and then Enter to save. Then press CTRL+X to return.
Unpacking And Installing Zimbra
The next stage is to unpack the tgz file we downloaded earlier. To do this, we can execute the following command:

Next, change directory into the folder that the files were extracted into:

Finally, we can run the installer.

Once the installer starts, you’ll need to accept the license agreements by pressing Y at each license prompt. When you reach the ‘select packages to install’ section, simply press enter at each of the options which will select the default value.

You may get the following error during installation:



This error is presented by Zimbra because it’s looking for an MX record for the domain ‘’. Instead, we want it to search for an MX record for ‘’. This means that we should press Y`, and change the domain name to just ‘’.

If you get a port conflict error, you may need to exit the installer and resolve the issue before continuing. just write [NO] setup this letter

You’ll soon reach the configuration page, similar to that below. First we should choose option 3 to allow us to enter the zimbra-store section.



Next, choose 3 again. This will allow us to configure the admin username and password.

Next, choose r to return to the previous menu.

Then, choose 1 to go to the common configuration section.

After this, choose 6 to edit the time zone.

Here, you should choose the number relative to the time zone you’re in. For example, you could type 83 to get the Europe/London time zone.

Then choose ‘r’ to return and ‘a’ to apply the configuration. You should also choose the log the installation to a file, in case any errors arise.

The system will then continue the installation. Setup of Zimbra should take about 20 minutes, depending on the Droplet size you selected.

Finally, you’ll be given the option of notifying Zimbra of the installation, which allows them to track the uptake of their products. You can either type ‘yes’ or ‘no’ here, either way, this is the final step of the installation. You can make sure that the installation was successful from the final confirmation message:

It is recommended that you reboot your Droplet.

Accessing The Zimbra Admin Control Panel
The control panel can be easily accessed by visiting the following URL:

Leave a Reply

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