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 Search this Thread Display Modes
  #1 (permalink)  
Old 03-07-2008, 09:47 AM
Intermediate Member
 
Posts: 15
Default Installing Zimbra 5.0.2 on Debian 4.0 (etch)

Hi,

this is my documentation installing ZCS 5.0.2 on Debian 4.0 (etch). Prerequisite is a minimal Debian 4.0 installation. Do
Code:
# tasksel install standard
if you installed with debootstrap.

Install additional packages needed for zimbra
Code:
# aptitude install fetchmail libxml2 openssl sudo libgmp3c2 libltdl3 libexpat1
Deactivate default MTA exim4
Code:
myserver:~# /etc/init.d/exim4 stop
myserver:~# cp -a /etc/init.d/exim4 /etc/init.d/exim4.original
myserver:~# vi /etc/init.d/exim4
myserver:~# diff /etc/init.d/exim4.original /etc/init.d/exim4
1a2,4
> 
> exit 0
>
Download zcs-NETWORK-5.0.2_GA_1975.UBUNTU6.20080130232321.tgz and get a license ZCSLicense.xml and then install
Code:
myserver:/var/tmp# tar -xzf zcs-NETWORK-5.0.2_GA_1975.UBUNTU6.20080130232321.tgz
myserver:/var/tmp# cd zcs-NETWORK-5.0.2_GA_1975.UBUNTU6.20080130232321
myserver:/var/tmp/zcs-NETWORK-5.0.2_GA_1975.UBUNTU6.20080130232321# ./install.sh
[..]
Press Return to continue
[..]
Select the packages to install

Install zimbra-ldap [Y] 

Install zimbra-logger [Y] 

Install zimbra-mta [Y] 

Install zimbra-snmp [Y] 

Install zimbra-store [Y] 

Install zimbra-apache [Y] 

Install zimbra-spell [Y] 

Install zimbra-proxy [N] 

Install zimbra-archiving [N] 
[..]
You appear to be installing packages on a platform different
than the platform for which they were built

This platform is DEBIAN4.0
Packages found: zimbra-core_5.0.2_GA_1975.UBUNTU6_i386.deb
This may or may not work


Install anyway? [N] Y

The system will be modified.  Continue? [N] Y
[..]
Change domain name? [Yes]
Create Domain: [myserver.mydomain.com] myserver.mydomain.com
[..]
Main menu

   1) Common Configuration:                                                  
   2) zimbra-ldap:                             Enabled                       
   3) zimbra-store:                            Enabled                       
   4) zimbra-mta:                              Enabled                       
   5) zimbra-snmp:                             Enabled                       
   6) zimbra-logger:                           Enabled                       
   7) zimbra-spell:                            Enabled                       
   8) Default Class of Service Configuration:                                
   9) Enable default backup schedule:          yes                           
   r) Start servers after configuration        yes                           
   s) Save config to file                                                    
   x) Expand menu                                                            
   q) Quit                                    

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) 1


Common configuration

   1) Hostname:                                myserver.mydomain.com              
   2) Ldap master host:                        myserver.mydomain.com              
   3) Ldap port:                               389                           
   4) Ldap Admin password:                     set                           
   5) TimeZone:                                (GMT+01.00) Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna


Ldap configuration

   1) Status:                                  Enabled                       
   2) Create Domain:                           yes                           
   3) Domain to create:                        myserver.mydomain.com              
   4) Ldap Root password:                      set                           
   5) Ldap Replication password:               set                           
   6) Ldap Postfix password:                   set                           
   7) Ldap Amavis password:                    set


Store configuration

   1) Status:                                  Enabled                       
   2) Create Admin User:                       yes                           
   3) Admin user to create:                    admin@myserver.mydomain.com        
   4) Admin Password                           set                           
   5) Enable automated spam training:          yes                           
   6) Spam training user:                      spam.XXX@myserver.mydomain.com
   7) Non-spam(Ham) training user:             ham.XXX@myserver.mydomain.com 
   8) Global Documents Account:                wiki@myserver.mydomain.com         
   9) SMTP host:                               myserver.mydomain.com              
  10) Web server HTTP port:                    80                            
  11) Web server HTTPS port:                   443                           
  12) Web server mode:                         https                         
  13) IMAP server port:                        143                           
  14) IMAP server SSL port:                    993                           
  15) POP server port:                         110                           
  16) POP server SSL port:                     995                           
  17) Use spell check server:                  yes                           
  18) Spell server URL:                        http://myserver.mydomain.com:7780/aspell.php


Mta configuration

   1) Status:                                  Enabled                       
   2) MTA Auth host:                           myserver.mydomain.com              
   3) Enable Spamassassin:                     yes                           
   4) Enable Clam AV:                          yes                           
   5) Notification address for AV alerts:      admin@myserver.mydomain.com        
   6) Bind password for postfix ldap user:     set                           
   7) Bind password for amavis ldap user:      set


Snmp configuration

   1) Status:                                  Enabled                       
   2) Enable SNMP notifications:               yes                           
   3) SNMP Trap hostname:                      myserver.mydomain.com              
   4) Enable SMTP notifications:               yes                           
   5) SMTP Source email address:               admin@myserver.mydomain.com        
   6) SMTP Destination email address:          admin@myserver.mydomain.com


Default Class of Service configuration

   1) Enable Instant Messaging Feature:        Enabled                       
   2) Enable Briefcases Feature:               Enabled                       
   3) Enable Tasks Feature:                    Enabled                       
   4) Enable Notebook Feature:                 Enabled

[..]

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.4011]
The system will be modified - continue? [No] Yes
[..]
Configuration complete - press return to exit


myserver:/var/tmp/zcs-NETWORK-5.0.2_GA_1975.UBUNTU6.20080130232321# cd
myserver:~#
I've installed (configured) with https only.

