Zimbra Collaboration Suite Open Source Edition On CentOS This tutorial shows how to set up Zimbra Collaboration Suite - Open Source Edition on CentOS. This tutorial covers installation of CentOS, dependencies for ZCS and setup of Split DNS when working behind a firewall. This tutorial is based on the way I set this server up and is only a suggestion. It carries no guarantees and it is highly suggested that you do this on a test server first to verify functionality. If you don't have a test server available you should download VMWare Server 1.0 and perform this tutorial on a test virtual server. 1 Requirements To install this system you will need the following: CentOS 5 DVD or CD ISO images which are available at http://isoredirect.centos.org/centos/5/isos/i386/ High-speed Internet connection A full coffee pot or alternative source of caffeine 2 Preliminary Note In this tutorial I use the hostname mail.geekdept.com with the IP address of 192.168.0.45 and a gateway of192.168.0.1. These settings should be replaced with the appropriate hostname and IP address for your setting. 3 Installion of CentOS 5 Insert your CentOS install CD into your system and boot from it. Hit Enter to start the installation.
26
Embed
Zimbra Collaboration Suite Open Source Edition on CentOS
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Zimbra Collaboration Suite Open Source Edition On CentOS
This tutorial shows how to set up Zimbra Collaboration Suite - Open Source Edition on
CentOS. This tutorial covers installation of CentOS, dependencies for ZCS and setup of Split
DNS when working behind a firewall. This tutorial is based on the way I set this server up and
is only a suggestion. It carries no guarantees and it is highly suggested that you do this on a
test server first to verify functionality. If you don't have a test server available you should
download VMWare Server 1.0 and perform this tutorial on a test virtual server.
1 Requirements
To install this system you will need the following:
CentOS 5 DVD or CD ISO images which are available
at http://isoredirect.centos.org/centos/5/isos/i386/
High-speed Internet connection
A full coffee pot or alternative source of caffeine
2 Preliminary Note
In this tutorial I use the hostname mail.geekdept.com with the IP address
of 192.168.0.45 and a gateway of192.168.0.1. These settings should be replaced with the
appropriate hostname and IP address for your setting.
3 Installion of CentOS 5
Insert your CentOS install CD into your system and boot from it. Hit Enter to start the
installation.
You are first asked if you would like to test the CD Media. You can choose skip.
After this the installer starts. Click on Next.
Next you are asked for language.
In my case I chose English and it then ask for which English. I'm in the US so I choose US
English.
A box pops up warning you about initializing the drive.
No changes need to be made on the next screen.
Again you are warned of the iminent doom of your disk.
Network Devices gives you the opportunity to enter IP address information for your network.
Keep in mind that you cannot run an email server using DHCP. Use the edit button and enter
information appropriate for your network. Don't forget to enter your gateway and nameservers
as well.
Next you are asked for your time zone.
Enter a password for the root account.
Now it is time to choose the packages to install. Uncheck all boxes in the upper pane and
check the box for the CentOS Extra Packages in the lower pane. Click the radio button
for Customize Now and click Next
A box will pop up verifying your IP address information. The next screen allows you to choose
packages for your installation. You want the following packages:
Applications
Editors
Text-based Internet
Development
Development Libraries
Development Tools
Legacy Software Development
Base System
Base
Legacy Software Support
Once you have selected the pacakages click Next and it will search for dependencies.
It is now ready to begin the installation. Click Next to begin.
The installation should only take a few minutes because we are installing the bare minimum.
Click on Reboot once the installation is finished. Be sure to remove your installation CD as
well.
Once the system reboots you are presented with the firstboot screen. This feature is very
helpful because it allows you to make changes to the firewall. Using the keyboard
choose Firewall click tab to move to the Run Tool button and hit enter.
For Security Level choose disabled and choose disabled for SELinux as well. Choose OK.
Now you are back at the main firstboot screen. You can tab to the Exit button.
Please note that we have now disabled all security on this box. If this computer is not behind a firewall it
could be compromised quite easily.
The last step is 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.
4 Installation Of Split DNS
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.
Create the /var/named/chroot/etc/named.conf file:
vim /var/named/chroot/etc/named.conf
options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; forwarders { 192.168.0.10 ; }; }; include "/etc/rndc.key"; // We are the master server for mail.geekdept.com zone "mail.geekdept.com" { type master; file "db.mail.geekdept.com"; };
The ip address for forwarders should be the ip address of your dns server.
Now you need to create your /var/named/chroot/var/named/db.mail.geekdept.com file
vim /var/named/chroot/var/named/db.mail.geekdept.com
; ; Addresses and other host information. ; @ IN SOA mail.geekdept.com. hostmaster.mail.geekdept.com. ( 10118 ; Serial 43200 ; Refresh 3600 ; Retry 3600000 ; Expire 2592000 ) ; Minimum ; Define the nameservers and the mail servers IN NS 192.168.0.45 IN A 192.168.0.45 IN MX 10 mail.geekdept.com.
Change your resolv.conf to use your mail server's IP address as it's primary DNS.