wikiv3:ldap-zb-01
Table of Contents
LDAP Server 01
Preparar partição de instalação do zimbra
root@ldap-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@ldap-zb-01:~# fdisk /dev/sdb
root@ldap-zb-01:~# pvcreate /dev/sdb1 root@ldap-zb-01:~# vgcreate vg_zb_ldap /dev/sdb1 root@ldap-zb-01:~# lvcreate -L 18G -n lv_zb_ldap vg_zb_ldap
root@ldap-zb-01:~# mkfs.xfs /dev/vg_zb_ldap/lv_zb_ldap root@ldap-zb-01:~# mount /dev/vg_zb_ldap/lv_zb_ldap /opt/ root@ldap-zb-01:~# echo "# Zimbra" >> /etc/fstab root@ldap-zb-01:~# echo "/dev/mapper/vg_zb_ldap-lv_zb_ldap /opt xfs defaults 0 0" >> /etc/fstab
root@ldap-zb-01:~# reboot
root@ldap-zb-01:~# df -h | egrep opt /dev/mapper/vg_zb_ldap-lv_zb_ldap 18G 33M 18G 1% /opt
Instalação
# ./install.sh Operations logged to /tmp/install.log.fPv0kyly 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] y 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] n Install zimbra-proxy [Y] n Checking required space for zimbra-core Installing: zimbra-core zimbra-ldap zimbra-snmp The system will be modified. Continue? [N] y Beginning Installation - see /tmp/install.log.fPv0kyly 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-ldap-components will be downloaded and installed. zimbra-ldap will be installed. zimbra-snmp-components will be downloaded and installed. zimbra-snmp will be installed. Downloading packages (3): zimbra-core-components zimbra-ldap-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 (3): zimbra-core-components zimbra-ldap-components zimbra-snmp-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-ldap zimbra-snmp ...done Running Post Installation Configuration: Operations logged to /tmp/zmsetup.20181011-110516.log Installing LDAP configuration database...done. Setting defaults...sh: /sbin/ifconfig: Arquivo ou diretório não encontrado DNS ERROR resolving MX for ldap-zb-01.juntotelecom.com.br It is suggested that the domain name have an MX record configured in DNS Change domain name? [Yes] yes Create domain: [ldap-zb-01.juntotelecom.com.br] juntotelecom.com.br done. Checking for port conflicts sh: netstat: comando não encontrado Main menu 1) Common Configuration: 2) zimbra-ldap: Enabled 3) 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) 1 Common configuration 1) Hostname: ldap-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) Store ephemeral attributes outside Ldap: no 6) Secure interprocess communications: yes 7) TimeZone: America/Araguaina 8) IP Mode: ipv4 9) Default SSL digest: sha256 Select, or 'r' for previous menu [r] 4 Password for ldap admin user (min 6 characters): [FDR5FguCDQ] N0rt3lp@3012 Common configuration 1) Hostname: ldap-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) Store ephemeral attributes outside Ldap: no 6) Secure interprocess communications: yes 7) TimeZone: America/Araguaina 8) IP Mode: ipv4 9) Default SSL digest: sha256 Select, or 'r' for previous menu [r] 7 1 Africa/Algiers 2 Africa/Cairo 3 Africa/Casablanca 4 Africa/Harare 5 Africa/Monrovia 6 Africa/Nairobi 7 Africa/Tripoli 8 Africa/Windhoek 9 America/Adak 10 America/Anchorage 11 America/Araguaina 12 America/Argentina/Buenos_Aires 13 America/Asuncion 14 America/Bahia 15 America/Bogota 16 America/Cancun 17 America/Caracas 18 America/Cayenne 19 America/Chicago 20 America/Chihuahua 21 America/Cuiaba 22 America/Denver 23 America/Fort_Nelson 24 America/Godthab 25 America/Grand_Turk 26 America/Guatemala 27 America/Guyana 28 America/Halifax 29 America/Havana 30 America/Indiana/Indianapolis 31 America/Los_Angeles 32 America/Mexico_City 33 America/Miquelon 34 America/Montevideo 35 America/New_York 36 America/Phoenix 37 America/Port-au-Prince 38 America/Punta_Arenas 39 America/Regina 40 America/Santiago 41 America/Sao_Paulo 42 America/St_Johns 43 America/Tijuana 44 Asia/Almaty 45 Asia/Amman 46 Asia/Baghdad 47 Asia/Baku 48 Asia/Bangkok 49 Asia/Barnaul 50 Asia/Beirut 51 Asia/Chita 52 Asia/Colombo 53 Asia/Damascus 54 Asia/Dhaka 55 Asia/Gaza 56 Asia/Hong_Kong 57 Asia/Hovd 58 Asia/Irkutsk 59 Asia/Jerusalem 60 Asia/Kabul 61 Asia/Kamchatka 62 Asia/Karachi 63 Asia/Kathmandu 64 Asia/Kolkata 65 Asia/Krasnoyarsk 66 Asia/Kuala_Lumpur 67 Asia/Kuwait 68 Asia/Magadan 69 Asia/Muscat 70 Asia/Novosibirsk 71 Asia/Omsk 72 Asia/Pyongyang 73 Asia/Sakhalin 74 Asia/Seoul 75 Asia/Singapore 76 Asia/Srednekolymsk 77 Asia/Taipei 78 Asia/Tashkent 79 Asia/Tbilisi 80 Asia/Tehran 81 Asia/Tokyo 82 Asia/Tomsk 83 Asia/Ulaanbaatar 84 Asia/Vladivostok 85 Asia/Yakutsk 86 Asia/Yangon 87 Asia/Yekaterinburg 88 Asia/Yerevan 89 Atlantic/Azores 90 Atlantic/Cape_Verde 91 Atlantic/South_Georgia 92 Australia/Adelaide 93 Australia/Brisbane 94 Australia/Darwin 95 Australia/Eucla 96 Australia/Hobart 97 Australia/Lord_Howe 98 Australia/Perth 99 Australia/Sydney 100 Etc/GMT+12 101 Europe/Astrakhan 102 Europe/Athens 103 Europe/Belgrade 104 Europe/Berlin 105 Europe/Brussels 106 Europe/Bucharest 107 Europe/Chisinau 108 Europe/Helsinki 109 Europe/Istanbul 110 Europe/Kaliningrad 111 Europe/London 112 Europe/Minsk 113 Europe/Moscow 114 Europe/Samara 115 Europe/Saratov 116 Europe/Warsaw 117 Indian/Mauritius 118 Pacific/Apia 119 Pacific/Auckland 120 Pacific/Bougainville 121 Pacific/Chatham 122 Pacific/Easter 123 Pacific/Fiji 124 Pacific/Guadalcanal 125 Pacific/Guam 126 Pacific/Honolulu 127 Pacific/Kiritimati 128 Pacific/Marquesas 129 Pacific/Midway 130 Pacific/Norfolk 131 Pacific/Tongatapu 132 UTC Enter the number for the local timezone: [11] 41 Common configuration 1) Hostname: ldap-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) Store ephemeral attributes outside Ldap: no 6) Secure interprocess communications: yes 7) TimeZone: America/Sao_Paulo 8) IP Mode: ipv4 9) Default SSL digest: sha256 Select, or 'r' for previous menu [r] Main menu 1) Common Configuration: 2) zimbra-ldap: Enabled 3) 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) 2 Ldap configuration 1) Status: Enabled 2) Create Domain: yes 3) Domain to create: juntotelecom.com.br 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 9) Ldap Bes Searcher password: set Select, or 'r' for previous menu [r] 4 Password for ldap root user (min 6 characters): [FDR5FguCDQ] N0rt3lp@3012 Ldap configuration 1) Status: Enabled 2) Create Domain: yes 3) Domain to create: juntotelecom.com.br 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 9) Ldap Bes Searcher password: set Select, or 'r' for previous menu [r] 5 Password for ldap replication user (min 6 characters): [FDR5FguCDQ] N0rt3lp@3012 Ldap configuration 1) Status: Enabled 2) Create Domain: yes 3) Domain to create: juntotelecom.com.br 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 9) Ldap Bes Searcher password: set Select, or 'r' for previous menu [r] 6 Password for ldap Postfix user (min 6 characters): [FDR5FguCDQ] N0rt3lp@3012 Ldap configuration 1) Status: Enabled 2) Create Domain: yes 3) Domain to create: juntotelecom.com.br 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 9) Ldap Bes Searcher password: set Select, or 'r' for previous menu [r] 7 Password for ldap Amavis user (min 6 characters): [FDR5FguCDQ] N0rt3lp@3012 Ldap configuration 1) Status: Enabled 2) Create Domain: yes 3) Domain to create: juntotelecom.com.br 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 9) Ldap Bes Searcher password: set Select, or 'r' for previous menu [r] 8 Password for ldap Nginx user (min 6 characters): [FDR5FguCDQ] N0rt3lp@3012 Ldap configuration 1) Status: Enabled 2) Create Domain: yes 3) Domain to create: juntotelecom.com.br 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 9) Ldap Bes Searcher password: set Select, or 'r' for previous menu [r] 9 Password for ldap BES user (min 6 characters): [FDR5FguCDQ] N0rt3lp@3012 Ldap configuration 1) Status: Enabled 2) Create Domain: yes 3) Domain to create: juntotelecom.com.br 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 9) Ldap Bes Searcher password: set Select, or 'r' for previous menu [r] r Main menu 1) Common Configuration: 2) zimbra-ldap: Enabled 3) 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.15162] Saving config in /opt/zimbra/config.15162...done. The system will be modified - continue? [No] yes Operations logged to /tmp/zmsetup.20181011-110516.log Setting local config values...done. Initializing core config...Setting up CA...done. Deploying CA to /opt/zimbra/conf/ca ...done. Creating zimbra-ldap SSL certificate...done. Installing LDAP 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 ldap-zb-01.juntotelecom.com.br...done. Setting Zimbra IP Mode...done. Saving CA in ldap...done. Saving SSL Certificate in ldap...done. Updating zimbraLDAPSchemaVersion to version '1537160923' Setting TimeZone Preference...done. Setting services on ldap-zb-01.juntotelecom.com.br...done. Creating domain juntotelecom.com.br...done. Setting default domain name...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-110516.log to /opt/zimbra/log Configuration complete - press return to exit
root@ldap-zb-01:~# su - zimbra
[zimbra@ldap-zb-01 ~]$ zmcontrol status Host ldap-zb-01.juntotelecom.com.br ldap Running snmp Running stats Running zmconfigd Running
wikiv3/ldap-zb-01.txt · Last modified: by 127.0.0.1
