Results 11 to 20 of 35

Thread: Installing ZCS 4.5.x on either openSUSE 10.2 or 10.3 a complete guide

Threaded View

  1. #1
    Join Date
    Sep 2006
    Location
    Lismore NSW, Australia
    Posts
    60
    Rep Power
    0

    Post Installing ZCS 4.5.x on either openSUSE 10.2 or 10.3 a complete guide

    Below is version 9 at combining bits I have gathered throughout the forums into a compact step-by-step guide to installing Zimbra 4.5.7 or later onto either openSUSE 10.2 or openSUSE 10.3.

    THESE INSTRUCTIONS ARE FOR THE Zimbra 4.5.x series (tested using Zimbra 4.5.7), not the newer Zimbra 5.0 or later
    If you are installing Zimbra 5.0.x on openSUSE 10.3 then click here for the Zimbra 5.0.x install guide

    v2 - You no longer need to edit Edit the file get_plat_tag.sh in Zimbra 4.5.3 or later for openSUSE 10.2
    v3 - Added need to restart syslog daemon and Zimbra server after installation for changes to take effect.
    v4 - Add extra step remove packages that are not needed or might conflict.
    v5 - Added extra step to fix files that incorrectly contain "killall -HUP syslogd".
    v6 - Added openSUSE 10.3 and clean up some unnecessary openSUSE 10.2 instructions.
    v7 - add step for needed symlink for libcurl in openSUSE 10.3
    v8 - make step 9 (edit the file /etc/syslog-ng/syslog-ng.conf) applicable to all users.
    v9 - add link to new Zimbra 5.0.x install guide above

    Cheers
    bigmudcake




    1. Make sure the following packages are installed including associated dependencies.
      fetchmail, cURL, libidn, GMP, compat-libstdc++, cron, sudo, compat-openssl097g

    2. Make sure package compat-expat1 is installed if using openSUSE 10.2 or libexpat0 for openSUSE 10.3


      ITS REALLY IMPORTANT ALL PACKAGES MENTIONED ARE INSTALLED

    3. Remove any packages you do not need to run on your server, this makes your server simpler,
      faster and less likely to conflict with Zimbra. Unless your a Linux Expert, remove
      Apache,MySQL,OpenLDAP,Amavis,Spamassassin, but make sure Postfix is installed.

    4. Make sure your DNS server is setup correctly with the hostname having A and MX records.
      Also check the /etc/resolv.conf, /etc/host.conf, and /etc/nsswitch.conf files
      to make sure your DNS server is being accessed correctly.

    5. Make sure the hostname you wish to use is located in /etc/hosts file as a Fully Qualified Name (FQN).

    6. Download the SUSE10 zimbra package and unpack using tar xzvf zimbra_package.tgz

    7. If your running openSUSE 10.3 (not 10.2) perform the following command:
      ln -s /usr/lib/libcurl.so.4.0.0 /usr/lib/libcurl.so.3

    8. If your running openSUSE 10.3 (not 10.2) - Edit the file get_plat_tag.sh located in the bin folder
      of the unpacked zcs zimbra folder, search for the following lines:
      Code:
      grep "openSUSE 10.2" /etc/SuSE-release > /dev/null 2>&1
      	if [ $? = 0 ]; then
      		echo "openSUSE_10.2"
      		exit 0
      	fi
      and modify the first line only to now have the lines as:
      Code:
      grep "openSUSE 10.3" /etc/SuSE-release > /dev/null 2>&1
      	if [ $? = 0 ]; then
      		echo "openSUSE_10.2"
      		exit 0
      	fi
    9. Edit the file /etc/syslog-ng/syslog-ng.conf and add the following lines
      to the end of the file - if they don't already exist :
      Code:
      filter f_local0       { facility(local0); }; # zimbra
      destination zmail { file("/var/log/zimbra.log" owner("zimbra") ); }; # zimbra
      log { source(src); filter(f_mail); destination(zmail); }; # zimbra
      destination local0 { file("/var/log/zimbra.log" owner("zimbra") ); }; # zimbra
      log { source(src); filter(f_local0); destination(local0); }; # zimbra
      filter f_auth       { facility(auth); }; # zimbra
      destination zmauth { file("/var/log/zimbra.log" owner("zimbra") ); }; # zimbra
      log { source(src); filter(f_auth); destination(zmauth); }; # zimbra
    10. Turn off any conflicting services you may be running.
      i.e. for Postfix use the following commands:
      service postfix stop
      chkconfig postfix off

    11. Install Zimbra following the normal installation instructions. (hint: execute ./install.sh from the zcs folder).

      If your running openSUSE 10.2 (not 10.3) and the installation process reaches the configuration
      “main menu” you will need to login into your SUSE server with a new seperate shell window and
      perform the following command:
      chmod 640 /etc/sudoers

      You can then logout of the new shell window and return to the installation and continue on.

    12. When installation is complete, run the following command
      chkconfig --del zimbra

    13. Edit the file /etc/init.d/zimbra and add the following lines below the existing comments at the top of the file.
      Code:
      ### BEGIN INIT INFO
      # Provides: zimbra
      # Required-Start: $network $syslog
      # Required-Stop:
      # Default-Start: 3 5
      # Default-Stop: 0 1 2 6
      # Description: Zimbra mail service
      ### END INIT INFO
    14. Replace all instances of "killall -HUP syslogd" with "/sbin/rcsyslog restart" in the files
      /opt/zimbra/bin/zmsyslogsetup
      /opt/zimbra/conf/zmlogrotate


    15. Restart the syslog daemon by executing (as root)
      /sbin/rcsyslog restart

    16. Run the following commands to get zimbra to startup correctly.
      chkconfig --add zimbra ; chkconfig zimbra on

    17. Run the following commands to restart the zimbra server so post-installation changes can take effect.
      su - zimbra
      /opt/zimbra/bin/zmcontrol stop
      /opt/zimbra/bin/zmcontrol start
      exit


    All should be complete and operational :-)
    Last edited by bigmudcake; 03-20-2008 at 02:08 AM. Reason: add link to new Zimbra 5.0.x install guide

Similar Threads

  1. Installing ZCS 5.0.x on openSUSE 10.3 a complete guide
    By bigmudcake in forum Installation
    Replies: 27
    Last Post: 09-20-2011, 04:44 PM
  2. Replies: 11
    Last Post: 10-26-2010, 05:42 AM
  3. Trouble Sending mail - All Messages deferred!
    By SiteDiscovery in forum Administrators
    Replies: 7
    Last Post: 09-03-2009, 05:52 AM
  4. Moving ZCS from Opensuse 10.2 to Ubuntu 6.06
    By Chombly in forum Migration
    Replies: 2
    Last Post: 03-06-2008, 11:50 AM
  5. ZCS Network Edition 4.5.x in SUSE ES 10.3
    By crowley in forum Installation
    Replies: 1
    Last Post: 10-26-2007, 10:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •