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 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:
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:
Enter the following entry and then save and close the hosts file.
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:
Then stop system resolved with the following command:
Now remove the resolv.conf Symlink file:
Then create a new one resolv.conf File with the following command:
Install now dsmasq, issue the following command in the terminal:
Once the dnsmasq installation is complete, run the following command to edit the dnsmasq configuration file:
Add the following lines to the configuration file:
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:
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:
The downloaded file is in the .tgz Format. Issue the following command in Terminal to extract the downloaded file:
Using the cd command, navigate to the extracted folder as follows:
Then run the installer as follows:
Once the installation has started, you will see something like this:
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.
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).
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:
or
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).
Once you are logged in, you will see the following view with the summary and other statistics.
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.