Zimbra: How to install Zimbra 8.7.x in an automated way on CentOS/RHEL – with Chat and Drive!

Greetings friends, the Zimbra Community has that magic that makes you keep writing every day, commenting in forums, or contributing to GitHub with Scripts. As many of you know, I created a Script called ZimbraEasyInstall some time ago that helped us to deploy a Zimbra instance on Ubuntu in a very simple way.

The other day I received an update to this code (thanks to Luis Perez) and now it also supports CentOS/RHEL, so today I want to show you how easy it is to install Zimbra Collaboration 8.7. x, in CentOS/RHEL in a completely automated way, here we go.

Creating a CentOS instance in Digitalocean

For this lab, I’m going to use a CentOS instance in Digitalocean, my trusted Cloud provider, let’s go there.

In my case I have selected a CentOS 7, since the script only works with CentOS/RHEL 7:

The size if it matters, and for Zimbra is recommended this instance of 4GB and 2vCPU for testing, if we want production, you have to go to 8GB or more RAM memory.

We can select the region we want, in my case I have selected London.

Last but not least, the hostname that the instance will have, in my case zimbrarhel.zimbra.io

Once we launch the instance, in a few seconds we will have everything ready:

Download and launch Zimbra Automated Installation Script

First of all, we’ll have to make sure that the Hosts file is correct, it should have something like that, special attention to the custom line: localhost.localdomain localhost
# This line is important zimbrarhel.zimbra.io      zimbrarhel

# The following lines are desirable for IPv6 capable hosts
::1 zimbrarhel.zimbra.io zimbrarhel
::1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

And we’ll reboot the network to catch the changes:

/etc/init.d/network restart

That’s it, the time has come, let’s download and launch the installation script:

yum install wget
wget https://github.com/jorgedlcruz/zimbra-automated-installation/raw/master/ZimbraEasyInstall-87-CentOS-RHEL
chmod +x ZimbraEasyInstall-87-CentOS-RHEL 
./ZimbraEasyInstall-87-CentOS-RHEL zimbra.io Zimbra2017

With this and in just a few minutes we will have a Zimbra Collaboration system automatically installed, if we access the VPS IP, we will have Chat and Drive and everything is working:

Related links

I think these links might be helpful for you:

Author: jorgeuk

Father, writing in https://www.jorgedelacruz.es and https://jorgedelacruz.uk Blogger, Systems Engineer @veeam - vExpert 2014/2020 & NTC 2018/19

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.