Table of Contents

mbox-zb-01

Preparar partição de instalação do zimbra

[root@mbox-zb-01 ~]# fdisk -l /dev/sdb
 
Disk /dev/sdb: 322.1 GB, 322122547200 bytes, 629145600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[root@mbox-zb-01 ~]# fdisk /dev/sdb
[root@mbox-zb-01 ~]# pvcreate /dev/sdb1
[root@mbox-zb-01 ~]# vgcreate vg_zb_mbox /dev/sdb1
[root@mbox-zb-01 ~]# lvcreate -L 290G -n lv_zb_mbox vg_zb_mbox
[root@mbox-zb-01 ~]# mkfs.xfs /dev/vg_zb_mbox/lv_zb_mbox
[root@mbox-zb-01 ~]# mount /dev/vg_zb_mbox/lv_zb_mbox /opt/
[root@mbox-zb-01 ~]# echo "# Zimbra" >> /etc/fstab
[root@mbox-zb-01 ~]# echo "/dev/mapper/vg_zb_mbox-lv_zb_mbox       /opt    xfs     defaults        0 0" >> /etc/fstab
[root@mbox-zb-01 ~]# reboot
root@mbox-zb-01:~# df -h | egrep opt
/dev/mapper/vg_zb_mbox-lv_zb_mbox  290G   33M  290G   1% /opt

Instalação

# ./install.sh
 
Operations logged to /tmp/install.log.7AKv1Tq1
Checking for existing installation...
    zimbra-drive...NOT FOUND
    zimbra-imapd...NOT FOUND
    zimbra-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
----------------------------------------------------------------------
 
 
 
Do you agree with the terms of the software license agreement? [N] y
 
 
 
 
 
Use Zimbra's package repository [Y] y
 
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)
 
 
Select the packages to install
 
Install zimbra-ldap [Y] n
 
Install zimbra-logger [Y] y
 
Install zimbra-mta [Y] n
 
Install zimbra-dnscache [N] n
 
Install zimbra-snmp [Y] y
 
Install zimbra-store [Y] y
 
Install zimbra-apache [Y] y
 
Install zimbra-spell [Y] y
 
Install zimbra-memcached [Y] n
 
Install zimbra-proxy [Y] n
 
Install zimbra-drive [Y] n
 
Install zimbra-imapd (BETA - for evaluation only) [N] n
 
Install zimbra-chat [Y] n
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-logger
    zimbra-snmp
    zimbra-store
    zimbra-apache
    zimbra-spell
    zimbra-patch
 
The system will be modified.  Continue? [N] y
 
Beginning Installation - see /tmp/install.log.7AKv1Tq1 for details...
 
                          zimbra-core-components will be downloaded and installed.
                            zimbra-timezone-data will be installed.
                          zimbra-common-core-jar will be installed.
                         zimbra-common-mbox-conf will be installed.
                   zimbra-common-mbox-conf-attrs will be installed.
                    zimbra-common-mbox-conf-msgs will be installed.
                  zimbra-common-mbox-conf-rights will be installed.
                           zimbra-common-mbox-db will be installed.
                         zimbra-common-mbox-docs will be installed.
                   zimbra-common-mbox-native-lib will be installed.
                         zimbra-common-core-libs will be installed.
                                     zimbra-core will be installed.
                                   zimbra-logger 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-conf will be installed.
                                 zimbra-mbox-war will be installed.
                             zimbra-mbox-service will be installed.
                       zimbra-mbox-webclient-war will be installed.
                   zimbra-mbox-admin-console-war will be installed.
                          zimbra-mbox-store-libs 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-patch will be downloaded and installed (later).
 
Downloading packages (6):
   zimbra-core-components
   zimbra-snmp-components
   zimbra-store-components
   zimbra-jetty-distribution
   zimbra-apache-components
   zimbra-spell-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 (6):
   zimbra-core-components
   zimbra-snmp-components
   zimbra-store-components
   zimbra-jetty-distribution
   zimbra-apache-components
   zimbra-spell-components
      ...done
 
