Installing Zimbra 6.0.4 on openSUSE 11.1 64 bit – Part 1

Zimbra has been released an update of it’s product on December 19, 2009 : Zimbra Collaboration Suite & Mail Server version 6.0.4 and a minor update for 5.x version : Zimbra 5.0.21. I’ve write a step-by-step tutorial installing Zimbra 5.0.21 on openSUSE 11.2 on previous post and now the second series of Zimbra tutorial : Installing Zimbra 6.0.4 on openSUSE 11.1 64 bit.
Starting with version 6.0.0, Zimbra has only provided the 64 bit binary installer for SLES (SUSE Linux Enterprise Server). There is an explanation why Zimbra decided to provide only 64 bit binary installer, not only for SLES but also for others distro. The installation process looks pretty similar between the 32 bit and 64 bit, so you should be familiar if you tried the 5.0.21 install tutorial. I decided to use openSUSE 11.1 as base OS but you may also try the tutorial using openSUSE 11.2 with just a few minor changes (probably the differences are the graphical interface and installing  gmp package).
PREPARATION & BASE INSTALLATION SETUP :

  1. Prepare your 64 bit machine with minimum 1 GB memory. Please refer to Zimbra System Requirement for complete specification. In this tutorial, I will use openSUSE 11.1 64 bit on VirtualBox running on IBM X Series 3400 with 8 GB RAM. VirtualBox using 16 GB virtual harddisk  and about 2 GB memory. This is a minimal specification and I take it only for testing (and for writing this tutorial 😛 )
  2. Install openSUSE 11.1. I’m using openSUSE 11.1 64 bit DVD installation and choose to install a Text mode (server installation mode) to prevent any unused service to be installed. Root partition taken almost full harddisk and the rest are swap partition. Install it with default option, the modification will be done later.
    openSUSE 11.1 Initial Boot Screen

    New installation using Automatic Configuration

    Setting up Time Zone

    Choosing Minimal Server (Text Mode) on Installation option to prevent/remove any unused service for mail server

    Edit/Resize partition image. Zimbra need minimum 5GB of /opt folder size. I used only 2 partition (/ and swap) and used almost full harddisk to root partition, only as testing model on my virtual image. Just adapts it with your requirement.

    Create standard user for daily purpose. Automatic login will be disabled by default for text mode installation 🙂

    Overview of base installation. I will using standard option and will make any changes & add any requirement library later.

    Installation Confirmation
  3. Disable unused software repositories. Go to YAST | Software | Software Repositories and disable unused repos. You should keep the repositories will be used for additional package installation. Just typing yast on terminal/konsole and then move to specified menu
  4. Disable firewall service for temporary installation. We could re-activating the firewall (and it should be 🙂 ) later. Go to YAST | Security & Firewall | Firewall and disable the service. Don’t forget to click the option “Stop Firewall Now”.
  5. Edit the IP Address, Name Server and Routing Gateway to meet with our requirement. In my case, I will install the DNS Server so my first name server will be my own IP (Zimbra IP). Goto YAST | Network Device | Network Settings and take a look at screenshot.
  6. Move to Global Options tab. Mark “Enable IPv6” unchecked if you do not use IPv6 support or vice versa, leave it checked if you wish to support IPv6
  7. Disable/Enable IPv6 Support
    Disable/Enable IPv6 Support
  8. Move to Overview. Edit and pick a static IP Address. Give a subnet mask and leave host name empty. Since openSUSE 11.x supporting a simple and longer subnet mask, you could give the subnet mask as 255.255.255.0 or just /24 instead. Off course, you should adjust the setting with your environment.
    Setting UP IP Address & Subnet mask
    Setting UP IP Address & Subnet mask
  9. Click Next and then move to Hostname & DNS tab. Setup your hostname (eg : mail), your domain, Name Server 1,2 and 3 and domain search. Please remember that I will make a local DNS Server so pick the Zimbra IP as Name server 1. I take Name server 2 and name server 3 for my ADSL modems IP (modem DNS service) and ISP/public DNS
    zimbra-opensuse112-13
    Setting Up Hostname & DNS
  10. Move to Routing tab and write your routing IP at Default IPv4 Gateway option. Keep the Default IPv6 Gateway option as empty unless you weren’t disabling IPv6 support on Global Options tab.
    Setting up routing & gateway
    Setting up routing & gateway
  11. Click OK
  12. Edit /etc/hosts file and add/change your setting as below
    zimbra-opensuse112-15
    Setting up hostname & DNS

INSTALLING ADDITIONAL PACKAGE & LIBRARY :

  1. Install the following package using YAST or zypper : fetchmail gmp libmysqlclient15 perl-Bit-Vector perl-Carp-Clan perl-Convert-UUlib perl-Data-ShowTable perl-Date-Calc perl-DBD-mysql perl-IO-Socket-SSL perl-Net-DNS
    perl-Net-IP perl-Net-SSLeay perl-Socket6 perl-Unix-Syslog perl-YAML. All package should be available on DVD installation
  2. Install the sysstat package by using openSUSE Build Service. Install it using zypper with the following command :
    [code language=’cpp’]
    zypper ar http://download.opensuse.org/repositories/server:/monitoring/openSUSE_11.1 monitoring
    zypper ref
    zypper in sysstat
    [/code]

    mail:/opt/zimbra-auto # zypper ar http://download.opensuse.org/repositories/server:/monitoring/openSUSE_11.1 monitoring
    Adding repository ‘monitoring’ [done]
    Repository ‘monitoring’ successfully added
    Enabled: Yes
    Autorefresh: No
    URI: http://download.opensuse.org/repositories/server:/monitoring/openSUSE_11.1
    mail:/opt/zimbra-auto # zypper ref
    New repository or package signing key received:
    Key ID: A5C23697EE454F98
    Key Name: server:monitoring OBS Project <server:monitoring@build.opensuse.org>
    Key Fingerprint: 8F3BC8EFF549CDCDA918D981A5C23697EE454F98
    Repository: monitoring
    Do you want to reject the key, trust temporarily, or trust always? [R/t/a/?]: a
    Retrieving repository ‘monitoring’ metadata [done]
    Building repository ‘monitoring’ cache [done]
    All repositories have been refreshed.
    mail:/opt/zimbra-auto # zypper in sysstat
    Loading repository data…
    Reading installed packages…
    Resolving package dependencies…
    The following NEW package is going to be installed:
    sysstat
    Overall download size: 206.0 K. After the operation, additional 766.0 K will be used.
    Continue? [YES/no]: yes
    Retrieving package sysstat-9.0.6-1.1.x86_64 (1/1), 206.0 K (766.0 K unpacked)
    Retrieving: sysstat-9.0.6-1.1.x86_64.rpm [done (14.2 K/s)]
    Installing: sysstat-9.0.6-1.1 [done]
    mail:/opt/zimbra-auto #

Next  tutorial : Installing Zimbra 6.0.4 on openSUSE 11.1 64 bit – Part 2, Configuring Local DNS Server

16 thoughts on “Installing Zimbra 6.0.4 on openSUSE 11.1 64 bit – Part 1

  1. Can this be installed using openSUSE 11.1 or 11.2 32bit? If so, is there any documentation on this? I would love to try this out.

Leave a Reply

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