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
<br><br>
- 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
<br> - 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.
<br> - 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
<br> - Make sure the hostname you wish to use is located in /etc/hosts file as a Fully Qualified Name (FQN).
<br> - Download the openSUSE 10.2 zimbra package and unpack using tar xzvf zimbra_package.tgz
<br> - 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
- 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.
<br> - Start the installation process for Zimbra by running the following command from the zcs folder.
Code:
./install.sh --platform-override
<br> - When the installation process stops at "This platform is UNKNOWN, Install anyway? [N]," press Y and Enter to continue.
<br> - When installation is complete, run the following command
chkconfig --del zimbra
<br> - 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
<br> - Run the following commands to get zimbra to startup correctly.
chkconfig --add zimbra ; chkconfig zimbra on
<br> - 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
<br> - 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 :-)
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