Sei sulla pagina 1di 12
Zimbra Collaboration Suite

Zimbra Collaboration Suite

Zimbra Collaboration Suite

INSTALACION DE ZIMBRA COLABORATION SUITE 8

I. CONSIDERACIONES PREVIAS:

Para instalar ZCS Community Edition se debe tener en consideración lo siguiente:

1. Configurar el nombre del host con mail.cibertec.pe

# vim /etc/sysconfig/network

HOSTNAME=mail.cibertec.pe

2. Configurar la IP y el FQDN en el archivo hosts

# vim /etc/hosts

192.168.1.5

mail.cibertec.pe

mail

3. Verificar la resolución DNS con dig. Probar la resolución directa e inversa del dominio.

# dig cibertec.pe

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.5 <<>> cibertec.pe ;; global options: +cmd ;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63731 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:

;cibertec.pe.

IN

A

;; ANSWER SECTION:

cibertec.pe. 86400 IN A 192.168.1.5

;; AUTHORITY SECTION:

cibertec.pe. 86400 IN NS mail.cibertec.pe.

;; ADDITIONAL SECTION:

mail.cibertec.pe. 86400 IN A 192.168.1.5

;; Query time: 8 msec ;; SERVER: 192.168.1.5#53 ;; WHEN: Sun Jul 6 14:46:52 2014 ;; MSG SIZE rcvd: 82

Ing. Rubén Cueva Zúñiga

LPIC-1-Novell Linux Administrator

Zimbra Collaboration Suite

Zimbra Collaboration Suite

Zimbra Collaboration Suite

# dig x 192.168.1.5

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.5 <<>> -x 192.168.1.5 ;; global options: +cmd ;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 437 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:

;5.1.168.192.in-addr.arpa. IN PTR

;; ANSWER SECTION:

5.1.168.192.in-addr.arpa. 86400 IN

PTR

mail.cibertec.pe.

5.1.168.192.in-addr.arpa. 86400 IN

PTR

www.cibertec.pe.

;; AUTHORITY SECTION:

1.168.192.in-addr.arpa. 86400 IN NS mail.cibertec.pe.

;; ADDITIONAL SECTION:

mail.cibertec.pe. 86400 IN A 192.168.1.5

;; Query time: 0 msec ;; SERVER: 192.168.1.5#53 ;; WHEN: Sun Jul 6 15:37:44 2014 ;; MSG SIZE rcvd: 121

4. Descargar la última versión de Zimbra Open Source desde www.zimbra.com:

última versión de Zimbra Open Source desde www.zimbra.com: Ing. Rubén Cueva Zúñiga LPIC-1-Novell Linux Administrator

Ing. Rubén Cueva Zúñiga

LPIC-1-Novell Linux Administrator

Zimbra Collaboration Suite

Zimbra Collaboration Suite

Zimbra Collaboration Suite

5. También puede descargar el instalador utilizando la línea de comandos de la siguiente manera:

# wget http://files2.zimbra.com/downloads/8.0.7_GA/zcs-8.0.7_ GA_6021. RHEL6_64.

20140408123911.tgz

II. COMPONENTES DE ZIMBRA COLABORATION SUITE

Zimbra Core, instala las bibliotecas, los servicios y herramientas de supervisión.

Zimbra LDAP, instala el software OpenLDAP, que proporciona los servicios de directorio LDAP.

Zimbra MTA, instala el MTA Postfix, el antivirus Clamav, el filtro de SPAM SpamAssassin, y el filtro de contenido Amavisd.

Zimbra Store, instala el servidor de buzones de correo y el webmail, incluyendo Jetty, el contenedor de servlets para el servidor Zimbra.

Zimbra Spell instala el servidor de corrector ortográfico Aspell.

Zimbra Apache, se instala automáticamente cuando Zimbra Spell está instalado.

Zimbra SNMP instala el paquete de SNMP para el monitoreo. Este paquete es opcional.

Zimbra Logger instala herramientas de agregación y presentación de informes de syslog. Si no instala Logger las estadísticas del servidor no se captura, y la sección de estadísticas del servidor de la consola de administración no se muestra.

Zimbra-memcached, Memcached se selecciona automáticamente cuando se instala zimbra-proxy. Al menos un servidor debe ejecutar zimbra-memcached cuando el proxy está en uso. Todos los servidores con zimbra-proxy pueden usar un solo servidor de memcached.

Zimbra Proxy instala la características de proxy POP e IMAP y para proxy reverso de peticiones HTTP, esto es útil para un esquema de instalación en multiservidores.

Zimbra Archiving, instala el almacenamiento y archivado de buzones Zimbra y la función de auditoría de correos. Esta es una característica opcional para ZCS Network Edition que ofrece la capacidad de almacenar y buscar todos los mensajes que fueron enviados o recibidos por ZCS. Cuando este paquete se instala en el servidor de correo, la función de búsqueda global en buzones de correo se habilita. El uso de la función de archivado y auditoría requiere de licencias adicionales.

Ing. Rubén Cueva Zúñiga

LPIC-1-Novell Linux Administrator

Zimbra Collaboration Suite

Zimbra Collaboration Suite

Zimbra Collaboration Suite

III. INSTALACIÓN DE ZIMBRA COLLABORATION SUITE

1. Instalar los paquetes sysstat y nc:

# yum -y install sysstat nc

2. Detener y deshabilitar el servicio del MTA por defecto (postfix)

# service postfix stop

# chkconfig postfix off

3. Descomprimir el instalador

# tar -xvf zcs-8.0.7_ GA_6021. RHEL6_64. 20140408123911.tgz

4. Entrar a la carpeta creada

# cd zcs-8.0.7_ GA_6021. RHEL6_64. 20140408123911

5. Ejecutar el script de instalación:

# ./install.sh --platform-override (--platform-override es para CentOS)

Operations logged to /tmp/install.log.3375 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

zimbra-memcached

NOT

zimbra-archiving

zimbra-cluster

zimbra-core

zimbra-proxy

NOT

FOUND

NOT FOUND

FOUND

NOT FOUND

FOUND

NOT

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:

Do you agree with the terms of the software license agreement? [N] Y

Ing. Rubén Cueva Zúñiga

LPIC-1-Novell Linux Administrator

Zimbra Collaboration Suite

Zimbra Collaboration Suite

Zimbra Collaboration Suite

Checking for prerequisites FOUND: NPTL FOUND: sudo-1.7.2p1-5 FOUND: libidn-0.6.5-1.1 FOUND: gmp-4.1.4-10 FOUND: /usr/lib/libstdc++.so.6 Checking for suggested prerequisites FOUND: perl-5.8.8 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] Enter Install zimbra-logger [Y] Enter Install zimbra-mta [Y] Enter Install zimbra-snmp [Y] Enter Install zimbra-store [Y] Enter Install zimbra-apache [Y] Enter Install zimbra-spell [Y] Enter Install zimbra-memcached [N] Enter Install zimbra-proxy [N] Enter

Checking required space for zimbra-core checking space for zimbra-store

Installing:

zimbra-core

zimbra-ldap

zimbra-logger

Ing. Rubén Cueva Zúñiga

LPIC-1-Novell Linux Administrator

Zimbra Collaboration Suite

Zimbra Collaboration Suite

Zimbra Collaboration Suite

zimbra-mta

zimbra-snmp

zimbra-store

zimbra-apache

zimbra-spell

You appear to be installing packages on a platform different than the platform for which they were built.

This platform is CentOS6 Packages found: RHEL5 This may or may not work.

Using packages for a platform in which they were not designed for may result in an installation that is NOT usable. Your support options may be limited if you choose to continue.

Install anyway? [N] Y The system will be modified. Continue? [N] Y Removing /opt/zimbra

Removing zimbra crontab entry done. Cleaning up zimbra init scripts

Cleaning up /etc/ld.so.conf

Cleaning up /etc/prelink.conf

Cleaning up /etc/security/limits.conf

done.

done.

done.

done.

done.

Finished removing Zimbra Collaboration Suite.

Installing packages

zimbra-core

zimbra-core-8.0.7_

GA_6021. RHEL6_64. 20140408123911.rpm

zimbra-ldap

zimbra-ldap-8.0.7_

GA_6021. RHEL6_64. 20140408123911

done

zimbra-logger

zimbra-logger-8.0.7_

GA_6021. RHEL6_64.

20140408123911.rpm

done

zimbra-mta

zimbra-mta-8.0.7_

GA_6021. RHEL6_64. 20140408123911.rpm

done

zimbra-snmp

zimbra-snmp-8.0.7_

GA_6021. RHEL6_64.

20140408123911.rpm

zimbra-store

20140408123911.rpm

zimbra-apache

20140408123911.rpm

zimbra-spell zimbra-spell-6.0.8_GA_2661.RHEL5-20100820051652.i386.rpm

done

zimbra-store-8.0.7_

done

GA_6021. RHEL6_64.

zimbra-apache-8.0.7_

done

GA_6021. RHEL6_64.

done

Ing. Rubén Cueva Zúñiga

LPIC-1-Novell Linux Administrator

Zimbra Collaboration Suite

Zimbra Collaboration Suite

Zimbra Collaboration Suite

Operations logged to /tmp/zmsetup.11022010-123338.log

Installing LDAP configuration database Setting defaults

done.

DNS ERROR resolving MX for mail.cibertec.pe It is suggested that the domain name have an MX record configured in DNS Change domain name? [Yes] Enter Create domain: [mail.cibertec.pe] cibertec.pe

Main menu 1) Common Configuration:

2) zimbra-ldap: Enabled 3) zimbra-store: Enabled +Create Admin User: yes +Admin user to create: admin@ cibertec.pe ******* +Admin Password UNSET +Enable automated spam training: yes +Spam training user: spam.zhfuz2pki@ cibertec.pe +Non-spam(Ham) training user: ham.jmf6v3silv@ cibertec.pe +Global Documents Account: wiki@ cibertec.pe +SMTP host: mail.dominio2.com +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://mail.dominio2.com: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@ cibertec.pe +Version update source email: admin@cibertec.pe

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

Ing. Rubén Cueva Zúñiga

LPIC-1-Novell Linux Administrator

Zimbra Collaboration Suite

Zimbra Collaboration Suite

Zimbra Collaboration Suite

q) Quit

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

Common configuration

1)

Hostname: mail.dominio2.com

2)

Ldap master host: mail.dominio2.com

3)

Ldap port: 389

4)

Ldap Admin password: set

5)

Secure interprocess communications: yes

6)

TimeZone: America/Los_Angeles

Select, or 'r' for previous menu [r] 4 Password for ldap admin user (min 6 characters): [qirppfzPU] centos2014

Select, or 'r' for previous menu [r] 6 Enter the number for the local timezone: [23] 11

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

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

Ldap configuration

1)

Status: Enabled

2)

Create Domain: yes

3)

Domain to create: dominio2.com

4)

Ldap root password: set

5)

Ldap replication password: set

6)

Ldap postfix password: set

7)

Ldap amavis password: set

8)

Ldap nginx password: set

Select, or 'r' for previous menu [r] 4 Password for ldap root user (min 6 characters): [qirppfzPU] centos2014

Select, or 'r' for previous menu [r] 5 Password for ldap replication user (min 6 characters): [qirppfzPU] centos2014

Select, or 'r' for previous menu [r] 6 Password for ldap Postfix user (min 6 characters): [qirppfzPU] centos2014

Select, or 'r' for previous menu [r] 7 Password for ldap Amavis user (min 6 characters): [qirppfzPU] centos2014

Ing. Rubén Cueva Zúñiga

LPIC-1-Novell Linux Administrator

Zimbra Collaboration Suite

Zimbra Collaboration Suite

Zimbra Collaboration Suite

Select, or 'r' for previous menu [r] 8 Password for ldap Nginx user (min 6 characters): [qirppfzPU] centos2014

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

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

Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@cibertec.pe ** 4) Admin Password UNSET 5) Enable automated spam training: yes 6) Spam training user: spam.zhfuz2pki@cibertec.pe 7) Non-spam(Ham) training user: ham.jmf6v3silv@cibertec.pe 8) Global Documents Account: wiki@cibertec.pe 9) SMTP host: mail. cibertec.pe 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://mail.cibertec.pe: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@cibertec.pe 24) Version update source email: admin@ cibertec.pe

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

Password for admin@ cibertec.pe (min 6 characters): [6n0cY_YI] centos2014

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

Ing. Rubén Cueva Zúñiga

LPIC-1-Novell Linux Administrator

Zimbra Collaboration Suite

Zimbra Collaboration Suite

Zimbra Collaboration Suite

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] Enter

Save config in file: [/opt/zimbra/config.11431] Enter

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

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

Saving config in /opt/zimbra/config.11431

The system will be modified - continue? [No] Yes Operations logged to /tmp/zmsetup.11022010-123338.log

Setting local config values Setting up CA

Deploying CA to /opt/zimbra/conf/ca

Creating SSL certificate

Installing mailboxd SSL certificates

Initializing ldap

Setting replication password

done.

done.

done.

done.

done.

done.

done.

Setting Postfix password Setting amavis password Setting nginx password

Setting Postfix password Setting amavis password Setting nginx password
Setting Postfix password Setting amavis password Setting nginx password

done.

done.

done.

Creating server entry for mail.cibertec.pe

Saving CA in ldap

Saving SSL Certificate in ldap

Setting spell check URL

Setting service ports on mail.cibertec.pe

Adding mail.dominio2.com to zimbraMailHostPool in default COS Installing webclient skins

done.

done.

done.

done.

done.

bones

done.

twilight

done.

tree

done.

sky

done.

zmail

done.

done.

Ing. Rubén Cueva Zúñiga

LPIC-1-Novell Linux Administrator

Zimbra Collaboration Suite

Zimbra Collaboration Suite

Zimbra Collaboration Suite

lake

done.

steel

done.

smoke

done.

waves

done.

lemongrass

bare

done.

done.

hotrod

done.

yahoo

done.

lavender

done.

oasis

done.

beach

done.

sand

done.

pebble

done.

Finished installing webclient skins. Setting zimbraFeatureIMEnabled=FALSE Setting zimbraFeatureTasksEnabled=TRUE

done.

done.

Setting zimbraFeatureBriefcasesEnabled=TRUE

done.

Setting zimbraFeatureNotebookEnabled=TRUE

done.

Setting MTA auth host

Setting TimeZone Preference

Initializing mta config

done.

Setting services on mail.cibertec.pe

done.

done.

done.

Creating domain cibertec.pe

done.

Setting default domain name

done.

Creating domain cibertec.pe

already

exists.

Creating admin account admin@cibertec.pe Creating root alias

Creating postmaster alias

Creating user wiki@cibertec.pe

done.

done.

done.

Creating user spam.zhfuz2pki@cibertec.pe

done.

Creating user ham.jmf6v3silv@cibertec.pe

done.

Setting spam training accounts Initializing store sql database

Setting zimbraSmtpHostname for mail.cibertec.pe

Configuring SNMP

Checking for default IM conference room

Initializing default IM conference room

Setting up syslog.conf

done.

done.

done.

done.

not present.

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 (8.0.7_GA_2551_CentOS6)

Ing. Rubén Cueva Zúñiga

LPIC-1-Novell Linux Administrator

Zimbra Collaboration Suite

Zimbra Collaboration Suite

Zimbra Collaboration Suite

The ADMIN EMAIL ADDRESS created (admin@cibertec.pe)

Notify Zimbra of your installation? [Yes] No Notification skipped

Starting servers

Installing common zimlets

done.

com_zimbra_cert_manager

com_zimbra_email

com_zimbra_adminversioncheck

done.

done.

done.

com_zimbra_ymemoticons

done.

com_zimbra_date

done.

com_zimbra_url

done.

com_zimbra_phone

done.

 

com_zimbra_dnd

done.

com_zimbra_bulkprovision

done.

Finished installing common zimlets.

Initializing Documents

Restarting mailboxd

Setting up zimbra crontab

done.

done.

done.

Moving /tmp/zmsetup.06072014-1255538.log to /opt/zimbra/log

Configuration complete - press return to exit

IV. ACCEDER AL PANEL DE ADMINISTRACION Y AL WEBMAIL

1. Panel de Administración:

https://mail.cibertec.pe:7071

2. Webmail:

http://mail.cibertec.pe

3. Verificar los eventos del servicio:

# tail f /var/log/zimbra.log

Ing. Rubén Cueva Zúñiga

LPIC-1-Novell Linux Administrator