Rise file upload size to 1 GB:
Code:
myserver:~# su - zimbra
zimbra@myserver:~$ zmprov mcf zimbraFileUploadMaxSize 1024000000
zimbra@myserver:~$ zmprov mcf zimbraMtaMaxMessageSize 1024000000
After the installation the admin panel is
https:// myserver.mydomain.com:7071/zimbraAdmin/
and users can log in on
https:// myserver.mydomain.com/

Last edited by mmorse; 03-07-2008 at 10:12 AM.. Reason: remove link/stuck in moderation
Reply With Quote
  #2 (permalink)  
Old 03-07-2008, 10:06 AM
Moderator
 
Posts: 6,236
Default

Welcome to the forums,
Just a note: If you're using NE you really should be using one of the supported platforms
(Side note: There is already a FOSS Debian 4 binary.)

Last edited by mmorse; 03-07-2008 at 10:13 AM..
Reply With Quote
  #3 (permalink)  
Old 03-07-2008, 11:04 AM
Intermediate Member
 
Posts: 15
Default

Hi,

Quote:
Originally Posted by mmorse View Post
Welcome to the forums,
thanks :-)

Quote:
Just a note: If you're using NE you really should be using one of the supported platforms
(Side note: There is already a FOSS Debian 4 binary.)
Yes, i want to use NE and i already thought of installing Ubuntu for this. But i read this AFTER i've installed my testserver and now my customers are already testing zimbra. Hm, how can i migrate my installation to Ubuntu? Is it sufficient to make a backup within zimbraAdmin and play this back in a fresh install?

Are there known issues with Debian 4.0 and the NE?
Reply With Quote
  #4 (permalink)  
Old 03-08-2008, 03:38 AM
Intermediate Member
 
Posts: 15
Default ... and now on Ubuntu Server 6.06 LTS

Same procedure for Ubuntu Server 6.06 LTS as for Debian 4.0 but you have to install the following packages first:
Code:
# aptitude install libidn11 fetchmail libpcre3 libgmp3c2 libexpat1 libxml2 libstdc++5 openssl libltdl3 perl5 curl
Before installing, be sure your first dns server (/etc/resolv.conf) is reachable, otherwise you will run into this: Error in installation: LDAP problems during installation

Last edited by eMHa; 03-08-2008 at 04:04 AM.. Reason: added some note
Reply With Quote
  #5 (permalink)  
Old 03-08-2008, 11:51 PM
Moderator
 
Posts: 6,236
Default

Guess you've taken care of it already, but methods to switch platforms are listed below.
NE or FOSS:
-The standard method: /blog/archives/2007/10/moving_zcs_to_another_server.html
-Fresh start and use imapsync & rest/curl to transfer data methodologies: User Migration - Zimbra :: Wiki
NE only:
-'Disaster' Recovery method

& While you're here vote for: Bug 19630 - Migration Tool zimbra to zimbra
Reply With Quote
  #6 (permalink)  
Old 03-11-2008, 06:49 AM
Intermediate Member
 
Posts: 15
Default

Hi,

Quote:
Originally Posted by mmorse View Post
Guess you've taken care of it already, but methods to switch platforms are listed below.
NE or FOSS:
-The standard method: /blog/archives/2007/10/moving_zcs_to_another_server.html
I've read this but as I have problems with Apple Clients I decided to do a fesh install.

Quote:
-Fresh start and use imapsync & rest/curl to transfer data methodologies: User Migration - Zimbra :: Wiki
NE only:
-'Disaster' Recovery method
Quote:

Well, this is an evaluation installation, not a production system.
& While you're here vote for: Bug 19630 - Migration Tool zimbra to zimbra
Sounds good. But first I have to register to the bug tracker...
Reply With Quote
  #7 (permalink)  
Old 03-19-2008, 01:25 PM
Active Member
 
Posts: 40
Default debian is a required platform

Greetings

Quote:
Originally Posted by phoenix View Post

Quote:
Originally Posted by eMHa
Are there known issues with Debian 4.0 and the NE?
We don't build for it or test it and we don't provide support for it.
Well, get a move on then chaps - debian folk are awaiting your endeavours with baited breath

I have the next h/w platform right here on my desk - and the dilemma of going with a tried, tested and stable debian but unsupported by the big Zee or playing with ubuntu.

please, please, pretty please ... can we have a debian/ZimbraNE roadmap?


Cheers
__________________
All that glitters .... oh look, a shiny thing
Reply With Quote
  #8 (permalink)  
Old 03-19-2008, 03:02 PM
Zimbra Employee
 
Posts: 572
Default

Quote:
Originally Posted by eMHa View Post
Deactivate default MTA exim4
I'd suggest using the Debian supported method:
Code:
update-rc.d -f exim4 remove
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #9 (permalink)  
Old 03-20-2008, 07:03 AM
Intermediate Member
 
Posts: 15
Default

Hi,

Quote:
Originally Posted by quanah View Post
I'd suggest using the Debian supported method:
Code:
update-rc.d -f exim4 remove
with this, after the next update of exim4 the link will be recreated! But a changed (config) file will not.

man update-rc.d
[..]
Please note that this program was designed for use in package main‐
tainer scripts and, accordingly, has only the very limited functional‐
ity required by such scripts. System administrators are not encouraged
to use update-rc.d to manage runlevels. They should edit the links
directly or use runlevel editors such as sysv-rc-conf and bum instead.
[..]
Reply With Quote
  #10 (permalink)  
Old 03-21-2008, 02:42 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

this is a stupid oddity of debian. try this:
http://translate.google.com/translate?u=http://theflow.de/archives/2003/03/03/mta-dummy&langpair=de|en&hl=en&ie=UTF-8
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.