How to install Zimbra in CentOS

Prerequisites:

1. You need to configure the DNS entry that is pointing to the server.

2. You need to verify the hostname of the server in the files "/etc/sysconfig/network" and "/etc/hosts".

3. The machine will need at least 1024mb of memory to run the default Zimbra services.

4. You will need to install some required packages to proceed with the setup and avoid errors further on:

*wget – download utility that will be using to download the latest version of Zimbra Open Source Edition.

*postfix – an open-source mail transfer agent (MTA) that routes and delivers electronic mail; installation of Zimbra will fail without this package.

*ntp – a protocol designed to synchronize the clocks of computers over a network.

You can install these packages with the following command:

# yum install wget postfix ntp

Installation steps:

1. mkdir /download

2. cd /download

3. wget http://files2.zimbra.com/downloads/7.0.1_GA/zcs-7.0.1_GA_3105.RHEL5_64.20110304210645.tgz

4. Initiate the installer:

tar -zxvf zcs-7.0.1_GA_3105.RHEL5_64.20110304210645.tgz

5. Install fetchmail using “yum install fetchmail”

6. Make sure to set SELinux to permissive or disabled (edit /etc/selinux/config and set SELINUX=permissive)

7. cd zcs-7.0.1_GA_3105.RHEL5_64.20110304210645

8. ./install.sh --platform-override

P.S: The Zimbra installation script checks if the distro is RHEL. To ignore that and install on CentOS, you must use "--platform-override".

9. You’ll be asked various questions during the installation, use the default or obvious answers.

10. After Zimbra is installed, you'll be prompted to review the system's configuration. You'll want to set the administrator password before proceeding. Once everything looks right, choose "a" to apply the configuration and "y" to confirm system modification. Zimbra and all related system services will be started up on your system. You may want to reboot the server once and review the contents of /var/logs/ to make sure everything is operating correctly.

Thank you.

Comments

Post a Comment

Popular posts from this blog

SVN: File remains in conflict

HowTo: Enable extended logging for exim

12 tweakings for WHM/cPanel to speed up WordPress