How to install Zimbra on Ubuntu 18.04 LTS

Zimbra Collaboration Server is open source collaborative software that includes a mail server and a web client. It enables email, calendar, user and distribution list creation, file sharing, chatting, managing mail server activities, etc. Zimbra Collaboration Server is supported on various platforms including Ubuntu 12.04, Ubuntu 14.04, Ubuntu 18.04, Redhat Enterprise Linux 6, Redhat Enterprise Linux 7, CentOS6, CentOS 7 etc. It is also supported on cloud platforms like VMware vCloud Director VMware vCloud Air and virtualization platforms like VMware vSphere, XenServer 6 and KVM. The topic of today’s post is the installation of the Zimbra Collaboration Server on Ubuntu 18.04 LTS.

requirements

To run the Zimbra Collaboration Server, you should have:

  • Ubuntu computer 18.04 – 64bit
  • Root rights
  • Free space 30 GB (minimum)
  • RAM 8 GB (at least)
  • CPU / processor 2.0 GHz (minimum)

Note:

For the setup we used:

Simbra: 8.8.15 GA version

domain: test.org

IP: 192.168.1.101

Install Zimbra on Linux

Here are the steps to install the Zimbra Collaboration Server on Linux. Let’s begin.

Step 1: update and upgrade existing packages

First, you need to upgrade and upgrade the existing packages. To do this, issue the following commands in the terminal:

$ sudo apt update
$ sudo apt upgrade

Step 2: edit host names and hosts file

Now we need to set up a hostname for Zimbra. To do this, edit / etc / hostname File with the following command in the terminal:

$ sudo Nano /Etc/Hostname

Replace the host name with the mail.test.org and then save and close the host name file.

Substitute mail.test.org with your own domain name.

Now edit the / etc / hosts File with the following command in the terminal:

$ sudo Nano /Etc/host

Enter the following entry and then save and close the hosts file.

192.168.72.167 mail.test.org mail

Where 192.168.72.167 is the IP address of your Zimbra server and mail.test.org is the fully qualified domain name (FQDN).

Step 3: install DNS server

In this step we will install dnsmasq as our DNS server. However, before installing dnsmasq, we need to disable it first systemd-resolve how it works on port 53. The DNS server dnsmasq also runs on port 53, which can lead to port conflicts.

Hence we become the systemd-resolve. To do this, use the following command:

$ sudo systemctl disable systemd-resolved

Then stop system resolved with the following command:

$ sudo systemctl stop systemd-resolved

Now remove the resolv.conf Symlink file:

$ sudo rm /Etc/resolv.conf

Then create a new one resolv.conf File with the following command:

$ sudo NS -C ‘echo nameserver 8.8.8.8 >> /etc/resolv.conf’

Install now dsmasq, issue the following command in the terminal:

$ sudo suitable To install dnsmasq

Install Zimbra on Ubuntu

Install Zimbra on Ubuntu

Once the dnsmasq installation is complete, run the following command to edit the dnsmasq configuration file:

$ sudo Nano /Etc/dnsmasq.conf

Add the following lines to the configuration file:

server= 192.168.72.167

domain= test.org

mx-host = test.org, mail.test.org, 5

mx-host = mail.test.org, mail.test.org, 5

List address = 127.0.0.1

Then restart the dnsmasq service using the following command in the terminal:

$ sudo systemctl restart dnsmasq

Step 4: Download and install the Zimbra Collaboration Tool

Now download Zimbra for Ubuntu 18.04 LTS from the link below:

https://www.zimbra.org/download/zimbra-collaboration

Or use the following wget command in Terminal to download Zimbra:

$ wget https://files.zimbra.com/Downloads/8.8.15_GA/zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220.tgz

The downloaded file is in the .tgz Format. Issue the following command in Terminal to extract the downloaded file:

$ tar -xvf zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220.tgz

Using the cd command, navigate to the extracted folder as follows:

$ CD zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220

Then run the installer as follows:

$ sudo ./install.sh

Once the installation has started, you will see something like this:

Install Zimbra on Ubuntu

Install Zimbra on Ubuntu

If the following Software license agreement appear, hit and accept. Then strike again and use Zimbra’s package repository to install.

When the following screen appears, press and for each of the packages except that zimbra-imapd which is only available in the beta version.

When you are notified that the system will be changed, press and then the installation will start.

Install Zimbra on Ubuntu

Install Zimbra on Ubuntu

Once the installation is complete, the following screen will appear and you will be asked to configure the unconfigured items.

Here we configure the admin password for Zimbra, which is not yet configured. You can also see Administrator password marked as ***** under the zimbra shop Section. Blow 7th on your keyboard to type in the zimbra store section.

Now for Administrator password Configuration, hit 4th. You will be asked to set the password for admin. Enter any password (with at least 6 characters).

Install Zimbra on Ubuntu

Install Zimbra on Ubuntu

Strike now a to apply the configurations and press and again to save the configurations. When you are notified that the system will be changed, press and.

Now you will see the following screen with the message “Configuration Complete”, press Enter break up.

The installation of the Zimbra mail server is now complete.

Step 5: Access the Zimbra administration page

You can now access the Zimbra administration page. Open any web browser and enter:

https: // ip_address: 7071

or

https: // FQDN: 7071

You will see the following standard Zimbra login page. Enter Administrator as username and enter the password you set earlier (as described in the previous section).

Install Zimbra on Ubuntu

Install Zimbra on Ubuntu

Once you are logged in, you will see the following view with the summary and other statistics.

Install Zimbra on Ubuntu

Install Zimbra on Ubuntu

Zimbra is an open source mail server that offers multiple functions but, on the other hand, consumes a lot of resources. Therefore, it is recommended that you install it on a computer that has enough memory, processor, and hard drive space. Now you have learned how to install Zimbra in Ubuntu. In a few other posts, we’ll go into configuring Zimbra.

Related Posts