Step By Step Tutorial On How to Install Zimbra on CentOS 7
No doubt, the Mail Server is a foremost and crucial liability for any organization to run a smooth business email communication.
In the open-source world, there are a couple of free email servers.
However, Zimbra or ZCS (Zimbra Collaboration Suite) wins the race.
Therefore, in today’s article, we will provide a comprehensive step-by-step tutorial on Zimbra installation on CentOS 7.
Let’s Begin!
Prerequisites of Zimbra Mail Server (ZCS)
- Minimal CentOS 7
- 8 GB RAM
- FQDN (Fully Qualifies Domain Name)
- A & MX Record for your server
Guide to Install Zimbra 8.8.10 on CentOS 7
This tutorial comprises of multiple steps that need to be followed to accomplish the same.
Step 1: Login to CentOS 7
- Login to your CentOS 7 Server and implement the latest updates using the below-mentioned command.
~]# yum update -y ; reboot
- Provide the hostname of your server after the reboot process. For example – xyz.abc.com
~]# hostnamectl set-hostname "xyz.abc.com"
~]# exec bash
- Afterward, include the following lines /etc/hosts file.
192.168.0.108 xyz.abc.com mail
- After the configuration of hostname, ensure that A and MX is configured for your domain through dig command.
[root@mail ~]# dig -t A mail.xyz.abc.com
[root@mail ~]# dig -t MX abc.com
Step 2: Install Zimbra Dependencies Using Yum
- Execute the below command to install Zimbra/ ZCS dependencies.
[root@mail ~]# yum install unzip net-tools sysstat openssh-clients perl-core libaio nmap-ncat libstdc++.so.6 wget -y
Step 3: Download Latest Version of Zimbra (ZCS 8.8.10) Via. wget Command
- First of all, make a folder named ‘Zimbra’
[root@mail ~]# mkdir zimbra && cd zimbra
- Run the below wget command to download the latest version of ZCS 8.8.10 from the terminal;
root@mail zimbra]# wget https://files.zimbra.com/downloads/8.8.10_GA/zcs-8.8.10_GA_3039.RHEL7_64.20180928094617.tgz –no-check-certificate
Step 4: Install Zimbra / ZCS 8.8.10
- Extract the files from the downloaded tgz file of ZCS 8.8.10 using the below command;
[root@mail zimbra]# tar zxpvf zcs-8.8.10_GA_3039.RHEL7_64.20180928094617.tgz
- Go to the extracted folder and execute the install script;
[root@mail zimbra]# cd zcs-8.8.10_GA_3039.RHEL7_64.20180928094617
[root@mail zcs-8.8.10_GA_3039.RHEL7_64.20180928094617]# ./install.sh
- Once the above script execution completed, you will receive a text-based installation wizard, to Accept the license, press Y.
- Now configure the Zimbra package repository and select all Zimbra components to install.
- Press Y to modify the System.
- After pressing Y, it will download the Zimbra related packages.
- Once all the Zimbra package are installed in the backend, press 7 and then 4 to set the admin user password.
- Time to press ‘r’ to go to the previous menu and then press ‘a’ to implement the changes.
- Once all the changes are applied and Zimbra related services are started, open the ports in the firewall in case CentOS firewall is running on your server
[root@mail ~]# firewall-cmd --permanent --add-port={25,80,110,143,443,465,587,993,995,5222,5223,9071,7071}/tcp
success
[root@mail ~]# firewall-cmd --reload
success
[root@mail ~]#
Step 5: Access Zimbra Admin Portal
- Get the Zimbra admin portal access by typing the hostname on the server. For example – https://abc.ayx.com:port/ZimbraAdmin/
Final Say!
That’s all about how to install Zimbra on CentOS 7 without any fail. NETFORCHOICE, a tire-4 data center company, facilitates amazing Zimbra Hosting Mailing Solution in India.
Submit Your Query