Zimbra 8.8. Parte II. (Instalación Zimbra)

Dependencias

apt install gnupg2 -y
  • Desinstalamos POSTFIX, para que no entre en conflicto ya que ubuntu lo trae instalado
apt remove --purge postfix -y
  • Descargamos
cd /tmp
wget https://files.zimbra.com/downloads/8.8.15_GA/zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220.tgz
  • Descomprimimos y ingresamos a la carpeta
tar xzvf zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220.tgz
cd zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220
  • Mandamos a instalar
./install.sh
  • NOTA: si hay que desinstalar
./install.sh -u
  • RESULTADO
Operations logged to /tmp/install.log.8tI7i3t7
Checking for existing installation...
    zimbra-drive...NOT FOUND
    zimbra-imapd...NOT FOUND
    zimbra-patch...NOT FOUND
    zimbra-mta-patch...NOT FOUND
    zimbra-proxy-patch...NOT FOUND
    zimbra-license-tools...NOT FOUND
    zimbra-license-extension...NOT FOUND
    zimbra-network-store...NOT FOUND
    zimbra-network-modules-ng...NOT FOUND
    zimbra-chat...NOT FOUND
    zimbra-talk...NOT FOUND
    zimbra-ldap...NOT FOUND
    zimbra-logger...NOT FOUND
    zimbra-mta...NOT FOUND
    zimbra-dnscache...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-core...NOT FOUND


----------------------------------------------------------------------
PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
SYNACOR, INC. ("SYNACOR") 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 this Zimbra Collaboration Suite Software:
https://www.zimbra.com/license/zimbra-public-eula-2-6.html
----------------------------------------------------------------------
  • Nos indica si aceptamos la licencia
Do you agree with the terms of the software license agreement? [N] Y
  • Nos indica que queremos agregar el repositorio de zimbra
Use Zimbra's package repository [Y] Y
  • Continua
Warning: apt-key output should not be parsed (stdout is not a terminal)
Importing Zimbra GPG key

Configuring package repository

Checking for installable packages

Found zimbra-core (local)
Found zimbra-ldap (local)
Found zimbra-logger (local)
Found zimbra-mta (local)
Found zimbra-dnscache (local)
Found zimbra-snmp (local)
Found zimbra-store (local)
Found zimbra-apache (local)
Found zimbra-spell (local)
Found zimbra-memcached (repo)
Found zimbra-proxy (local)
Found zimbra-drive (repo)
Found zimbra-imapd (local)
Found zimbra-patch (repo)
Found zimbra-mta-patch (repo)
Found zimbra-proxy-patch (repo)
  • Nos pregunta que paquetes deseamos instalar
Select the packages to install

Install zimbra-ldap [Y] Y

Install zimbra-logger [Y] Y

Install zimbra-mta [Y] Y

Install zimbra-dnscache [Y] N  //No porque instalamos DNSMASQ

Install zimbra-snmp [Y] Y

Install zimbra-store [Y] Y

Install zimbra-apache [Y] Y

Install zimbra-spell [Y] Y

Install zimbra-memcached [Y] Y

Install zimbra-proxy [Y] Y

Install zimbra-drive [Y] Y

Install zimbra-imapd (BETA - for evaluation only) [N] N

Install zimbra-chat [Y] Y
Install zimbra-chat [Y] Y
Checking required space for zimbra-core
Checking space for zimbra-store
Checking required packages for zimbra-store
zimbra-store package check complete.

Installing:
    zimbra-core
    zimbra-ldap
    zimbra-logger
    zimbra-mta
    zimbra-snmp
    zimbra-store
    zimbra-apache
    zimbra-spell
    zimbra-memcached
    zimbra-proxy
    zimbra-drive
    zimbra-patch
    zimbra-mta-patch
    zimbra-proxy-patch
    zimbra-chat
  • Nos indica si deseamos modificar el sistema
The system will be modified.  Continue? [N] Y
  • Inicia la instalación
