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:
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:
127.0.0.1 localhost.localdomain localhost
# This line is important
184.108.40.206 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:
That’s it, the time has come, let’s download and launch the installation script:
yum install wget
chmod +x ZimbraEasyInstall-87-CentOS-RHEL
./ZimbraEasyInstall-87-CentOS-RHEL zimbra.io 220.127.116.11 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:
I think these links might be helpful for you: