Installing Zimbra 8.0.4 on CentOS 6.4 X64 – RHEL 6.4

Updated on July 16, 2017
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading...

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 video tutorial, I will explain installing Zimbra Collaboration Server 8.0.4 – Open Source Edition on CentOS 6.4 X64 or RHEL 6.4

How to Install Zimbra 8 on CentOS 6 and RHEL 6

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

Related Article  Installing VMware ESXi 5.1 Update 1 in VMware Workstation 9.0.2

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.

  • ariadi

    Hi there.. thank you for this tutorial. Very useful. One question, how do I get back to the menu console (at time 12.05 in video) after we quit?

  • lakhan

    this command is used for start initial setup /opt/zimbra/libexec/zmsetup.pl

  • Amit

    Hi nice tutorial but i got an error Initializing ldap…failed. (5632), Please help out thanks

  • Mark

    Thanks for your really Good Tutorial.
    I have just the following problem to solve,
    In the MTA config of server.local
    – When i Enable DNS lookups I can send mail to outside domain but not to the internal one.
    – If i disableDNS lookups , i can just send mail to internal domain but not ustside .
    – the only way to send mail to the outside and inside domain for me , is disable DNSlookups
    and write the pubblic IP of my zimbra server in the “Replay MTA for External delivery” (the localhost/private ip of server don’t work)
    Is that a correct configuration or i have to fix somthing? Thanks, and sorry my bad english