Beginning Installation - see /tmp/install.log.8tI7i3t7 for details...

                          zimbra-core-components will be downloaded and installed.
                            zimbra-timezone-data will be installed.
                           zimbra-common-mbox-db will be installed.
                         zimbra-common-mbox-docs will be installed.
                          zimbra-common-core-jar will be installed.
                         zimbra-common-mbox-conf will be installed.
                    zimbra-common-mbox-conf-msgs will be installed.
                   zimbra-common-mbox-conf-attrs will be installed.
                   zimbra-common-mbox-native-lib will be installed.
                  zimbra-common-mbox-conf-rights will be installed.
                         zimbra-common-core-libs will be installed.
                                     zimbra-core will be installed.
                          zimbra-ldap-components will be downloaded and installed.
                                     zimbra-ldap will be installed.
                                   zimbra-logger will be installed.
                           zimbra-mta-components will be downloaded and installed.
                                      zimbra-mta will be installed.
                          zimbra-snmp-components will be downloaded and installed.
                                     zimbra-snmp will be installed.
                         zimbra-store-components will be downloaded and installed.
                       zimbra-jetty-distribution will be downloaded and installed.
                                 zimbra-mbox-war will be installed.
                                zimbra-mbox-conf will be installed.
                             zimbra-mbox-service will be installed.
                       zimbra-mbox-webclient-war will be installed.
                          zimbra-mbox-store-libs will be installed.
                   zimbra-mbox-admin-console-war will be installed.
                                    zimbra-store will be installed.
                        zimbra-apache-components will be downloaded and installed.
                                   zimbra-apache will be installed.
                         zimbra-spell-components will be downloaded and installed.
                                    zimbra-spell will be installed.
                                zimbra-memcached will be downloaded and installed.
                         zimbra-proxy-components will be downloaded and installed.
                                    zimbra-proxy will be installed.
                                    zimbra-drive will be downloaded and installed (later).
                                    zimbra-patch will be downloaded and installed (later).
                                zimbra-mta-patch will be downloaded and installed (later).
                              zimbra-proxy-patch will be downloaded and installed (later).
                                     zimbra-chat will be downloaded and installed (later).
Downloading packages (10):
   zimbra-core-components
   zimbra-ldap-components
   zimbra-mta-components
   zimbra-snmp-components
   zimbra-store-components
   zimbra-jetty-distribution
   zimbra-apache-components
   zimbra-spell-components
   zimbra-memcached
   zimbra-proxy-components
      ...done

Removing /opt/zimbra
Removing zimbra crontab entry...done.
Cleaning up zimbra init scripts...done.
Cleaning up /etc/security/limits.conf...done.

Finished removing Zimbra Collaboration Server.


Installing repo packages (10):
   zimbra-core-components
   zimbra-ldap-components
   zimbra-mta-components
   zimbra-snmp-components
   zimbra-store-components
   zimbra-jetty-distribution
   zimbra-apache-components
   zimbra-spell-components
   zimbra-memcached
   zimbra-proxy-components
      ...done

Installing local packages (25):
   zimbra-timezone-data
   zimbra-common-mbox-db
   zimbra-common-mbox-docs
   zimbra-common-core-jar
   zimbra-common-mbox-conf
   zimbra-common-mbox-conf-msgs
   zimbra-common-mbox-conf-attrs
   zimbra-common-mbox-native-lib
   zimbra-common-mbox-conf-rights
   zimbra-common-core-libs
   zimbra-core
   zimbra-ldap
   zimbra-logger
   zimbra-mta
   zimbra-snmp
   zimbra-mbox-war
   zimbra-mbox-conf
   zimbra-mbox-service
   zimbra-mbox-webclient-war
   zimbra-mbox-store-libs
   zimbra-mbox-admin-console-war
   zimbra-store
   zimbra-apache
   zimbra-spell
   zimbra-proxy
      ...done

Installing extra packages (5):
   zimbra-drive
   zimbra-patch
   zimbra-mta-patch
   zimbra-proxy-patch
   zimbra-chat
      ...done

Running Post Installation Configuration:
Operations logged to /tmp/zmsetup.20200831-224627.log
Installing LDAP configuration database...done.
Setting defaults...
  • Nos indica que hay un error para resolver el dominio correo.siua.ac.cr esto es cierto ya que el dominio es siua.ac.cr
DNS ERROR resolving MX for correo.siua.ac.cr
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] Yes
Create domain: [correo.siua.ac.cr] siua.ac.cr
	MX: correo.siua.ac.cr (181.193.87.9)

	Interface: 127.0.0.1
	Interface: ::1
	Interface: 10.20.200.78
	Interface: 181.193.87.9
done.
  • Luego nos presenta el menu
