jueves, 25 de febrero de 2010

Instalación Zimbra 6 en Debian Lenny

Instalación Zimbra 6 en Debian Lenny


Sistema Operativo: Debian Lenny

Zimbra: 6.03

1 - Configuración del Servidor


root@zimbra6:/# vim /etc/hosts

127.0.0.1       localhost

10.10.200.13    zimbra6.mi.dominio  zimbra6

root@zimbra6:/# vim /etc/resolv.conf

nameserver 10.10.10.4 //(ip de los dns interno)

nameserver 10.10.10.6 //(ip de los dns interno)

root@zimbra6:/# echo zimbra6.mi.dominio > /etc/hostname

Aca reinicio el servidor

Con hostname -f veo si quedo bien el nombre

root@uzimbra:~# hostname -f

zimbra6.mi.dominio

2 - Prerrequisitos


apt-get remove --purge exim4 exim4-base exim4-config exim4-daemon-light

apt-get install libc6-i686 sudo libidn11 curl fetchmail libgmp3c2 libexpat1 libgetopt-mixed-perl libxml2 libstdc++6 libpcre3 libltdl3 ssh

3 - Instalación


zimbra6:/usr/src# http://h.yimg.com/lo/downloads/6.0.1_GA/zcs-6.0.1_GA_1816.DEBIAN5_64.20090911184141.tgz

zimbra6:/usr/src# tar -zxvf zcs-6.0.0_GA_1802.DEBIAN5_64.20090830145517.tgz

~# cd /usr/src/zcs-6.0.0_GA_1802.DEBIAN5_64.20090830145517/

~# /usr/src/zcs-6.0.0_GA_1802.DEBIAN5_64.20090830145517/install.sh

Cuando se quiere instalar zimbra da el siguiente error,

Press Return to continue

Checking for prerequisites...

FOUND: NPTL

FOUND: sudo-1.6.9p17-2

FOUND: libidn11-1.8+20080606-1

MISSING: libgmp3

FOUND: libstdc++6-4.3.2-1.1

Checking for suggested prerequisites...

Pero tiene instalado el libgmp3

Para resolverlo, cambiar la version de 5.0.3 a 5.0.2 en el archivo /etc/debian_version

~# vim /etc/debian_version

5.0.2

Instalación


zimbra6:/usr/src/zcs-6.0.3_GA_1915.DEBIAN5_64.20091118114225# ./install.sh

Operations logged to /tmp/install.log.5437

Checking for existing installation...

zimbra-ldap...NOT FOUND

zimbra-logger...NOT FOUND

zimbra-mta...NOT FOUND

zimbra-snmp...NOT FOUND

zimbra-store...NOT FOUND

zimbra-apache...NOT FOUND

zimbra-spell...NOT FOUND

zimbra-convertd...NOT FOUND

zimbra-memcached...NOT FOUND

zimbra-proxy...NOT FOUND

zimbra-archiving...NOT FOUND

zimbra-cluster...NOT FOUND

zimbra-core...NOT FOUND

PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.

ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU

FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING

THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY

THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS

AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for the Zimbra Collaboration Suite:

http://www.zimbra.com/license/zimbra_public_eula_2.1.html

Press Return to continue

Checking for prerequisites...

FOUND: NPTL

FOUND: sudo-1.6.9p17-2

FOUND: libidn11-1.8+20080606-1

FOUND: libpcre3-7.6-2.1

FOUND: libgmp3c2-2:4.2.2+dfsg-3

FOUND: libexpat1-2.0.1-4+lenny1

FOUND: libstdc++6-4.3.2-1.1

FOUND: libstdc++5-1:3.3.6-18

FOUND: libperl5.10-5.10.0-19lenny2

Checking for suggested prerequisites...

FOUND: perl-5.10.0

FOUND: sysstat

Prerequisite check complete.

Checking for installable packages

Found zimbra-core

Found zimbra-ldap

Found zimbra-logger

Found zimbra-mta

Found zimbra-snmp

Found zimbra-store

Found zimbra-apache

Found zimbra-spell

Found zimbra-memcached

Found zimbra-proxy

Select the packages to install

Install zimbra-ldap [Y] 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-memcached [N]

Install zimbra-proxy [N]

Checking required space for zimbra-core

checking space for zimbra-store

Installing:

zimbra-core

zimbra-ldap

zimbra-logger

zimbra-mta

zimbra-snmp

zimbra-store

zimbra-apache

