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

Revision as of 17:16, 24 March 2015 by Jorge de la Cruz (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Admin Article

Article Information

This article applies to the following ZCS versions.

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 libdb-4.3.so libdb-4.2.so

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 admin@whatever.com. 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/sendmail.mc will make sendmail to run on port 2525 and (optionally) redirect all e-mail to localhost.

Lines to be edited in /etc/mail/sendmail.mc

define(`SMART_HOST',`[localhost]')
...
DAEMON_OPTIONS(`Port=2525,Addr=127.0.0.1, 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:

make
service sendmail restart

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

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

root: admin@your_domain.com
zimbra: admin@your_domain.com

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! ;-):

#!/bin/sh
#

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

exit 0
Jump to: navigation, search