Installing local packages (22):
   zimbra-timezone-data
   zimbra-common-core-jar
   zimbra-common-mbox-conf
   zimbra-common-mbox-conf-attrs
   zimbra-common-mbox-conf-msgs
   zimbra-common-mbox-conf-rights
   zimbra-common-mbox-db
   zimbra-common-mbox-docs
   zimbra-common-mbox-native-lib
   zimbra-common-core-libs
   zimbra-core
   zimbra-logger
   zimbra-snmp
   zimbra-mbox-conf
   zimbra-mbox-war
   zimbra-mbox-service
   zimbra-mbox-webclient-war
   zimbra-mbox-admin-console-war
   zimbra-mbox-store-libs
   zimbra-store
   zimbra-apache
   zimbra-spell
      ...done
 
Installing extra packages (1):
   zimbra-patch
      ...done
 
Running Post Installation Configuration:
Operations logged to /tmp/zmsetup.20181011-144537.log
Setting defaults...sh: /sbin/ifconfig: Arquivo ou diretório não encontrado
done.
Checking for port conflicts
sh: netstat: comando não encontrado
 
Main menu
 
   1) Common Configuration:
        +Hostname:                             mbox-zb-01.juntotelecom.com.br
******* +Ldap master host:                     UNSET
        +Ldap port:                            389
******* +Ldap Admin password:                  UNSET
        +LDAP Base DN:                         cn=zimbra
        +Store ephemeral attributes outside Ldap: no
        +Secure interprocess communications:   yes
        +TimeZone:                             America/Araguaina
        +IP Mode:                              ipv4
        +Default SSL digest:                   sha256
 
   2) zimbra-logger:                           Enabled
   3) zimbra-snmp:                             Enabled
   4) zimbra-store:                            Enabled
        +Create Admin User:                    yes
        +Admin user to create:                 admin@mbox-zb-01.juntotelecom.com.br
******* +Admin Password                        UNSET
        +Anti-virus quarantine user:           virus-quarantine.84l9ortym@mbox-zb-01.juntotelecom.com.br
        +Enable automated spam training:       yes
        +Spam training user:                   spam.ovjepvb_5@mbox-zb-01.juntotelecom.com.br
        +Non-spam(Ham) training user:          ham.wnaibpiu@mbox-zb-01.juntotelecom.com.br
******* +SMTP host:                            UNSET
        +Web server HTTP port:                 8080
        +Web server HTTPS port:                8443
        +HTTP proxy port:                      80
        +HTTPS proxy port:                     443
        +Web server mode:                      https
        +IMAP server port:                     7143
        +IMAP server SSL port:                 7993
        +IMAP proxy port:                      143
        +IMAP SSL proxy port:                  993
        +POP server port:                      7110
        +POP server SSL port:                  7995
        +POP proxy port:                       110
        +POP SSL proxy port:                   995
        +Use spell check server:               yes
        +Spell server URL:                     http://mbox-zb-01.juntotelecom.com.br:7780/aspell.php
        +Configure for use with mail proxy:    TRUE
        +Configure for use with web proxy:     TRUE
        +Enable version update checks:         TRUE
        +Enable version update notifications:  TRUE
        +Version update notification email:    admin@mbox-zb-01.juntotelecom.com.br
        +Version update source email:          admin@mbox-zb-01.juntotelecom.com.br
        +Install mailstore (service webapp):   yes
        +Install UI (zimbra,zimbraAdmin webapps): yes
 
   5) zimbra-spell:                            Enabled
   6) Default Class of Service Configuration:
   s) Save config to file
   x) Expand menu
   q) Quit
 
Address unconfigured (**) items  (? - help) 1
 
 
Common configuration
 
   1) Hostname:                                mbox-zb-01.juntotelecom.com.br
** 2) Ldap master host:                        UNSET
   3) Ldap port:                               389
** 4) Ldap Admin password:                     UNSET
   5) LDAP Base DN:                            cn=zimbra
   6) Store ephemeral attributes outside Ldap: no
   7) Secure interprocess communications:      yes
   8) TimeZone:                                America/Araguaina
   9) IP Mode:                                 ipv4
  10) Default SSL digest:                      sha256
 