Main menu

   1) Common Configuration:                                                  
   2) zimbra-ldap:                             Enabled                       
   3) zimbra-logger:                           Enabled                       
   4) zimbra-mta:                              Enabled                       
   5) zimbra-snmp:                             Enabled                       
   6) zimbra-store:                            Enabled                       
        +Create Admin User:                    yes                           
        +Admin user to create:                 admin@siua.ac.cr              
******* +Admin Password                        UNSET                         
        +Anti-virus quarantine user:           virus-quarantine.ipglwfaa16@siua.ac.cr
        +Enable automated spam training:       yes                           
        +Spam training user:                   spam.8sve_it0lo@siua.ac.cr    
        +Non-spam(Ham) training user:          ham.hkr9kj0_@siua.ac.cr       
        +SMTP host:                            correo.siua.ac.cr             
        +Web server HTTP port:                 8080                          
        +Web server HTTPS port:                8443                          
        +Web server mode:                      https                         
        +IMAP server port:                     7143                          
        +IMAP server SSL port:                 7993                          
        +POP server port:                      7110                          
        +POP server SSL port:                  7995                          
        +Use spell check server:               yes                           
        +Spell server URL:                     http://correo.siua.ac.cr:7780/aspell.php
        +Enable version update checks:         TRUE                          
        +Enable version update notifications:  TRUE                          
        +Version update notification email:    admin@siua.ac.cr              
        +Version update source email:          admin@siua.ac.cr              
        +Install mailstore (service webapp):   yes                           
        +Install UI (zimbra,zimbraAdmin webapps): yes                           

   7) zimbra-spell:                            Enabled                       
   8) zimbra-proxy:                            Enabled                       
   9) Default Class of Service Configuration:                                
   s) Save config to file                                                    
   x) Expand menu                                                            
   q) Quit                                    

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

Configuración Zimbra

Zona horaria

  • America/Chihuahua opción 1
Address unconfigured (**) items  (? - help) 1


Common configuration

   1) Hostname:                                correo.siua.ac.cr             
   2) Ldap master host:                        correo.siua.ac.cr             
   3) Ldap port:                               389                           
   4) Ldap Admin password:                     set                           
   5) Store ephemeral attributes outside Ldap: no                            
   6) Secure interprocess communications:      yes                           
   7) TimeZone:                                America/Chihuahua             
   8) IP Mode:                                 ipv4                          
   9) Default SSL digest:                      sha256 
  • opción 7
1 Africa/Algiers
2 Africa/Cairo
3 Africa/Casablanca
4 Africa/Harare
5 Africa/Juba
6 Africa/Khartoum
7 Africa/Monrovia
8 Africa/Nairobi
9 Africa/Sao_Tome
10 Africa/Tripoli
11 Africa/Windhoek
12 America/Adak
13 America/Anchorage
14 America/Araguaina
15 America/Argentina/Buenos_Aires
16 America/Asuncion
17 America/Bahia
18 America/Bogota
19 America/Cancun
20 America/Caracas
21 America/Cayenne
22 America/Chicago
23 America/Chihuahua
24 America/Cuiaba
25 America/Denver
26 America/Fort_Nelson
27 America/Grand_Turk
28 America/Guatemala
29 America/Guyana
30 America/Halifax
31 America/Havana
32 America/Indiana/Indianapolis
33 America/Los_Angeles
34 America/Mexico_City
35 America/Miquelon
36 America/Montevideo
37 America/New_York
38 America/Phoenix
39 America/Port-au-Prince
40 America/Punta_Arenas
41 America/Regina
42 America/Santiago
43 America/Sao_Paulo
44 America/St_Johns
45 America/Tijuana
46 America/Whitehorse
47 Asia/Almaty
48 Asia/Amman
49 Asia/Baghdad
50 Asia/Baku
51 Asia/Bangkok
52 Asia/Barnaul
53 Asia/Beirut
54 Asia/Chita
55 Asia/Colombo
56 Asia/Damascus
57 Asia/Dhaka
58 Asia/Gaza
59 Asia/Hong_Kong
60 Asia/Hovd
61 Asia/Irkutsk
62 Asia/Jerusalem
63 Asia/Kabul
64 Asia/Kamchatka
65 Asia/Karachi
66 Asia/Kathmandu
67 Asia/Kolkata
68 Asia/Krasnoyarsk
69 Asia/Kuala_Lumpur
70 Asia/Kuwait
71 Asia/Magadan
72 Asia/Muscat
73 Asia/Novosibirsk
74 Asia/Omsk
75 Asia/Pyongyang
76 Asia/Qyzylorda
77 Asia/Sakhalin
78 Asia/Seoul
79 Asia/Singapore
80 Asia/Srednekolymsk
81 Asia/Taipei
82 Asia/Tashkent
83 Asia/Tbilisi
84 Asia/Tehran
85 Asia/Tokyo
86 Asia/Tomsk
87 Asia/Ulaanbaatar
88 Asia/Vladivostok
89 Asia/Yakutsk
90 Asia/Yangon
91 Asia/Yekaterinburg
92 Asia/Yerevan
93 Atlantic/Azores
94 Atlantic/Cape_Verde
95 Atlantic/South_Georgia
96 Australia/Adelaide
97 Australia/Brisbane
98 Australia/Darwin
99 Australia/Eucla
100 Australia/Hobart
101 Australia/Lord_Howe
102 Australia/Perth
103 Australia/Sydney
104 Etc/GMT+12
105 Europe/Astrakhan
106 Europe/Athens
107 Europe/Belgrade
108 Europe/Berlin
109 Europe/Brussels
110 Europe/Bucharest
111 Europe/Chisinau
112 Europe/Helsinki
113 Europe/Istanbul
114 Europe/Kaliningrad
115 Europe/London
116 Europe/Minsk
117 Europe/Moscow
118 Europe/Samara
119 Europe/Saratov
120 Europe/Volgograd
121 Europe/Warsaw
122 Indian/Mauritius
123 Pacific/Apia
124 Pacific/Auckland
125 Pacific/Bougainville
126 Pacific/Chatham
127 Pacific/Easter
128 Pacific/Fiji
129 Pacific/Guadalcanal
130 Pacific/Guam
131 Pacific/Honolulu
132 Pacific/Kiritimati
133 Pacific/Marquesas
134 Pacific/Midway
135 Pacific/Norfolk
136 Pacific/Tongatapu
137 UTC
Enter the number for the local timezone: [137] 23
  • «r» para regresar

