Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-20-2008, 01:37 AM
Senior Member
 
Posts: 60
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
Reply With Quote
  #2 (permalink)  
Old 03-20-2008, 01:48 AM
Zimbra Consultant
 
Posts: 5,784
Default

As always thanks - sticked this one as well
__________________
-Mike Morse (MCode151)

ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com
Reply With Quote
  #3 (permalink)  
Old 03-21-2008, 05:05 AM
Starter Member
 
Posts: 1
Thumbs up

thx 4 your post!

very helpfull

thx again^^
Reply With Quote
  #4 (permalink)  
Old 03-31-2008, 02:03 AM
Moderator
 
Posts: 595
Default

Thanks for the nice instructions...they are much more coherent than the text file I had cobbled together of how to get Zimbra working on 10, 10.1, 10.2, and now 10.3 versions of openSUSE.
Reply With Quote
  #5 (permalink)  
Old 04-01-2008, 01:52 AM
Intermediate Member
 
Posts: 16
Thumbs up Zcs 5.0.4 on OpenSUSE 10.3

I've successfully installing Zcs 5.0.4 on OpenSUSE 10.3 without any problem.

I don't know it's important or not, but I still run this command :
Code:
ln -s /usr/lib/libcurl.so.4.0.0 /usr/lib/libcurl.so.3
to update libcurl.

And another note : command to install :

Code:
./install.sh --platform-override
because Zcs designed for OpenSUSE 10.2, not 10.3 .

After reviewing so many deployment and installation in various place, I think this is short list of main problem that frequently appeared while installing Zimbra on OpenSUSE :

1. Minimum specification for Zimbra Deployment
2. Misconfigured DNS setting
3. Firewall and AppArmor Issue
__________________
Best Regards
----------------------------------
Masim "Vavai" Sugianto
Vavai Personal Blog
Vavai & OpenSUSE
Reply With Quote
  #6 (permalink)  
Old 04-23-2008, 06:09 PM
Senior Member
 
Posts: 60
Default

Quote:
Originally Posted by vavai View Post
I've successfully installing Zcs 5.0.4 on OpenSUSE 10.3 without any problem.

I don't know it's important or not, but I still run this command :
Code:
ln -s /usr/lib/libcurl.so.4.0.0 /usr/lib/libcurl.so.3
to update libcurl.
During my testing I found this is not necessary, and I would probably avoid doing this to prevent version issues on the shared libraries.

Quote:
Originally Posted by vavai View Post
And another note : command to install :

Code:
./install.sh --platform-override
because Zcs designed for OpenSUSE 10.2, not 10.3 .
using "--platform-override" was not needed when installing ZCS 5.0.2, but I have since found after installing version 5.0.5 that it is essential otherwise the install script will not continue.

I have updated the instructions accordingly. I am supprised the Zimbra team made a change like this without it being documented in the release notes. Unless I missed it

Quote:
Originally Posted by vavai View Post
After reviewing so many deployment and installation in various place, I think this is short list of main problem that frequently appeared while installing Zimbra on OpenSUSE :

1. Minimum specification for Zimbra Deployment
2. Misconfigured DNS setting
3. Firewall and AppArmor Issue
I agree that they are always the major issues.

Thanks for your feedback, and it has greatly helped me add to the instructions.
__________________
Cheers
Bigmudcake

I am running:
Zimbra 5.0.7 Open Source Edition on openSUSE 10.2
Zimbra 5.0.7 Open Source Edition on openSUSE 10.3 inside VirtualBox
Zimbra 5.0.7 Open Source Edition on Ubuntu Server 8.04 LTS inside VirtualBox 1.6.2
Currently testing 5.0.8 on openSUSE 11
Reply With Quote
  #7 (permalink)  
Old 06-24-2008, 02:48 AM
Starter Member
 
Posts: 1
Default

Hi there, does ZCS can be installed into openSUSE x64 system?
Reply With Quote
  #8 (permalink)  
Old 06-24-2008, 04:50 AM
Zimbra Consultant & Moderator
 
Posts: 11,327
Default

Quote:
Originally Posted by d4v1dv00 View Post
Hi there, does ZCS can be installed into openSUSE x64 system?
Probably not and we don't provide a build for it. If you specifically want a 64bit build the use one of the supported Zimbra builds.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 07-01-2008, 12:04 PM
Member
 
Posts: 12
Question Zimbra Installation OpenSuse 10.2

Hello!

We are beginning to do some testing using the Zimbra Open Source e-mail solution. I have followed the guide and loaded the software on a 32-bit version of OpenSuse 10.2. I can access the web interface, admin panel, etc. but I cannot send/receive mail. It appears that it has something to do w/ mta. When I run a zimbra status this is what I receive:

antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Stopped
postfix is not running
saslauthd is running with pid 17674
snmp Running
spell Running
stats Running

When I do a chkconfig it shows that postfix is definitely running.

The only thing I can think of is that I have not yet setup an MX record in my DNS server. Would this cause the MTA to fail?

Any help would be greatly appreciated. -John
Reply With Quote
  #10 (permalink)  
Old 07-01-2008, 12:09 PM
Zimbra Consultant & Moderator
 
Posts: 11,327
Default

Quote:
Originally Posted by johnleboeuf3 View Post
The only thing I can think of is that I have not yet setup an MX record in my DNS server. Would this cause the MTA to fail?
Yes, it would. You need valid DNS A & MX records for your zimbra server and a correct hosts file.
__________________
Regards


Bill
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0