Select, or 'r' for previous menu [r] 2
 
Please enter the ldap server hostname: ldap-zb-01.juntotelecom.com.br
 
Common configuration
 
   1) Hostname:                                mbox-zb-01.juntotelecom.com.br
   2) Ldap master host:                        ldap-zb-01.juntotelecom.com.br
   3) Ldap port:                               389
** 4) Ldap Admin password:                     Not Verified
   5) LDAP Base DN:                            cn=zimbra
   6) Store ephemeral attributes outside Ldap: no
   7) Secure interprocess communications:      yes
   8) TimeZone:                                America/Araguaina
   9) IP Mode:                                 ipv4
  10) Default SSL digest:                      sha256
 
Select, or 'r' for previous menu [r] 4
 
Password for ldap admin user (min 6 characters): [N0rt3lp@3012]
Setting defaults from ldap...done.
 
Common configuration
 
   1) Hostname:                                mbox-zb-01.juntotelecom.com.br
   2) Ldap master host:                        ldap-zb-01.juntotelecom.com.br
   3) Ldap port:                               389
   4) Ldap Admin password:                     set
   5) LDAP Base DN:                            cn=zimbra
   6) Store ephemeral attributes outside Ldap: yes
   7) Value for zimbraEphemeralBackendURL:     ldap://default
   8) Secure interprocess communications:      yes
   9) TimeZone:                                America/Sao_Paulo
  10) IP Mode:                                 ipv4
  11) Default SSL digest:                      sha256
 
Select, or 'r' for previous menu [r] r
 
Main menu
 
   1) Common Configuration:
   2) zimbra-logger:                           Enabled
   3) zimbra-snmp:                             Enabled
   4) zimbra-store:                            Enabled
        +Create Admin User:                    yes
        +Admin user to create:                 admin@juntotelecom.com.br
******* +Admin Password                        UNSET
        +Anti-virus quarantine user:           virus-quarantine.xafqikhy@juntotelecom.com.br
        +Enable automated spam training:       yes
        +Spam training user:                   spam.vq470_rsl@juntotelecom.com.br
        +Non-spam(Ham) training user:          ham.e9t7vbfmtp@juntotelecom.com.br
******* +SMTP host:                            UNSET
        +Web server HTTP port:                 8080
        +Web server HTTPS port:                8443
        +HTTP proxy port:                      80
        +HTTPS proxy port:                     443
        +Web server mode:                      https
        +IMAP server port:                     7143
        +IMAP server SSL port:                 7993
        +IMAP proxy port:                      143
        +IMAP SSL proxy port:                  993
        +POP server port:                      7110
        +POP server SSL port:                  7995
        +POP proxy port:                       110
        +POP SSL proxy port:                   995
        +Use spell check server:               yes
        +Spell server URL:                     http://mbox-zb-01.juntotelecom.com.br:7780/aspell.php
        +Configure for use with mail proxy:    TRUE
        +Configure for use with web proxy:     TRUE
        +Enable version update checks:         TRUE
        +Enable version update notifications:  TRUE
        +Version update notification email:    admin@juntotelecom.com.br
        +Version update source email:          admin@juntotelecom.com.br
        +Install mailstore (service webapp):   yes
        +Install UI (zimbra,zimbraAdmin webapps): yes
 
   5) zimbra-spell:                            Enabled
   6) Default Class of Service Configuration:
   s) Save config to file
   x) Expand menu
   q) Quit
 
Address unconfigured (**) items  (? - help) 4
 
 
Store configuration
 
   1) Status:                                  Enabled
   2) Create Admin User:                       yes
   3) Admin user to create:                    admin@juntotelecom.com.br
** 4) Admin Password                           UNSET
   5) Anti-virus quarantine user:              virus-quarantine.xafqikhy@juntotelecom.com.br
   6) Enable automated spam training:          yes
   7) Spam training user:                      spam.vq470_rsl@juntotelecom.com.br
   8) Non-spam(Ham) training user:             ham.e9t7vbfmtp@juntotelecom.com.br
