====== proxy-zb-01 ======
==== Preparar partição de instalação do zimbra ====
[root@proxy-zb-01 ~]# fdisk -l /dev/sdb
Disk /dev/sdb: 21.5 GB, 21474836480 bytes, 41943040 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@proxy-zb-01 ~]# fdisk /dev/sdb
[root@proxy-zb-01 ~]# pvcreate /dev/sdb1.
[root@proxy-zb-01 ~]# vgcreate vg_zb_proxy /dev/sdb1
[root@proxy-zb-01 ~]# lvcreate -L 18G -n lv_zb_proxy vg_zb_proxy
[root@proxy-zb-01 ~]# mkfs.xfs /dev/vg_zb_proxy/lv_zb_proxy
[root@proxy-zb-01 ~]# mount /dev/vg_zb_proxy/lv_zb_proxy /opt/
[root@proxy-zb-01 ~]# echo "# Zimbra" >> /etc/fstab
[root@proxy-zb-01 ~]# echo "/dev/mapper/vg_zb_proxy-lv_zb_proxy /opt xfs defaults 0 0" >> /etc/fstab
[root@proxy-zb-01 ~]# reboot
root@proxy-zb-01:~# df -h | egrep opt
/dev/mapper/vg_zb_proxy-lv_zb_proxy 18G 33M 18G 1% /opt
# ./install.sh
Operations logged to /tmp/install.log.9jRuSjj7
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] n
Install zimbra-mta [Y] n
Install zimbra-dnscache [N] n
Install zimbra-snmp [Y] y
Install zimbra-store [Y] n
Install zimbra-apache [Y] n
Install zimbra-spell [Y] n
Install zimbra-memcached [Y] y
Install zimbra-proxy [Y] y
Checking required space for zimbra-core
Installing:
zimbra-core
zimbra-snmp
zimbra-memcached
zimbra-proxy
The system will be modified. Continue? [N] y
Beginning Installation - see /tmp/install.log.9jRuSjj7 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-snmp-components will be downloaded and installed.
zimbra-snmp will be installed.
zimbra-memcached will be downloaded and installed.
zimbra-proxy-components will be downloaded and installed.
zimbra-proxy will be installed.
Downloading packages (4):
zimbra-core-components
zimbra-snmp-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 (4):
zimbra-core-components
zimbra-snmp-components
zimbra-memcached
zimbra-proxy-components
...done
Installing local packages (13):
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-snmp
zimbra-proxy
...done
Running Post Installation Configuration:
Operations logged to /tmp/zmsetup.20181011-164359.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: proxy-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-snmp: Enabled
3) zimbra-proxy: Enabled
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help) 1
Common configuration
1) Hostname: proxy-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: proxy-zb-01.juntotelecom.com.br
2) Ldap master host: ldap-zb-01.juntotelecom.com.br
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] 4
Password for ldap admin user (min 6 characters): N0rt3lp@3012
Setting defaults from ldap...done.
Common configuration
1) Hostname: proxy-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:
+Hostname: proxy-zb-01.juntotelecom.com.br
+Ldap master host: ldap-zb-01.juntotelecom.com.br
+Ldap port: 389
+Ldap Admin password: set
+LDAP Base DN: cn=zimbra
+Store ephemeral attributes outside Ldap: yes
+Value for zimbraEphemeralBackendURL: ldap://default
+Secure interprocess communications: yes
+TimeZone: America/Sao_Paulo
+IP Mode: ipv4
+Default SSL digest: sha256
2) zimbra-snmp: Enabled
3) zimbra-proxy: Enabled
+Enable POP/IMAP Proxy: TRUE
+Enable strict server name enforcement? TRUE
+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
******* +Bind password for nginx ldap user: Not Verified
+Enable HTTP[S] Proxy: TRUE
+Web server HTTP port: 8080
+Web server HTTPS port: 8443
+HTTP proxy port: 80
+HTTPS proxy port: 443
+Proxy server mode: https
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help) 3
Proxy configuration
1) Status: Enabled
2) Enable POP/IMAP Proxy: TRUE
3) Enable strict server name enforcement? TRUE
4) IMAP server port: 7143
5) IMAP server SSL port: 7993
6) IMAP proxy port: 143
7) IMAP SSL proxy port: 993
8) POP server port: 7110
9) POP server SSL port: 7995
10) POP proxy port: 110
11) POP SSL proxy port: 995
**12) Bind password for nginx ldap user: Not Verified
13) Enable HTTP[S] Proxy: TRUE
14) Web server HTTP port: 8080
15) Web server HTTPS port: 8443
16) HTTP proxy port: 80
17) HTTPS proxy port: 443
18) Proxy server mode: https
Select, or 'r' for previous menu [r] 12
Password for ldap Nginx user (min 6 characters): [YYW0zBPne] N0rt3lp@3012
Proxy configuration
1) Status: Enabled
2) Enable POP/IMAP Proxy: TRUE
3) Enable strict server name enforcement? TRUE
4) IMAP server port: 7143
5) IMAP server SSL port: 7993
6) IMAP proxy port: 143
7) IMAP SSL proxy port: 993
8) POP server port: 7110
9) POP server SSL port: 7995
10) POP proxy port: 110
11) POP SSL proxy port: 995
12) Bind password for nginx ldap user: set
13) Enable HTTP[S] Proxy: TRUE
14) Web server HTTP port: 8080
15) Web server HTTPS port: 8443
16) HTTP proxy port: 80
17) HTTPS proxy port: 443
18) Proxy server mode: https
Select, or 'r' for previous menu [r] 18
Please enter the proxy server mode (http,https,both,mixed,redirect) [https] redirect
Proxy configuration
1) Status: Enabled
2) Enable POP/IMAP Proxy: TRUE
3) Enable strict server name enforcement? TRUE
4) IMAP server port: 7143
5) IMAP server SSL port: 7993
6) IMAP proxy port: 143
7) IMAP SSL proxy port: 993
8) POP server port: 7110
9) POP server SSL port: 7995
10) POP proxy port: 110
11) POP SSL proxy port: 995
12) Bind password for nginx ldap user: set
13) Enable HTTP[S] Proxy: TRUE
14) Web server HTTP port: 8080
15) Web server HTTPS port: 8443
16) HTTP proxy port: 80
17) HTTPS proxy port: 443
18) Proxy server mode: redirect
Select, or 'r' for previous menu [r] r
Main menu
1) Common Configuration:
2) zimbra-snmp: Enabled
3) zimbra-proxy: Enabled
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.4073]
Saving config in /opt/zimbra/config.4073...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup.20181011-164359.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 zimbra-proxy SSL certificate...done.
Installing Proxy SSL certificate...done.
Creating server entry for proxy-zb-01.juntotelecom.com.br...done.
Setting Zimbra IP Mode...done.
Saving CA in ldap...done.
Saving SSL Certificate in ldap...done.
Disabling strict server name enforcement on proxy-zb-01.juntotelecom.com.br...done.
Setting services on proxy-zb-01.juntotelecom.com.br...done.
Configuring SNMP...done.
Setting up syslog.conf...done.
Starting servers...done.
Skipping creation of default domain GAL sync account - not a service node.
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-164359.log to /opt/zimbra/log
Configuration complete - press return to exit
root@proxy-zb-01:/usr/src# su - zimbra
[zimbra@proxy-zb-01 ~]$ zmcontrol status
Host proxy-zb-01.juntotelecom.com.br
memcached Running
proxy Running
snmp Running
stats Running
zmconfigd Running