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 (13) Thread Tools Display Modes
  #11 (permalink)  
Old 04-19-2007, 10:52 PM
New Member
 
Posts: 3
Default

Right! I'm using an AMD64 kernel... I'll try to compile everything from source. Thanks for your help.

Regards,

Philippe Lang
Reply With Quote
  #12 (permalink)  
Old 05-01-2007, 07:09 AM
Intermediate Member
 
Posts: 15
Default

cant you get around this with just installing the 32bit lib's?
Reply With Quote
  #13 (permalink)  
Old 05-01-2007, 07:22 AM
New Member
 
Posts: 3
Default

I'm not sure how to install 32bits libs under and AMD64 kernel. Is that possible maybe?
Reply With Quote
  #14 (permalink)  
Old 05-01-2007, 07:30 AM
Intermediate Member
 
Posts: 15
Default

thought there should be no issues i have ago over the weekend with Debian Etch 64bit.
Reply With Quote
  #15 (permalink)  
Old 05-01-2007, 07:47 AM
Member
 
Posts: 13
Default

Read this: http://www.debian-administration.org/articles/356

But why not just install a 32bit kernel? where's the point of letting run a server in 64bit mode when the main application is in 32bit?

Last edited by xtin : 05-01-2007 at 07:59 AM.
Reply With Quote
  #16 (permalink)  
Old 05-01-2007, 05:47 PM
Intermediate Member
 
Posts: 15
Default

there is a difference,

Vmware server has an speed increased when installed on Debian x64 compard to Debian 32bit.
Reply With Quote
  #17 (permalink)  
Old 05-31-2007, 08:30 AM
Junior Member
 
Posts: 5
Default

This method also works for Ubuntu 7.04. Uninstall seems to work properly too. I installed and uninstalled about 10 times last night after making a few mistakes and realizing how in depth it affects the server (had mysql, apache and a few other services already running).
Reply With Quote
  #18 (permalink)  
Old 07-30-2007, 04:51 AM
OpenSource Builder & Moderator
 
Posts: 1,158
Default

Here's a way to do 64bit without chroot:

HOWTO: Ubuntu 64bit Install
Reply With Quote
  #19 (permalink)  
Old 08-15-2007, 04:18 AM
Member
 
Posts: 13
Default

Hi,

I'd like to thank those who put together the initial HOW-TO for Debian Etch, it was very useful.

I am now running Zimbra 4.5.6 OpenSource Edition on Debian Etch (stable), everyone (all 11 of us) at my company is very happy with the new mail server :-)

We netboot install our servers automatically from a local mirror of the Debian Etch 4.0 Network Install CD with a post install script which configures each server for its assigned role. I found that I needed some extra packages to satisfy completely Zimbra when installing from the Debian Etch 4.0 Network Install CD, below is the basic ZImbra install script and some notes, most of which have been collected from posts elsewhere on these forums or the wiki.

The Script

The following packages were required to keep Amavis happy.
  • file arc arj bzip2 cabextract devscripts lha lzop unrar rpm tnef zoo

The following packages were required to keep Spam Training happy. See /opt/zimbra/log/spamtrain.log for finding errors.
  • libdigest-sha1-perl libhtml-parser-perl

Any other packages installed are required to satisfy the Zimbra installer or provide essential system tools.

Code:
#!/bin/sh

# Install pre-requistes
apt-get -y --force-yes install file arc arj bzip2 cabextract devscripts lha lzop perl unrar rpm tnef zoo libdigest-sha1-perl libhtml-parser-perl
apt-get -y --force-yes install sudo curl fetchmail libgmp3c2 libssl0.9.7 libdb3 libxml2 libpcre3 libexpat1 libstdc++5
cd /root

# Download Zimbra
wget -c http://kent.dl.sourceforge.net/sourceforge/zimbra/zcs-4.5.6_GA_1044.DEBIAN3.1.tgz -O /mnt/scripts/00packages/zcs-4.5.6_GA_1044.DEBIAN3.1.tgz
tar zxvf /mnt/scripts/00packages/zcs-4.5.6_GA_1044.DEBIAN3.1.tgz
cd zcs

# Make Etch appear to be Sarge
echo '3.1' > /etc/debian_version

# Backup files we are going to patch
cp util/utilfunc.sh util/utilfunc.sh.org

# Patch Zimbra installer
echo Patching util/utilfunc.sh
sed 's/PLATFORM = "UBUNTU6" ]/PLATFORM = "UBUNTU6" -o $PLATFORM = "DEBIAN3.1" ]/' util/utilfunc.sh > /tmp/utilfunc.sh ; mv /tmp/utilfunc.sh util/utilfunc.sh

# Install
./install.sh

# Restore the Etch version
echo '4.0' > /etc/debian_version
Post Install Hacks

These a not essential fixes, they just ensure the some of the scripts return values that are accurate.

get_plat_tag.sh

This fix just ensures that Debian 3.1 is returned as the detected OS, even though we actually are running on Debian 4.0. We are running Debian 3.1 Zimbra packages so this just keeps things consistent.

Code:
vi /opt/zimbra/libexec/get_plat_tag.sh
Find...

Code:
if [ -f /etc/debian_version ]; then
       grep "3.1" /etc/debian_version > /dev/null 2>&1
       if [ $? = 0 ]; then
               echo "DEBIAN3.1"
               exit 0
       fi
fi
...and add the following afterward...

Code:
if [ -f /etc/debian_version ]; then
       grep "4.0" /etc/debian_version > /dev/null 2>&1
       if [ $? = 0 ]; then
               echo "DEBIAN3.1"
               exit 0
       fi
fi
zmdumpenv

zmdumpenv produces a report system report for Zimbra server, currently it handles package detection for MacOSX and then falls back to rpm (Redhat). To fix it for dpkg (Debian) do the following...

Code:
vi /opt/zimbra/bin/zmdumpenv
Find...

Code:
if [ x$P = "xMACOSX" -o "x$P" = "xMACOSXx86" ]; then
       ls -ld /Library/Receipts/zimbra-*
else
       rpm -qi zimbra-core
fi
...and replace it with..

Code:
if [ x$P = "xMACOSX" -o "x$P" = "xMACOSXx86" ]; then
       ls -ld /Library/Receipts/zimbra-*
elif [ "x$P" = "xUBUNTU6" -o "x$P" = "xDEBIAN3.1" ]; then
       dpkg -s zimbra-core
else
       rpm -qi zimbra-core
fi
Thanks to everyone who has contributed tips and tricks for running Zimbra on Debian Etch 4.0. I hope the above is also useful to someone and that we see an official Zimbra release for Debian Etch 4.0 sometime soon ;-)
Reply With Quote
  #20 (permalink)  
Old 08-15-2007, 04:26 AM
Zimbra Consultant & Moderator
 
Posts: 11,508
Default

Quote:
Originally Posted by fdsadmin View Post
Thanks to everyone who has contributed tips and tricks for running Zimbra on Debian Etch 4.0. I hope the above is also useful to someone and that we see an official Zimbra release for Debian Etch 4.0 sometime soon ;-)
It's planned for Release 5, bug 15984.
__________________
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