zimbra-spell

The system will be modified.  Continue? [N] y

Removing /opt/zimbra

Removing zimbra crontab entry...done.

Cleaning up zimbra init scripts...done.

Cleaning up /etc/ld.so.conf...done.

Cleaning up /etc/security/limits.conf...done.

Finished removing Zimbra Collaboration Suite.

Installing packages

zimbra-core......zimbra-core_6.0.3_GA_1915.DEBIAN5_64_amd64.deb...done

zimbra-ldap......zimbra-ldap_6.0.3_GA_1915.DEBIAN5_64_amd64.deb...done

zimbra-logger......zimbra-logger_6.0.3_GA_1915.DEBIAN5_64_amd64.deb...done

zimbra-mta......zimbra-mta_6.0.3_GA_1915.DEBIAN5_64_amd64.deb...done

zimbra-snmp......zimbra-snmp_6.0.3_GA_1915.DEBIAN5_64_amd64.deb...done

zimbra-store......zimbra-store_6.0.3_GA_1915.DEBIAN5_64_amd64.deb...done

zimbra-apache......zimbra-apache_6.0.3_GA_1915.DEBIAN5_64_amd64.deb...done

zimbra-spell......zimbra-spell_6.0.3_GA_1915.DEBIAN5_64_amd64.deb...done

Operations logged to /tmp/zmsetup.11242009-193550.log

Installing LDAP configuration database...done.

Setting defaults...

DNS ERROR resolving MX for zimbra6.mi.dominio

It is suggested that the domain name have an MX record configured in DNS

Change domain name? [Yes] yes

Create domain: [zimbra6.mi.dominio] mi.dominio.com

DNS ERROR resolving MX for mi.dominio.com

It is suggested that the domain name have an MX record configured in DNS

Re-Enter domain name? [Yes] n

done.

Checking for port conflicts

Main menu

1) Common Configuration:

2) zimbra-ldap:                             Enabled

3) zimbra-store:                            Enabled

+Create Admin User:                    yes

+Admin user to create:                 admin@mi.dominio.com

******* +Admin Password                        UNSET

+Enable automated spam training:       yes

+Spam training user:                   spam.fig77lxqx@mi.dominio.com

+Non-spam(Ham) training user:          ham.sb8zipfq@mi.dominio.com

+Global Documents Account:             wiki@mi.dominio.com

+SMTP host:                            zimbra6.mi.dominio

+Web server HTTP port:                 80

+Web server HTTPS port:                443

+Web server mode:                      http

+IMAP server port:                     143

+IMAP server SSL port:                 993

+POP server port:                      110

+POP server SSL port:                  995

+Use spell check server:               yes

+Spell server URL:                     http://zimbra6.mi.dominio:7780/aspell.php

+Configure for use with mail proxy:    FALSE

+Configure for use with web proxy:     FALSE

+Enable version update checks:         TRUE

+Enable version update notifications:  TRUE

+Version update notification email:    admin@mi.dominio.com

+Version update source email:          admin@mi.dominio.com

4) zimbra-mta:                              Enabled

5) zimbra-snmp:                             Enabled

6) zimbra-logger:                           Enabled

7) zimbra-spell:                            Enabled

8 ) Default Class of Service Configuration:

r) Start servers after configuration        yes

s) Save config to file

x) Expand menu

q) Quit

Address unconfigured (**) items  (? - help) 3

Store configuration

1) Status:                                  Enabled

2) Create Admin User:                       yes

3) Admin user to create:                    admin@mi.dominio.com

** 4) Admin Password                           UNSET

5) Enable automated spam training:          yes

6) Spam training user:                      spam.fig77lxqx@mi.dominio.com

7) Non-spam(Ham) training user:             ham.sb8zipfq@mi.dominio.com

8) Global Documents Account:                wiki@mi.dominio.com

9) SMTP host:                               zimbra6.mi.dominio

10) Web server HTTP port:                    80

11) Web server HTTPS port:                   443

12) Web server mode:                         http

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://zimbra6.mi.dominio:7780/aspell.php

19) Configure for use with mail proxy:       FALSE

20) Configure for use with web proxy:        FALSE

21) Enable version update checks:            TRUE

22) Enable version update notifications:     TRUE

23) Version update notification email:       admin@mi.dominio.com

24) Version update source email:             admin@mi.dominio.com

Select, or 'r' for previous menu [r] 4

Password for admin@mi.dominio.com (min 6 characters): [rPjFnKgGOq]

