Results 1 to 10 of 28

Thread: Installing ZCS 5.0.x on openSUSE 10.3 a complete guide

Threaded View

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

    Thumbs up Installing ZCS 5.0.x on openSUSE 10.3 a complete guide

    Below is version 4 at combining bits I have gathered throughout the forums into a compact step-by-step guide for installing Zimbra 5.0.4 or later onto openSUSE 10.3.

    THESE INSTRUCTIONS WILL NOT WORK FOR VERSIONS EARLIER THAN ZCS 5.0.4.
    If you are installing Zimbra 4.5.x on openSUSE 10.2 or 10.3 then click here

    This guide has had only limited testing (using ZCS 5.0.4 and 5.0.5) so please reply to this thread if you see any issues or mistakes.

    v2 - added advice about AppArmor and Firewall in step 8.
    v3 - add --platform-override to running install script.
    v4 - subtract and add steps to bring into line with 5.0.4 and later.

    Cheers
    bigmudcake




    1. Make sure the following packages are installed including associated dependencies otherwise the install will probably fail.
      (Note: no need to install compat-openssl097g)
      fetchmail, cURL, libidn, GMP, sudo, compat-libstdc++, libopenssl0_9_8

      ITS REALLY IMPORTANT ALL PACKAGES MENTIONED ARE INSTALLED

    2. 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 AppArmor, Apache, MySQL, OpenLDAP, Amavis, Spamassassin, but make sure Postfix is installed.

    3. 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.
      Refer to this zimbra blog for help or other references on the web on how to setup a proper DNS server under openSUSE 10.3

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

    5. Download the openSUSE 10.2 zimbra package and unpack using tar xzvf zimbra_package.tgz

    6. 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:
      # Zimbra logger  
      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
    7. Turn off any conflicting services you may be running.
      i.e. for Postfix use the following commands:
      service postfix stop
      chkconfig postfix off
      It is recommended you turn off AppArmor and Firewall unless your a Linux expert.

    8. Start the installation process for Zimbra by running the following command from the zcs folder.
      Code:
      ./install.sh --platform-override
    9. When the installation process stops at "This platform is UNKNOWN, Install anyway? [N]," press Y and Enter to continue.

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

    11. 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
    12. Run the following commands to get zimbra to startup correctly.
      chkconfig --add zimbra ; chkconfig zimbra on

    13. Edit the file /etc/logrotate.d/zimbra and find the line in the file as:
      Code:
      killall -HUP syslogd 2> /dev/null || true
      modify the line to:
      Code:
      killall -HUP syslog-ng 2> /dev/null || true
    14. Run the following commands to restart the zimbra server so post-installation changes can take effect.
      su - zimbra
      zmcontrol stop
      zmcontrol start
      exit


    All should be complete and operational :-)
    Last edited by bigmudcake; 04-23-2008 at 11:50 PM. Reason: v4 - subtract and add steps to bring into line with 5.0.4 and later

Similar Threads

  1. Replies: 11
    Last Post: 10-26-2010, 05:42 AM
  2. Trouble Sending mail - All Messages deferred!
    By SiteDiscovery in forum Administrators
    Replies: 7
    Last Post: 09-03-2009, 05:52 AM
  3. Replies: 34
    Last Post: 12-05-2007, 11:29 PM
  4. Replies: 41
    Last Post: 10-29-2007, 03:36 PM
  5. ZCS 3.2 Beta Available
    By KevinH in forum Announcements
    Replies: 31
    Last Post: 07-07-2006, 04:46 PM

Posting Permissions

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