Installing Zimbra 4.5 on Fedora Core 6 (64 bits CPUs)

Revision as of 04:52, 27 August 2009 by Gettyless (talk | contribs)

ZCS 4.5 Article ZCS 4.5

I recently installed Zimbra 4.5.4 in 8 servers, 4 dual opterons, 2 dual Xeon, and 2 Intel quadri-cores. I installed all of them with Fedora Core 6 (FC6), in some cases using the Xen kernel (that doesn't affect Zimbra at all, of course).

The procedure to make Zimbra installation work in FC6 is the following:

1) Install OpenSSL 097a and the libc++ compatibility libraries with:

yum install openssl097a compat-libstdc++-296 compat-libstdc++-33

2) Edit /etc/redhat-release so that you fake a RedHat system. The text should look like:

Red Hat Enterprise Linux ES release 4 (Nahant Update 4)

3) Edit /etc/sudoers and comment the requiretty line as:

# Defaults    requiretty

4) Create the following link (on 32 bits machine use /lib instead of /lib64):

cd /lib64
ln -s

Then download zcs-4.5.4_GA_763.RHEL4_64.tgz (that is, the 64 bit version for Red Hat, either Open Source or Network Edition) and install as usual (remember to do service sendmail stop and service mysqld stop before starting, and probably chkconfig sendmail off and the same for MySQL).

Useful post-install adjustments

It is quite convenient to redirect the local Linux generated e-mails to Fedora and RedHat use sendmail to send system generated e-mails, so a minor change in sendmail configuration file is necessary. The following lines in /etc/mail/ will make sendmail to run on port 2525 and (optionally) redirect all e-mail to localhost.

Lines to be edited in /etc/mail/

DAEMON_OPTIONS(`Port=2525,Addr=, Name=MTA')dnl

The SMART_HOST line is optional, but helps sendmail to speed up local e-mail deliveries to Zimbra. If you have a cluster, use one of your MTAs instead of localhost.

After modifying the file, do:

service sendmail restart

You need to have the package sendmail-cf installed (yum install sendmail-cf)

Finally, in /etc/aliases file, add the lines:


then do newaliases.

Another useful adjustment is to clean tomcat log files after 30 days. Just add this script in your /etc/cron.daily directory (remember to give it execution permission! ;-):


find /opt/zimbra/tomcat/logs/ -mtime +30 -exec rm -f {} \;

exit 0
Jump to: navigation, search