How to Install Zimbra 4.5 on CentOS5
Here are the steps required to successfully install zimbra 4.5 on CentOS5. The system will work perfectly even after its rebooted (no MTA errors). I have used these steps to install zimbra on three servers and all work perfectly. I hope this guide will save others the time of hunting around forums. Also it’s a good idea to have the A records and MX records setup before you start the installation.
1. Install Centos5 from DVD or CDROM configure the entire disk
2. Configure your Fully Qualified Hostname, IP address and Gateway, DNS details
3. Setup your root password
4. Setup the software. Select Server only and Customize Now
Select only the following components:
Text base Internet
5. The system will now install and will required CDs 1-6.
6. Once the system reboots disable firewall and SElinux.
7. Make sure your /etc/hosts file has the line:
IP address FQDN hostname (i.e. 126.96.36.199 mail.domain.com mail).
8. Reboot the system (for changes to take effect).
9. Then run yum update to my sure your system is fully up to date.
10. Reboot the system.
11. Next remove sendmail by running yum remove sendmail.
12. Next install some required files by running the following command:
yum install openssl097a compat-libstdc++-296 compat-libstdc++-33.
yum install compat-db (to Get Spell Server to Start)
13. Edit the /etc/sudoers and comment out “defaults requiretty” (put # in front of it).
14. Edit the /etc/sysconfig/i18n and delete the line LANG=”en_US.UTF-8”.
15. Reboot the system.
16. Then run yum install fetchmail.
17. Run the command setup then system services and un-tick the following services.
Exim (If left running will block port 25)
18. Reboot the system.
19. Login and change directory to /var/tmp.
20. Download the Zimbra software wget http://download.location/zcs-4.5.5_GA_838.RHEL4.gz.
21. Uncompress the download tar xzvf zcs-4.5.5_GA_838.RHEL4.gz.
22. Change directory to zcs.
23. Start the installation by running ./install.sh and follow the on screen instructions.
added yum install compat-db (to Get Spell Server to Start)