How to Install Zimbra 8.6 on Ubuntu 14.04 Server

How to Install Zimbra 8.6 on Ubuntu 14.04 Server

How to Install Zimbra 8.6 on Ubuntu 14.04 Server

The Zimbra Collaboration Server is a mail server, collaborative web application and a web based mail server admin console in a single application. It provides LDAP, antivirus, antispam, collaboration features and a ajax webmail client. Zimbra is easy to use for administrators as well as end users due to its fast Ajax based web interface.eval(ez_write_tag([[728,90],’howtoforge_com-box-3′,’ezslot_6′,106,’0′,’0′]));


  • Ubuntu Server 14.04 – 64bit
  • root privileges
  • Free space 25 GB
  • RAM 4 GB

My zimbra Server profile used in this tutorial:

Domain : sendaljepit.local
IP     :
Mail   : mail.sendaljepit.local

What we will do in this tutorial:eval(ez_write_tag([[580,400],’howtoforge_com-medrectangle-3′,’ezslot_2′,121,’0′,’0′]));

  • Install the prerequisite packages
  • Configure hostname and DNS Server
  • Download and Install Zimbra
  • Test the installation

Installation of prerequisites

Step 1 – connect to your server, get root privileges and install this package.

apt-get install libgmp10 libperl5.18 unzip pax sysstat sqlite3 dnsmasq wget

Configure hostname and DNS Server

In this tutorial will use the ‘dnsmasq‘ resolving nameserver to speedup DNS lookups in Zimbra. Dnsmask has been installed as prerequisite in the first chapter, so we just have to configure it now:

Step 1 – Edit hostname and hosts

vim /etc/hostname

change your hostname with this ‘mail.sendaljepit.local’.

Setting hostname

vim /etc/hosts

add this line:   mail.sendaljepit.local  mail

Setting host

Step 2 – Edit dnsmasq configurationeval(ez_write_tag([[580,400],’howtoforge_com-medrectangle-4′,’ezslot_1′,108,’0′,’0′]));

vim /etc/dnsmasq.conf

server= domain=sendaljepit.local mx-host=sendaljepit.local, mail.sendaljepit.local, 5 mx-host=mail.sendaljepit.local, mail.sendaljepit.local, 5 listen-address=

Step 3 – Reboot

sudo reboot

Installing Zimbra

Step 1 – Download Zimbra and extract it

tar -xvf zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz
cd zcs*

Step 2 – Run the Installer


At this step, zimbra will check the required packages and will ask you to agree to their installation.

Agreement Zimbra

and then choose the zimbra package :

Choose Zimbra Installation

here doesn`t need zimbra-dnscache, because in this tutorial use dnsmasq.

You need to wait, because this installation takes some time.

next step is configure “zimbra-store” for getting admin password. See the picture:

Configure Admin Pasword

Choose number “4” and enter. and then type your password:

Changing Password

Apply all Configuration:

Apply all configuration

and wait for Zimbra configuration finished.

Testing Zimbra

to test your zimbra server is running, you can type a command :

su - zimbra
zmcontrol status

try to access zimbra from web browser.

Access Zimbra

or try admin page ” “.


Zimbra is an Open Source mail server application which provides many features and is easy to use for admin and client. Zimbra requires a lot of server ressources, so dont use it on servers that do not match the base requirements outlines in the first chapter.

About the Author

Leave a Reply