** 9) SMTP host:                               UNSET
  10) Web server HTTP port:                    8080
  11) Web server HTTPS port:                   8443
  12) HTTP proxy port:                         80
  13) HTTPS proxy port:                        443
  14) Web server mode:                         https
  15) IMAP server port:                        7143
  16) IMAP server SSL port:                    7993
  17) IMAP proxy port:                         143
  18) IMAP SSL proxy port:                     993
  19) POP server port:                         7110
  20) POP server SSL port:                     7995
  21) POP proxy port:                          110
  22) POP SSL proxy port:                      995
  23) Use spell check server:                  yes
  24) Spell server URL:                        http://mbox-zb-01.juntotelecom.com.br:7780/aspell.php
  25) Configure for use with mail proxy:       TRUE
  26) Configure for use with web proxy:        TRUE
  27) Enable version update checks:            TRUE
  28) Enable version update notifications:     TRUE
  29) Version update notification email:       admin@juntotelecom.com.br
  30) Version update source email:             admin@juntotelecom.com.br
  31) Install mailstore (service webapp):      yes
  32) Install UI (zimbra,zimbraAdmin webapps): yes
 
Select, or 'r' for previous menu [r] 4
 
Password for admin@juntotelecom.com.br (min 6 characters): [1uxahuKF] N0rt3lp@3012
 
Store configuration
 
   1) Status:                                  Enabled
   2) Create Admin User:                       yes
   3) Admin user to create:                    admin@juntotelecom.com.br
   4) Admin Password                           set
   5) Anti-virus quarantine user:              virus-quarantine.xafqikhy@juntotelecom.com.br
   6) Enable automated spam training:          yes
   7) Spam training user:                      spam.vq470_rsl@juntotelecom.com.br
   8) Non-spam(Ham) training user:             ham.e9t7vbfmtp@juntotelecom.com.br
** 9) SMTP host:                               UNSET
  10) Web server HTTP port:                    8080
  11) Web server HTTPS port:                   8443
  12) HTTP proxy port:                         80
  13) HTTPS proxy port:                        443
  14) Web server mode:                         https
  15) IMAP server port:                        7143
  16) IMAP server SSL port:                    7993
  17) IMAP proxy port:                         143
  18) IMAP SSL proxy port:                     993
  19) POP server port:                         7110
  20) POP server SSL port:                     7995
  21) POP proxy port:                          110
  22) POP SSL proxy port:                      995
  23) Use spell check server:                  yes
  24) Spell server URL:                        http://mbox-zb-01.juntotelecom.com.br:7780/aspell.php
  25) Configure for use with mail proxy:       TRUE
  26) Configure for use with web proxy:        TRUE
  27) Enable version update checks:            TRUE
  28) Enable version update notifications:     TRUE
  29) Version update notification email:       admin@juntotelecom.com.br
  30) Version update source email:             admin@juntotelecom.com.br
  31) Install mailstore (service webapp):      yes
  32) Install UI (zimbra,zimbraAdmin webapps): yes
 
Select, or 'r' for previous menu [r] 9
 
Please enter the SMTP server hostname: mta-zb-01.juntotelecom.com.br
 
Store configuration
 
   1) Status:                                  Enabled
   2) Create Admin User:                       yes
   3) Admin user to create:                    admin@juntotelecom.com.br
   4) Admin Password                           set
   5) Anti-virus quarantine user:              virus-quarantine.xafqikhy@juntotelecom.com.br
   6) Enable automated spam training:          yes
   7) Spam training user:                      spam.vq470_rsl@juntotelecom.com.br
   8) Non-spam(Ham) training user:             ham.e9t7vbfmtp@juntotelecom.com.br
   9) SMTP host:                               mta-zb-01.juntotelecom.com.br
  10) Web server HTTP port:                    8080
  11) Web server HTTPS port:                   8443
  12) HTTP proxy port:                         80
  13) HTTPS proxy port:                        443
  14) Web server mode:                         https
  15) IMAP server port:                        7143
  16) IMAP server SSL port:                    7993
  17) IMAP proxy port:                         143
  18) IMAP SSL proxy port:                     993
  19) POP server port:                         7110
  20) POP server SSL port:                     7995
  21) POP proxy port:                          110
  22) POP SSL proxy port:                      995
  23) Use spell check server:                  yes
  24) Spell server URL:                        http://mbox-zb-01.juntotelecom.com.br:7780/aspell.php
  25) Configure for use with mail proxy:       TRUE
  26) Configure for use with web proxy:        TRUE
  27) Enable version update checks:            TRUE
  28) Enable version update notifications:     TRUE
  29) Version update notification email:       admin@juntotelecom.com.br
  30) Version update source email:             admin@juntotelecom.com.br
  31) Install mailstore (service webapp):      yes
  32) Install UI (zimbra,zimbraAdmin webapps): yes
 
