Thursday, August 7, 2008

Install Zimbra 5 on Ubuntu 8.04

In this post I will discuss how I managed to get Zimbra 5.0 Open Source Edition install on Ubuntu 8.04. If your not familiar with Zimbra ( ) and your interested in groupware, collaboration tools or just a simple to use email server, I'd have to recommend it.

I just installed Zimbra to test it out and get more familiar with it as I have a few clients that look to me to administer thier installs. I have decided to install the lastest Open Source Edition of Zimbra at the time of writing this and I decided to install it on a VMware guest that is running Jeos Ubuntu 8.04. I decided to go with a Jeos ( Just Enough OS) version of Ubuntu as I dont need a full blown install of Ubuntu server to accomplish this task. I would assume that a Ubuntu 8.04 server would have exactly the same requirements since they do use the same Ubuntu repositories.

I'll assume the you have a version of Ubuntu 8.04 server installed and it's a fresh install.

Lets get started!

Step 1: Install the required packages.

$ sudo apt-get install fetchmail libgmp3c2 libxml2 openssl openssl-blacklist openssl-blacklist-extra libltdl3 libgmp3c2 libgmpxx4ldbl curl libcurl3 libidn11 curl fetchmail libgmp3c2 libgmp3-dev libxml2 libstdc++6 openssl libstdc++5 libexpat1 libpcre3 perl perl-base perl-modules

Step 2: Download the lastest Open Source Edition of Zimbra for Ubuntu 6 at

Step 3: Extract the tarball:

$ tar -zxf downloads_5.0.8_GA_zcs-5.0.8_GA_2462.UBUNTU6.20080709173036.tgz
$ cd zcs-5.0.8_GA_2462.UBUNTU6.20080709173036/

Step 4: Fix the install scripts so that the installer will recognize Ubuntu 8.04.

First I patched the script thats checks the distro version:

justin@u804jeos:~/zcs-5.0.8_GA_2462.UBUNTU6.20080709173036$ bin/
justin@u804jeos:~/zcs-5.0.8_GA_2462.UBUNTU6.20080709173036$ diff bin/ bin/
< distrib_release="8"> /dev/null 2>&1
< platform = "DEBIAN3.1" platform = "UBUNTU6" platform = "UBUNTU7" platform = "UBUNTU6_64" platform = "UBUNTU7_64" platform = "DEBIAN4.0" platform = "DEBIAN4.0_64" platform = "UBUNTUUNKNOWN" platform = "DEBIANUNKNOWN" platform = "UBUNTU8"> if [ $PLATFORM = "DEBIAN3.1" -o $PLATFORM = "UBUNTU6" -o $PLATFORM = "UBUNTU7" -o $PLATFORM = "UBUNTU6_64" -o $PLATFORM = "UBUNTU7_64" -o $PLATFORM = "DEBIAN4.0" -o $PLATFORM = "DEBIAN4.0_64" -o $PLATFORM = "UBUNTUUNKNOWN" -o $PLATFORM = "DEBIANUNKNOWN" ]; then
< platform = "UBUNTU6" platform = "UBUNTU7" platform = "UBUNTU8"> if [ $PLATFORM = "UBUNTU6" -o $PLATFORM = "UBUNTU7" ]; then

Step 5: Run the install script. The script will not install the packages with out overriding it with the following switch:
$ sudo ./ --platform-override

The installer will have a few warnings about some situations which it is confused about but are actually OK. It will default to an answer that will abort the install, but answer them with a 'y' for yes. After the install script begins installing the Zimbra packages we can refer to the Zimbra documentation to complete the install.