• Home
  • Free Stuff
  • About
  • Contact

Zimbra Collaboration Suite 5.0 Auto Install Script for openSUSE 10.3

October 8, 2008

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
Share

Blog

Masim "Vavai" Sugianto
Traveller, Open Source Enthusiast & Book Lover. Works as Independent Worker & Self-Employer.

4 Comments


Michal Zugec
October 25, 2008 at 11:12
Reply

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

2a3,11
> function check_retval {
> if [ "$1" != "0" ]
> then
> echo "Something wrong - exiting"
> exit $1
> fi
>
> }
>
26c35
#zypper in fetchmail curl libidn gmp compat-libstdc++ cron sudo compat-openssl097g libexpat0
34a44
>
37c47,66
ZCS_UNPACK_DIR=/tmp/zimbra-install
> 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 $?
>
41c70,71
cp get_plat_tag.sh $INSTALL_DIR/bin/
> check_retval $?
46c76,78
SCRIPT_DIR=$(pwd)
> cd $INSTALL_DIR
> check_retval $?
58a91
> check_retval $?
65c98
cd $SCRIPT_DIR



Michal Zugec
October 25, 2008 at 11:13
Reply

oups – please uncomment #zypper line – I comment it because of faster testing



Masim "Vavai" Sugianto
October 25, 2008 at 16:41
Reply

Hi Michal,

Thank you. It was a nice add-on code. I will apply this on next Zimbra training.



Harsh
November 24, 2008 at 11:37
Reply

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 🙂



Zimbra and openSUSE Thread on Zimbra Forum | Spirit of Change
January 1, 2009 at 06:44
Reply

[…] builds for openSUSE 10.3 but I could applied binary builds for openSUSE 10.2 on openSUSE 10.3 with small cheated without any problem. I could not applied binary builds for openSUSE 10.2 into openSUSE 11.x because […]



Leave a Reply Cancel reply

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

  • Recent Posts

    • Januari 2021 Portfolio Update
    • December 2020 Portfolio Update
    • After a While
    • Life goes On : Farming
    • Pursuing FIRE in Indonesia : Are You Prepared For A Recession?
    • VirtualBox Error Kernel Driver not Installed (rc=-1908) on Zorin OS 15.2
    • ZorinOS on Intel NUC Hades Canyon Series NUC817HVK
    • Banana Farm
    • Zorin OS 15.2 Ultimate
    • Haraka and LDAP Authentication with Zimbra



© Copyright LetsBlog Theme Demo - Theme by ThemeGoods