Contraseña Admin

  • opción 6
ain menu

   1) Common Configuration:                                                  
   2) zimbra-ldap:                             Enabled                       
   3) zimbra-logger:                           Enabled                       
   4) zimbra-mta:                              Enabled                       
   5) zimbra-snmp:                             Enabled                       
   6) zimbra-store:                            Enabled                       
        +Create Admin User:                    yes                           
        +Admin user to create:                 admin@siua.ac.cr              
******* +Admin Password                        UNSET                         
        +Anti-virus quarantine user:           virus-quarantine.ipglwfaa16@siua.ac.cr
        +Enable automated spam training:       yes                           
        +Spam training user:                   spam.8sve_it0lo@siua.ac.cr    
        +Non-spam(Ham) training user:          ham.hkr9kj0_@siua.ac.cr       
        +SMTP host:                            correo.siua.ac.cr             
        +Web server HTTP port:                 8080                          
        +Web server HTTPS port:                8443                          
        +Web server mode:                      https                         
        +IMAP server port:                     7143                          
        +IMAP server SSL port:                 7993                          
        +POP server port:                      7110                          
        +POP server SSL port:                  7995                          
        +Use spell check server:               yes                           
        +Spell server URL:                     http://correo.siua.ac.cr:7780/aspell.php
        +Enable version update checks:         TRUE                          
        +Enable version update notifications:  TRUE                          
        +Version update notification email:    admin@siua.ac.cr              
        +Version update source email:          admin@siua.ac.cr              
        +Install mailstore (service webapp):   yes                           
        +Install UI (zimbra,zimbraAdmin webapps): yes                           

   7) zimbra-spell:                            Enabled                       
   8) zimbra-proxy:                            Enabled                       
   9) Default Class of Service Configuration:                                
   s) Save config to file                                                    
   x) Expand menu                                                            
   q) Quit                                    

Address unconfigured (**) items  (? - help) 6
  • opción 4
Password for admin@siua.ac.cr (min 6 characters): [gZRW7RAUs] AC2
  • «r» para regresar
  • Nos indique la que configuración esta completada «a» para aplicar la configuración
Main menu

   1) Common Configuration:                                                  
   2) zimbra-ldap:                             Enabled                       
   3) zimbra-logger:                           Enabled                       
   4) zimbra-mta:                              Enabled                       
   5) zimbra-snmp:                             Enabled                       
   6) zimbra-store:                            Enabled                       
   7) zimbra-spell:                            Enabled                       
   8) zimbra-proxy:                            Enabled                       
   9) Default Class of Service Configuration:                                
   s) Save config to file                                                    
   x) Expand menu                                                            
   q) Quit                                    

