====== mta-zb-01 ====== ==== Preparar partição de instalação do zimbra ==== [root@mta-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@mta-zb-01 ~]# fdisk /dev/sdb [root@mta-zb-01 ~]# pvcreate /dev/sdb1 [root@mta-zb-01 ~]# vgcreate vg_zb_mta /dev/sdb1 [root@mta-zb-01 ~]# lvcreate -L 18G -n lv_zb_mta vg_zb_mta [root@mta-zb-01 ~]# mkfs.xfs /dev/vg_zb_mta/lv_zb_mta [root@mta-zb-01 ~]# mount /dev/vg_zb_mta/lv_zb_mta /opt/ [root@mta-zb-01 ~]# echo "# Zimbra" >> /etc/fstab [root@mta-zb-01 ~]# echo "/dev/mapper/vg_zb_mta-lv_zb_mta /opt xfs defaults 0 0" >> /etc/fstab [root@mta-zb-01 ~]# reboot root@mta-zb-01:~# df -h | egrep opt /dev/mapper/vg_zb_mta-lv_zb_mta 18G 33M 18G 1% /opt ==== Instalação ==== # ./install.sh Operations logged to /tmp/install.log.Ske52Yb6 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] y Install zimbra-dnscache [Y] y Install zimbra-snmp [Y] y Install zimbra-store [Y] n Install zimbra-apache [Y] n Install zimbra-spell [Y] n Install zimbra-memcached [Y] n Install zimbra-proxy [Y] n Checking required space for zimbra-core Installing: zimbra-core zimbra-mta zimbra-dnscache zimbra-snmp The system will be modified. Continue? [N] y Beginning Installation - see /tmp/install.log.Ske52Yb6 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-mta-components will be downloaded and installed. zimbra-mta will be installed. zimbra-dnscache-components will be downloaded and installed. zimbra-dnscache will be installed. zimbra-snmp-components will be downloaded and installed. zimbra-snmp will be installed. Downloading packages (4): zimbra-core-components zimbra-mta-components zimbra-dnscache-components zimbra-snmp-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-mta-components zimbra-dnscache-components zimbra-snmp-components ...done Installing local packages (14): 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-mta zimbra-dnscache zimbra-snmp ...done Running Post Installation Configuration: Operations logged to /tmp/zmsetup.20181011-154509.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: mta-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-mta: Enabled +Enable Spamassassin: yes +Enable Clam AV: yes +Enable OpenDKIM: yes +Notification address for AV alerts: admin@mta-zb-01.juntotelecom.com.br ******* +Bind password for postfix ldap user: UNSET ******* +Bind password for amavis ldap user: UNSET 3) zimbra-dnscache: Enabled 4) zimbra-snmp: Enabled s) Save config to file x) Expand menu q) Quit Address unconfigured (**) items (? - help) 1 Common configuration 1) Hostname: mta-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: mta-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: mta-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: mta-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-mta: Enabled +Enable Spamassassin: yes +Enable Clam AV: yes +Enable OpenDKIM: yes +Notification address for AV alerts: admin@mta-zb-01.juntotelecom.com.br ******* +Bind password for postfix ldap user: UNSET ******* +Bind password for amavis ldap user: UNSET 3) zimbra-dnscache: Enabled 4) zimbra-snmp: Enabled s) Save config to file x) Expand menu q) Quit Address unconfigured (**) items (? - help) 2 Mta configuration 1) Status: Enabled 2) Enable Spamassassin: yes 3) Enable Clam AV: yes 4) Enable OpenDKIM: yes 5) Notification address for AV alerts: admin@mta-zb-01.juntotelecom.com.br ** 6) Bind password for postfix ldap user: UNSET ** 7) Bind password for amavis ldap user: UNSET Select, or 'r' for previous menu [r] 5 Notification address for AV alerts: [admin@mta-zb-01.juntotelecom.com.br] admin@juntotelecom.com.br Mta configuration 1) Status: Enabled 2) Enable Spamassassin: yes 3) Enable Clam AV: yes 4) Enable OpenDKIM: yes 5) Notification address for AV alerts: admin@juntotelecom.com.br ** 6) Bind password for postfix ldap user: UNSET ** 7) Bind password for amavis ldap user: UNSET Select, or 'r' for previous menu [r] 6 Password for ldap Postfix user (min 6 characters): N0rt3lp@3012 Mta configuration 1) Status: Enabled 2) Enable Spamassassin: yes 3) Enable Clam AV: yes 4) Enable OpenDKIM: yes 5) Notification address for AV alerts: admin@juntotelecom.com.br 6) Bind password for postfix ldap user: set ** 7) Bind password for amavis ldap user: UNSET Select, or 'r' for previous menu [r] 7 Password for ldap Amavis user (min 6 characters): N0rt3lp@3012 Mta configuration 1) Status: Enabled 2) Enable Spamassassin: yes 3) Enable Clam AV: yes 4) Enable OpenDKIM: yes 5) Notification address for AV alerts: admin@juntotelecom.com.br 6) Bind password for postfix ldap user: set 7) Bind password for amavis ldap user: set Select, or 'r' for previous menu [r] r Main menu 1) Common Configuration: 2) zimbra-mta: Enabled 3) zimbra-dnscache: Enabled 4) zimbra-snmp: 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.4282] Saving config in /opt/zimbra/config.4282...done. The system will be modified - continue? [No] yes Operations logged to /tmp/zmsetup.20181011-154509.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-mta SSL certificate...done. Installing MTA SSL certificates...done. Creating server entry for mta-zb-01.juntotelecom.com.br...done. Setting Zimbra IP Mode...done. Saving CA in ldap...done. Saving SSL Certificate in ldap...done. Setting Master DNS IP address(es)...done. Setting DNS cache tcp lookup preference...done. Setting DNS cache udp lookup preference...done. Setting DNS tcp upstream preference...done. Initializing mta config...done. Setting services on mta-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-154509.log to /opt/zimbra/log Configuration complete - press return to exit root@mta-zb-01:/usr/src# su - zimbra [zimbra@mta-zb-01 ~]$ zmcontrol status Host mta-zb-01.juntotelecom.com.br amavis Running antispam Running antivirus Running dnscache Running mta Running opendkim Running snmp Running stats Running zmconfigd Running