Store configuration

1) Status:                                  Enabled

2) Create Admin User:                       yes

3) Admin user to create:                    admin@mi.dominio.com

4) Admin Password                           set

5) Enable automated spam training:          yes

6) Spam training user:                      spam.fig77lxqx@mi.dominio.com

7) Non-spam(Ham) training user:             ham.sb8zipfq@mi.dominio.com

8 ) Global Documents Account:                wiki@mi.dominio.com

9) SMTP host:                               zimbra6.mi.dominio

10) Web server HTTP port:                    80

11) Web server HTTPS port:                   443

12) Web server mode:                         http

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://zimbra6.mi.dominio:7780/aspell.php

19) Configure for use with mail proxy:       FALSE

20) Configure for use with web proxy:        FALSE

21) Enable version update checks:            TRUE

22) Enable version update notifications:     TRUE

23) Version update notification email:       admin@mi.dominio.com

24) Version update source email:             admin@mi.dominio.com

Select, or 'r' for previous menu [r] r

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:

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) a

Save configuration data to a file? [Yes]

Save config in file: [/opt/zimbra/config.11347]

Saving config in /opt/zimbra/config.11347...done.

The system will be modified - continue? [No] yes

Operations logged to /tmp/zmsetup.11242009-193550.log

Setting local config values...done.

Setting up CA...done.

Deploying CA to /opt/zimbra/conf/ca ...done.

Creating SSL certificate...done.

Installing mailboxd SSL certificates...done.

Initializing ldap...done.

Setting replication password...done.

Setting Postfix password...done.

Setting amavis password...done.

Setting nginx password...done.

Creating server entry for zimbra6.mi.dominio...done.

Saving CA in ldap ...done.

Saving SSL Certificate in ldap ...done.

Setting spell check URL...done.

Setting service ports on zimbra6.mi.dominio...done.

Adding zimbra6.mi.dominio to zimbraMailHostPool in default COS...done.

Installing webclient skins...

yahoo...done.

sky...done.

bones...done.

lemongrass...done.

hotrod...done.

goldrush...done.

steel...done.

beach...done.

lavender...done.

zmail...done.

bare...done.

sand...done.

waves...done.

Finished installing webclient skins.

Setting zimbraFeatureIMEnabled=FALSE...done.

Setting zimbraFeatureTasksEnabled=TRUE...done.

Setting zimbraFeatureBriefcasesEnabled=TRUE...done.

Setting zimbraFeatureNotebookEnabled=TRUE...done.

Setting MTA auth host...done.

Setting TimeZone Preference...done.

Initializing mta config...done.

Setting services on zimbra6.mi.dominio...done.

Creating domain mi.dominio.com...done.

Setting default domain name...done.

Creating domain mi.dominio.com...done.

Setting default domain name...done.

Creating domain mi.dominio.com...already exists.

Creating admin account admin@mi.dominio.com...done.

Creating root alias...done.

Creating postmaster alias...done.

Creating user wiki@mi.dominio.com...done.

Creating user spam.fig77lxqx@mi.dominio.com...done.

Creating user ham.sb8zipfq@mi.dominio.com...done.

Setting spam training accounts...done.

Initializing store sql database...done.

Setting zimbraSmtpHostname for zimbra6.mi.dominio...done.

Configuring SNMP...done.

Checking for default IM conference room...not present.

Initializing default IM conference room...done.

Setting up syslog.conf...updateSyslog: Updating /etc/rsyslog.conf....done.

done.

You have the option of notifying Zimbra of your installation.

This helps us to track the uptake of the Zimbra Collaboration Suite.

The only information that will be transmitted is:

The VERSION of zcs installed (6.0.3_GA_1915_DEBIAN5_64)

The ADMIN EMAIL ADDRESS created (admin@mi.dominio.com)

Notify Zimbra of your installation? [Yes]

Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=6.0.3_GA_1915_DEBIAN5_64&MAIL=admin@mi.dominio.com

Notification complete

Starting servers...done.

Installing common zimlets...

com_zimbra_ymemoticons...done.

com_zimbra_url...done.

com_zimbra_local...done.

com_zimbra_email...

Ya tenemos instalado el servidor de zimbra para acceder a la administración lo hacemos mediante  https://ip_servidor:7071

1 comentario:

  1. [...] http://lalegiondeyoda.wordpress.com/2010/02/25/instalacion-zimbra-6-en-debian-lenny/ [...]

    ResponderEliminar