Zimbra Collaboration Suite (ZCS) is a groupware product created by Zimbra. It is widely used in the world. Users can share folders, contacts, schedules and other things, using a very rich web interface.
In this tutorial, I will explain installing Zimbra Collaboration Server 8.0.4 – Open Source Edition on CentOS 6.4 X64 or RHEL 6.4
Installation Steps
1. yum update – Update your system
2. Install prerequisites
yum install sudo sysstat libidn gmp libtool-ltdl compat-glib vixie-cron nc perl libstdc++.i686
3. Modify /etc/hosts file and Also, be sure to setup a DNS MX record in your zone file
127.0.0.1 localhost localhost.localdomain
#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.0.20 centos01.linuxlab.local centos01
4. Disable start-up services
4a. chkconfig postfix off
4b. service postfix stop
4c. chkconfig sendmail off
4d. service sendmail stop
5. /etc/sudoers – Comment “Defaults requiretty” out
# Defaults requiretty
6. Disable firewall or Allow zimbra ports
7a. chkconfig iptables off && chkconfig ip6tables off
or
7b. Configure Iptables Firewall
# enable zimbra ports
$iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 25 -j ACCEPT
$iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 80 -j ACCEPT
$iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 110 -j ACCEPT
$iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 143 -j ACCEPT
$iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 389 -j ACCEPT # -s 10.10.3.0/24
$iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 443 -j ACCEPT
$iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 465 -j ACCEPT
$iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 993 -j ACCEPT
$iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 995 -j ACCEPT
$iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 7071 -j ACCEPT # -s 10.10.3.0/24
7. /etc/selinux/config – Disable SeLinux
SELINUX=disabled
Note: Reboot is required
8. Extract installation package to /tmp
tar xvf zcs-8.x.y.z.tgz
9. ./install.sh – To Install ZCS
9a. Change domain name
9b. Change admin password – Type “3” and then “4”
10. Open your web browser and go to https://ZCS_IP_Address
11. To Check zimbra status
su – zimbra
zmcontrol status
12. To stop and start zimbra
su – zimbra
zmcontrol stop
zmcontrol start
Hope you found it informative and useful. Any questions or comments are welcomed.

Cloud and infrastructure professional with nearly two decades of experience in enterprise IT environments, spanning public cloud, private cloud, and hybrid architectures.