*** CONFIGURATION COMPLETE - press 'a' to apply
  • Nos indica que si deseamos aplicar la configuración «a»
Select from menu, or press 'a' to apply config (? - help) a
  • Nos indica que si deseamos guardar un archivo con la configuración YES
Save configuration data to a file? [Yes] Yes
Save config in file: [/opt/zimbra/config.13181] ENTER
Saving config in /opt/zimbra/config.13181...done.
  • Nos indica si deseamos modificar el sistema
The system will be modified - continue? [No] Yes
  • Comienza la instalación
Operations logged to /tmp/zmsetup.20200902-161303.log
Setting local config values...done.
Initializing core config...Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL zimbra-store certificate...done.
Creating new zimbra-ldap SSL certificate...done.
Creating new zimbra-mta SSL certificate...done.
Creating new zimbra-proxy SSL certificate...done.
Installing mailboxd SSL certificates...done.
Installing MTA SSL certificates...done.
Installing LDAP SSL certificate...done.
Installing Proxy SSL certificate...done.
Initializing ldap...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Setting BES searcher password...done.
Creating server entry for correo.siua.ac.cr...done.
Setting Zimbra IP Mode...done.
Saving CA in ldap...done.
Saving SSL Certificate in ldap...done.
Setting spell check URL...done.
Setting service ports on correo.siua.ac.cr...done.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
Checking current setting of zimbraReverseProxyAvailableLookupTargets
Querying LDAP for other mailstores
Searching LDAP for reverseProxyLookupTargets...done.
Adding correo.siua.ac.cr to zimbraReverseProxyAvailableLookupTargets
Updating zimbraLDAPSchemaVersion to version '1557224584'
Setting TimeZone Preference...done.
Disabling strict server name enforcement on correo.siua.ac.cr...done.
Initializing mta config...done.
Setting services on correo.siua.ac.cr...done.
Adding correo.siua.ac.cr to zimbraMailHostPool in default COS...done.
Creating domain siua.ac.cr...done.
Setting default domain name...done.
Creating domain siua.ac.cr...already exists.
Creating admin account admin@siua.ac.cr...done.
Creating root alias...done.
Creating postmaster alias...done.
Creating user spam.upzthu1ts@siua.ac.cr...done.
Creating user ham.gbetsknna@siua.ac.cr...done.
Creating user virus-quarantine.lis2ca2tfr@siua.ac.cr...done.
Setting spam training and Anti-virus quarantine accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for correo.siua.ac.cr...done.
Configuring SNMP...done.
Setting up syslog.conf...done.
Starting servers...done.
Installing common zimlets...
	com_zextras_chat_open...done.
	com_zimbra_email...done.
	com_zimbra_clientuploader...done.
	com_zimbra_attachmail...done.
	com_zimbra_srchhighlighter...done.
	com_zimbra_bulkprovision...done.
	com_zimbra_phone...done.
	com_zimbra_date...done.
	com_zimbra_url...done.
	com_zimbra_cert_manager...done.
	com_zextras_drive_open...done.
	com_zimbra_tooltip...done.
	com_zimbra_mailarchive...done.
	com_zimbra_proxy_config...done.
	com_zimbra_webex...done.
	com_zimbra_attachcontacts...done.
	com_zimbra_ymemoticons...done.
	com_zimbra_viewmail...done.
	com_zimbra_adminversioncheck...done.
Finished installing common zimlets.
Restarting mailboxd...done.
Creating galsync account for default domain...done.

You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Server.
The only information that will be transmitted is:
	The VERSION of zcs installed (8.8.15_GA_3869_UBUNTU18_64)
	The ADMIN EMAIL ADDRESS created (admin@siua.ac.cr)
  • Nos indica si deseas notificar a zimbra de la instalación NO
Notify Zimbra of your installation? [Yes] No
  • Finaliza la instalación
Notification skipped
Checking if the NG started running...done. 
Setting up zimbra crontab...done.


Moving /tmp/zmsetup.20200902-161303.log to /opt/zimbra/log


Configuration complete - press return to exit
  • Ahora ya podemos ingresar:
    • usuario: admin@siua.ac.cr
    • pass: AC2