CentOS 7.x Install Zimbra

From Notes_Wiki
Revision as of 09:49, 14 August 2017 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>CentOS_7.x_Zimbra_configuration|CentOS 7.x Zimbra configuration</yambe:breadcrumb> =CentOS 7.x Install Zimbra= # Disable Selinux permanently in '<tt>/etc/s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>CentOS_7.x_Zimbra_configuration|CentOS 7.x Zimbra configuration</yambe:breadcrumb>

CentOS 7.x Install Zimbra

  1. Disable Selinux permanently in '/etc/selinux/config'.
    SELINUX=disabled
  2. Disable SELinux for current run
    setenforce 0
  3. Allow required ports in Firewall
    firewall-cmd --permanent --add-port=<port-number>/tcp
    For Zimbra ports refer https://wiki.zimbra.com/wiki/Firewall_Configuration Apart from 389 (LDAP), 7073 (Soap Auth) and 7025 (LMTP) most others are required. Since TLS is used instead of SSL - port 25, 110, 143, etc. should also be allowed.
  4. Reload firewall for changes to take effect
    firewall-cmd --reload
  5. Configure hostname in '/etc/hosts'
    192.168.1.X zimbra.sbarjatiya.com zimbra
  6. Stop any MTA services installed in the server
    systemctl stop postfix
    systemctl disable postfix
    systemctl stop sendmail
    systemctl disable sendmail
  7. Install required packages
    yum install perl perl-core ntp nmap sudo libidn gmp libaio libstdc++ unzip sysstat sqlite -y
  8. If you want incoming emails to work properly, then setup correct MX records for the domain to point to this server.
  9. Download Zimbra latest version from official web site
    https://www.zimbra.com/downloads/
  10. Extract the downloaded file
    tar xzf zcs-8.7.6.X.X.X
  11. Start the installation
    cd zcs-8.7.6.X.X.X
    ./install.sh --platform-override
  12. Use below inputs for using Zimbra installation wizard
    1. Enter 'Y' for agreeing with terms of service
    2. Enter 'Y' for agreeing with license agreement
    3. Enter 'Y' for installing Zimbra-ldap, Zimbra-logger, Zimbra-mta, Zimbra-snmp, Zimbra-store, Zimbra-apache, Zimbra spell, chat, drive, etc. You can consider using 'N' for installing Zimbra-memcached and Zimbra-proxy
    4. Enter 'Y' for system will be modified warning. The setup should now install various rpms for Zimbra.
    5. If FQDN is different from domain name (eg FQDN zimbra.example.com, domain example.com) then Zimbra will give error that MX record cannot be resolved. Enter 'Yes' for change domain name.
    6. Enter new correct domain name such as example.com
    7. This would bring setup to Zimbra configuration menu. Only admin password needs to be configured rest all can be left as it is for basic setup. To configure admin password use menu option and set appropriate admin password.
    8. Press 'r' to return to previous menu and then 'a' for applying configuration
    9. Enter 'Yes' for saving configuration to a file
    10. Press enter for file path option and continue with whatever file name has been suggested
    11. Enter 'Yes' for system will be modified warning
    12. Now setup should take really long time for various installations and configurations
    13. Enter 'No' for notify Zimbra of installation for test machines. In case of production machines you can optionally enter 'Yes'.
    14. Press return to exit on 'Press return to exit' message :)
  13. Check status of Zimbra services which take a few minutes to start
    su - zimbra
    zmcontrol status
  14. Access admin panel via browser
    https://zimbra.sbarjatiya.com:7071


<yambe:breadcrumb>CentOS_7.x_Zimbra_configuration|CentOS 7.x Zimbra configuration</yambe:breadcrumb>