Skip to content
Bots!
Bots!
  • About
    • Myself
    • আমার দোয়া
  • Bookmarks
    • Bookmarks
    • My OCI Bookmarks
    • Useful Proxmox Commands & Links
    • Learning Nano
    • Useful Sites
    • Useful Virtualbox Command
    • Useful MySQL Command
    • Useful Linux Command
    • BTT-CAS
  • Resources
    • Webinar on Cloud Adoption for Project Managers
  • Photos
  • Videos
  • Downloads
Bots!

Step by Step Zimbra 6.x installation on CetOS 5.x

Rumi, June 11, 2012June 11, 2012

First you need to install a fresh CentOS operating system, keeping almost everything as default state. In this installation note I'm assuming few things-

  • There is either a LARGE '/' partion or a LARGE '/opt' partition. Zimbra by  default is installed on /opt directory
  • I'm also assuming that the server is not sitting beehind a firewall (for example if it's reched by port/ip forwarding from firewall, it won't work). But there are some  additional tasks that can allow you to run it behind a firewall. But unfortunately, I won't cover that up here.
  • SELinux and Linux firewall, should be disabled for the time being.
  • You can install webmin, and from there you can create your custom firewall policy/rule- but you can always do this later, after post installation of Zimbra

Now let's start.

Now we need to shutoff some services that will interfere with ZCS.

chkconfig sendmail off
chkconfig ip6tables off
chkconfig iptables off

We need one package before we can continue:

yum install libtool-ltdl

This completes the base installation of CentOS. On the next page we will setup Split DNS which is essential for ZCS. Go ahead and reboot, and fill up that coffee cup.

This part of installation is working off of the assumption that you are behind a firewall. If you are not behind a firewall (not recommended) you can skip this part of the installation.

I need to give credit where it is due. The chroot portion of this tutorial is adapted from Sebastien Wains. His CentOS Bind Chroot tutorial can be found at http://www.wains.be/index.php/2007/12/13/centos-5-chroot-dns-with-bind/. The Split DNS tutorial is adapted from the Zimbra Wiki and can be found at http://wiki.zimbra.com/index.php?title=Split_dns.

yum install bind bind-chroot bind-libs bind-utils

REMINDER: Be sure to use the ip address and hostname/FQDN that is appropriate for your installation.

Login to webmin and go Servers > BIND DNS Server > Edit config file.

put the following values-

options {
       directory "/var/named";
       dump-file "/var/named/data/cache_dump.db";
       statistics-file "/var/named/data/named_stats.txt";
forwarders {192.168.0.1 ; };
};
include "/etc/rndc.key";
// We are the master server for mailbox.mango.com.bd
zone "mailbox.mango.com.bd" {
 type master;
 file "/var/named/mailbox.mango.com.bd.hosts";
 };

Next click "Create Master Zone" >

Domain Name- your domain name (FQDN of your hostname)

Email Address- hostmaster@yourdomain.com

Click Create

Now you click on the newly created Master zone (yourdomain.com) and do the following-

On ADDRESS- leave empty on NAME field, and give your server IP on the ADDRESS field

On MAILSERVER- leave empty on NAME field and give your server IP on the ADDRESS field, enter 10 on PRIORITY field

Restart your DNS  server.

Enable autostart for named.

chkconfig named on

To verify that it is working do the following:

nslookup mail.geekdept.com

It should return something similar to this:

Server:         192.168.0.45
Address:        192.168.0.45#53
Name:   yourdomain.com
Address: 192.168.0.45

Notice that the ip address returned is the same as the local machine. That means success.

Now we can move on to installing ZCS.

ZIMBRA need some dependencies and you have to install it before :

Package requirement :

yum install gmp libstdc++ compat-libstdc++-33 sysstat

INSTALLATION

First Step of the installation process, Download ZCS here

wget http://files2.zimbra.com/downloads/6.0.16_GA/zcs-6.0.16_GA_2998.RHEL5.20120404131639.tgz

extract the archive and read the content in ZCS folder:

# tar -xvf zcs*
# cd zcs-6*
# ls -al

As you can see you have to execute the install script to start the installation of ZCS

On REDHAT :

./install.sh

On CENTOS :

./install.sh –platform-override

As you can see the installation check your system and define what you need to install.

Now you can define what you want to install, but the best thing is to follow installer.

ZIMBRA ask you to confirm the installation :

Install anyway? [N] Y

The system will be modified.  Continue? [N] Y

All is left, is to select and change your admin password, apply configuration and save > Restart zimbra service

Voila! your Zimbra installation is completed.

Now you can log in to admin-

https://yourdomain:7071

Resource and references:

http://www.generationip.com/documentation/Howto/137-howto-install-zimbra-collaboration-suite-6-0

http://www.howtoforge.com/zimbra-collaboration-suite-open-source-edition-on-centos

Administrations Configurations (Linux) CentOSzimbra

Post navigation

Previous post
Next post

Myself…

Hi, I am Hasan T. Emdad Rumi, an IT Project Manager & Consultant, Virtualization & Cloud Savvyfrom Dhaka, Bangladesh. I have prior experience in managing numerous local and international projects in the area of Telco VAS & NMC, National Data Center & PKI Naitonal Root and CA Infrastructure. Also engaged with several Offshore Software Development Team.

Worked with Orascom Telecom-Banglalink, Network Elites as VAS partner, BTRC, BTT (Turkey) , Mango Teleservices Limited and Access to Informaiton (A2I-UNDP)

Currently working at Oracle Corporation as Principal Technology Solution and Cloud Architect.

You can reach me [h.t.emdad at gmail.com] and I will be delighted to exchange my views.

Tags

Apache Bind Cacti CentOS CentOS 6 CentOS 7 Debain Debian Debian 10 Debian 11 Debian 12 DKIM Docker endian icinga iptables Jitsi LAMP Letsencrypt Linux Munin MySQL Nagios Nextcloud NFS nginx pfsense php Postfix powerdns Proxmox RDP squid SSH SSL Ubuntu Ubuntu 16 Ubuntu 18 Ubuntu 20 Varnish virtualbox vpn Webmin XCP-NG zimbra

Topics

Recent Posts

  • Install Jitsi on Ubuntu 22.04 / 22.10 April 30, 2025
  • Key Lessons in life April 26, 2025
  • Create Proxmox Backup Server (PBS) on Debian 12 April 19, 2025
  • Add Physical Drive in Proxmox VM Guest April 19, 2025
  • Mount a drive permanently with fstab in Linux April 16, 2025
  • Proxmox 1:1 NAT routing March 30, 2025
  • Installation steps of WSL – Windows Subsystem for Linux March 8, 2025
  • Enabling Nested Virtualization In Proxmox March 8, 2025
  • How to Modify/Change console/SSH login banner for Proxmox Virtual Environment (Proxmox VE / PVE) March 3, 2025
  • Install Proxmox Backup Server on Debian 12 February 12, 2025

Archives

Top Posts & Pages

  • Install Jitsi on Ubuntu 22.04 / 22.10
©2025 Bots! | WordPress Theme by SuperbThemes