(For more resources related to this topic, see here.)
Let us dive into the prerequisites for Zimbra:
Before starting the Zimbra installation process, we should prepare the environment. In the first part of this section, we will see the different possible configurations and then, in the second part, we will present the needed assumptions to apply the chosen configuration.
One of the greatest advantages of Zimbra is its scalability; we can deploy it for a small business with few mail accounts as well as for a huge organization with thousands of mail accounts.
There are many possible configuration options; the following are the most used out of those:
We choose the medium configuration; so, we will install LDAP and mailbox in one server and MTA on the other server.
Install different servers in the following order (for medium configuration, 1 and 2 are combined in only one step):
1. First of all, install and configure the LDAP server.
2. Then, install and configure Zimbra mailbox servers.
3. Finally, install Zimbra MTA servers and finish the whole installation configuration.
New installations of Zimbra limit spam/ham training to the first installed MTA. If you uninstall or move this MTA, you should enable spam/ham training on another MTA as one host should have this enabled to run zmtrainsa –cleanup. To do this, execute the following command:
zmlocalconfig -e zmtrainsa_cleanup_host=TRUE
In this article, we will use some specific information as input in the Zimbra installation process, which, in most cases, will be different for each user. Therefore, we will note some of the most redundant ones in this section. Remember that you should specify your own values rather than using the arbitrary values that I have provided. The following is the list of assumptions used :
To be able to follow the steps described in the next sections, especially each time we need to perform a configuration, the reader should know how to harness the vi editor. If not, you should develop your skill set for using the vi editor or use another editor instead.
You can find good basic training for the vi editor at http://www.cs.colostate.edu/helpdocs/vi.html
For the various system requirements, please refer to the following link:
If you are using another version of Zimbra, please check the correct requirements on the Zimbra website.
The installation should have completed successfully.
In order to prepare the Ubuntu for the Zimbra installation, the following steps need to be performed:
Log in to the newly installed system and update and upgrade Ubuntu using the following commands:
sudo apt-get update sudo apt-get upgrade
Install the dependencies as follows:
sudo apt-get install libperl5.14 libgmp3c2 build-essential sqlite3 sysstat ntp
Zimbra recommends (but there’s no obligation) to disable and remove Apparmor.
sudo /etc/init.d/apparmor stop sudo /etc/init.d/apparmor teardown sudo update-rc.d -f apparmor remove sudo aptitude remove apparmor apparmor-utils
Set the static IP for your server as follows:
Open the network interfaces file using the following command:
sudo vi /etc/network/interfaces
Then replace the following line:
iface eth0 inet dhcp
With:
iface eth0 inet static address 172.16.126.14 netmask 255.255.255.0 gateway 172.16.126.1 network 172.16.126.0 broadcast 172.16.126.255
Restart the network process by typing in the following:
sudo /etc/init.d/networking restart
Sanity test!
To verify that your network configuration is configured properly, type in ifconfig and ensure that the settings are correct. Then try to ping any working website (such as google.com) to see if that works.
On each server, pay attention when you set the static IP address (172.16.126.140 for the LDAP server and 172.16.126.141 for the MTA server).
In this article, we learned the prerequisites for Zimbra multiserver installation and preparing the environment for the installation of the Zimbra server in a multiserver environment.
Further resources on this subject:
I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…
Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…
Once we learn how to deploy an Ubuntu server, how to manage users, and how…
Key-takeaways: Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…
While developing a web application, or setting dynamic pages and meta tags we need to deal with…
Software architecture is one of the most discussed topics in the software industry today, and…