Select, or 'r' for previous menu [r] r
 
Main menu
 
   1) Common Configuration:
   2) zimbra-logger:                           Enabled
   3) zimbra-snmp:                             Enabled
   4) zimbra-store:                            Enabled
   5) zimbra-spell:                            Enabled
   6) Default Class of Service Configuration:
   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] yes
Save config in file: [/opt/zimbra/config.5599]
Saving config in /opt/zimbra/config.5599...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup.20181011-144537.log
Setting local config values...done.
Initializing core config...Updating ldap_root_password and zimbra_ldap_password...done.
Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL zimbra-store certificate...done.
Installing mailboxd SSL certificates...done.
Creating server entry for mbox-zb-01.juntotelecom.com.br...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 mbox-zb-01.juntotelecom.com.br...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 mbox-zb-01.juntotelecom.com.br to zimbraReverseProxyAvailableLookupTargets
Setting services on mbox-zb-01.juntotelecom.com.br...done.
Adding mbox-zb-01.juntotelecom.com.br to zimbraMailHostPool in default COS...done.
Creating domain juntotelecom.com.br...already exists.
Creating admin account admin@juntotelecom.com.br...done.
Creating root alias...done.
Creating postmaster alias...done.
Creating user spam.vq470_rsl@juntotelecom.com.br...done.
Creating user ham.e9t7vbfmtp@juntotelecom.com.br...done.
Creating user virus-quarantine.xafqikhy@juntotelecom.com.br...done.
Setting spam training and Anti-virus quarantine accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for mbox-zb-01.juntotelecom.com.br...done.
Configuring SNMP...done.
Setting up syslog.conf...done.
Starting servers...done.
Installing common zimlets...
        com_zimbra_adminversioncheck...done.
        com_zimbra_attachcontacts...done.
        com_zimbra_attachmail...done.
        com_zimbra_bulkprovision...done.
        com_zimbra_cert_manager...done.
        com_zimbra_clientuploader...done.
        com_zimbra_date...done.
        com_zimbra_email...done.
        com_zimbra_mailarchive...done.
        com_zimbra_phone...done.
        com_zimbra_proxy_config...done.
        com_zimbra_srchhighlighter...done.
        com_zimbra_tooltip...done.
        com_zimbra_url...done.
        com_zimbra_viewmail...done.
        com_zimbra_webex...done.
        com_zimbra_ymemoticons...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.10_GA_3039_RHEL7_64)
        The ADMIN EMAIL ADDRESS created (admin@juntotelecom.com.br)
 
Notify Zimbra of your installation? [Yes] no
Notification skipped
Checking if the NG started running...done.
Setting up zimbra crontab...done.
 
 
Moving /tmp/zmsetup.20181011-144537.log to /opt/zimbra/log
 
 
Configuration complete - press return to exit
root@mbox-zb-01:/usr/src# su - zimbra
[zimbra@mbox-zb-01 ~]$ zmcontrol status
Host mbox-zb-01.juntotelecom.com.br
        logger                  Running
        mailbox                 Running
        service webapp          Running
        snmp                    Running
        spell                   Running
        stats                   Running
        zimbra webapp           Running
        zimbraAdmin webapp      Running
        zimlet webapp           Running
        zmconfigd               Running