Zimbra Collaboration Suite 5.0 Auto Install Script for openSUSE 10.3

zimbra-logoopensuse logoI’m playing with Zimbra Collaboration Suite (ZCS) for about 2 years, and quite satisfied with the stability, feature and administrative console. Before applying Zimbra I used standard postfix for office mail server.
Zimbra released with 2 licensing schema, commercial and open source license. Their open source license provided with Yahoo Public License.
I’m currently using Zimbra 5.0.4 on openSUSE 10.3. Manual installation could be found in my personal blog : Zimbra Installation on openSUSE 10.3. You may need a small modification into ZCS installation script because ZCS originally released for openSUSE 10.2.
After deploying Zimbra on openSUSE 10.3 for such company (part of Indonesian openSUSE community project for increasing openSUSE usability and our promotion project of openSUSE usability for server side), I make a deal to write a small script using bash. It’s pretty simple and looks like a primitive script with just cp, tar and mv :-D . I will make a nice graphical user interface after learning C++ or Java ;-) .
So, how to build powerful mail server with Zimbra on openSUSE 10.3 ? Here it does :

  1. Install openSUSE 10.3
  2. Make sure you have a Fully Qualified Domain Name (FQDN) for your hostname, ie : namahost.namadomain.com, not only namahost. Checked it out with YAST | Network Service | DNS & Host Name or by editing /etc/hosts directly
  3. Make sure you have more than 5 GB of free space. Please navigate into “Preparing your server environment” on Zimbra Wiki for more information.
  4. Setup your DNS server. For testing, you may only create name server and address record (NS MX & A records). Please refer to a nice article How to Setup BIND DNS Server. *We have a nice graphical setup DNS using YAST but it was written on Bahasa Indonesia* :-)
  5. Download Zimbra-Auto install script
  6. Extract the script into /opt/zimbra-auto. I will make a flexible script in the future but currently the script will only worked with /opt/zimbra-auto until you editing the script
  7. Download ZCS open source edition for openSUSE. The script was originally written for ZCS ver 5.0.4. If you used the latest ZCS version, please feel free to make an editing into Zimbra-Auto script
  8. Getting started by running /opt/zimbra-auto/zimbra-auto-opensuse103.sh install script and follow the wizard.

Note :

  1. You may need add an exception port into firewall and AppArmor configuration
  2. I will make an entry on openSUSE wiki after reviewing the script

Related Entry :

  1. Installing ZCS 5.0.X on openSUSE 10.3 a complete guide by Bigmudcake
  2. Zimbra Installation on openSUSE 10.3
  3. Installing ZCS 4.5.x on either openSUSE 10.2 or 10.3 a complete guide
  4. Problem may occurred regarding AppArmor Setting

5 thoughts on “Zimbra Collaboration Suite 5.0 Auto Install Script for openSUSE 10.3

  1. Hello!
    I like that script, it helps me a lot but I have some improvements:
    – when something failed, don’t continue
    – download and extract last zcs version
    patch (for zimbra-auto-opensuse103.sh file):

    > function check_retval {
    > if [ "$1" != "0" ]
    > then
    > echo "Something wrong - exiting"
    > exit $1
    > fi
    > }
    #zypper in fetchmail curl libidn gmp compat-libstdc++ cron sudo compat-openssl097g libexpat0
    > URL=$(curl -s http://www.zimbra.com/community/downloads.html|grep -i opensuse|grep tgz|cut -d'=' -f2|cut -d'"' -f2)
    > check_retval $?
    > TARBALL=${URL##*/}
    > echo "URL to download $URL"
    > echo "TARBALL name $TARBALL"
    > rm $TARBALL
    > curl $URL > $TARBALL
    > check_retval $?
    > test -d $ZCS_UNPACK_DIR && rm -rf $ZCS_UNPACK_DIR
    > mkdir -p $ZCS_UNPACK_DIR
    > tar xvf $TARBALL -C $ZCS_UNPACK_DIR
    > check_retval $?
    > INSTALL_DIR="$ZCS_UNPACK_DIR/$(ls -t $ZCS_UNPACK_DIR|head -n1)"
    > check_retval $?
    cp get_plat_tag.sh $INSTALL_DIR/bin/
    > check_retval $?
    > cd $INSTALL_DIR
    > check_retval $?
    > check_retval $?
    cd $SCRIPT_DIR

  2. Hi, I just read your mailing list post about Zimbra 5 on OpenSUSE 11.0. Am just curious to know if you have found a solution to it yet? Am getting the same stack pointer error 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *