Sunteți pe pagina 1din 12

Zimbra Collaboration Suite

Ing. Rubn Cueva Ziga


LPIC-1-Novell Linux Administrator

INSTALACION DE ZIMBRA COLABORATION SUITE 8


I. CONSIDERACIONES PREVIAS:

Para instalar ZCS Community Edition se debe tener en consideracin 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 resolucin DNS con dig. Probar la resolucin 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



Zimbra Collaboration Suite



Ing. Rubn Cueva Ziga
LPIC-1-Novell Linux Administrator

# 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 versin de Zimbra Open Source desde www.zimbra.com:




Zimbra Collaboration Suite



Ing. Rubn Cueva Ziga
LPIC-1-Novell Linux Administrator

5. Tambin puede descargar el instalador utilizando la lnea 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 supervisin.

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 ortogrfico Aspell.

Zimbra Apache, se instala automticamente cuando Zimbra Spell est instalado.

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

Zimbra Logger instala herramientas de agregacin y presentacin de informes de syslog.
Si no instala Logger las estadsticas del servidor no se captura, y la seccin de estadsticas
del servidor de la consola de administracin no se muestra.

Zimbra-memcached, Memcached se selecciona automticamente 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 caractersticas de proxy POP e IMAP y para proxy reverso de
peticiones HTTP, esto es til para un esquema de instalacin en multiservidores.

Zimbra Archiving, instala el almacenamiento y archivado de buzones Zimbra y la funcin
de auditora de correos. Esta es una caracterstica 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 funcin de
bsqueda global en buzones de correo se habilita. El uso de la funcin de archivado y
auditora requiere de licencias adicionales.





Zimbra Collaboration Suite



Ing. Rubn Cueva Ziga
LPIC-1-Novell Linux Administrator

III. INSTALACIN 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 instalacin:
# ./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...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
Do you agree with the terms of the software license agreement? [N] Y


Zimbra Collaboration Suite



Ing. Rubn Cueva Ziga
LPIC-1-Novell Linux Administrator


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


Zimbra Collaboration Suite



Ing. Rubn Cueva Ziga
LPIC-1-Novell Linux Administrator

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.
done.
Cleaning up zimbra init scripts...done.
Cleaning up /etc/ld.so.conf...done.
Cleaning up /etc/prelink.conf...done.
Cleaning up /etc/security/limits.conf...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...done
zimbra-store......zimbra-store-8.0.7_ GA_6021. RHEL6_64.
20140408123911.rpm...done
zimbra-apache......zimbra-apache-8.0.7_ GA_6021. RHEL6_64.
20140408123911.rpm...done
zimbra-spell......zimbra-spell-6.0.8_GA_2661.RHEL5-20100820051652.i386.rpm...done



Zimbra Collaboration Suite



Ing. Rubn Cueva Ziga
LPIC-1-Novell Linux Administrator

Operations logged to /tmp/zmsetup.11022010-123338.log
Installing LDAP configuration database...done.
Setting defaults...

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


Zimbra Collaboration Suite



Ing. Rubn Cueva Ziga
LPIC-1-Novell Linux Administrator

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


Zimbra Collaboration Suite



Ing. Rubn Cueva Ziga
LPIC-1-Novell Linux Administrator

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


Zimbra Collaboration Suite



Ing. Rubn Cueva Ziga
LPIC-1-Novell Linux Administrator

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...done.
The system will be modified - continue? [No] Yes
Operations logged to /tmp/zmsetup.11022010-123338.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 mail.cibertec.pe...done.
Saving CA in ldap ...done.
Saving SSL Certificate in ldap ...done.
Setting spell check URL...done.
Setting service ports on mail.cibertec.pe...done.
Adding mail.dominio2.com to zimbraMailHostPool in default COS...done.
Installing webclient skins...
bones...done.
twilight...done.
tree...done.
sky...done.
zmail...done.


Zimbra Collaboration Suite



Ing. Rubn Cueva Ziga
LPIC-1-Novell Linux Administrator

lake...done.
steel...done.
smoke...done.
waves...done.
lemongrass...done.
bare...done.
hotrod...done.
yahoo...done.
lavender...done.
oasis...done.
beach...done.
sand...done.
pebble...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 mail.cibertec.pe...done.
Creating domain cibertec.pe...done.
Setting default domain name...done.
Creating domain cibertec.pe...already exists.
Creating admin account admin@cibertec.pe...done.
Creating root alias...done.
Creating postmaster alias...done.
Creating user wiki@cibertec.pe...done.
Creating user spam.zhfuz2pki@cibertec.pe...done.
Creating user ham.jmf6v3silv@cibertec.pe...done.
Setting spam training accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for mail.cibertec.pe...done.
Configuring SNMP...done.
Checking for default IM conference room...not present.
Initializing default IM conference room...done.
Setting up syslog.conf...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)


Zimbra Collaboration Suite



Ing. Rubn Cueva Ziga
LPIC-1-Novell Linux Administrator

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

Notify Zimbra of your installation? [Yes] No
Notification skipped
Starting servers...done.
Installing common zimlets...
com_zimbra_cert_manager...done.
com_zimbra_email...done.
com_zimbra_adminversioncheck...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...done.
Restarting mailboxd...done.
Setting up zimbra crontab...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 Administracin:
https://mail.cibertec.pe:7071

2. Webmail:
http://mail.cibertec.pe

3. Verificar los eventos del servicio:
# tail f /var/log/zimbra.log

S-ar putea să vă placă și