Jump to content

GSTN - Zimbra Installation

From TetraWiki
Revision as of 05:03, 5 February 2019 by Praveen (talk | contribs) (Created page with "category:GSTN <div style="margin-left:0cm;margin-right:0cm;">'''Table of Contents'''</div>1ZIMBRA Installation Prerequisites:2 :[[#RefHead...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



Table of Contents

1ZIMBRA Installation Prerequisites:2

1.1Application Requirement:2
1.2Operating System:4
1.3DNS Configuration:4
1.4Host file configuration.8

2Zimbra Installation Process:8

2.1ZCS Installation:8
2.2Installing Zimbra Mailbox Server9
2.3Installing Zimbra MTA -120
2.4Installing Zimbra MTA -228
2.5Installing Zimbra Archive Server37
2.6Log onto the Administration Console
43

















ZIMBRA Installation Prerequisites:

Application Requirement:

  • For Red Hat Enterprise operating systems, the server must have the following installed


Perl perl-core nmap libidn gmp libaio libstdc++ unzip sysstat sqlite libreoffice libreoffice-headless.

# yum install perl perl-core nmap libidn gmp libaio libstdc++ unzip sysstat sqlite* Libreoffice is installed only on mailbox servers.


# yum install libreoffice libreoffice-headless









Operating System:

Red Hat 6 or above (RHEL 7.2 in current implemented version)

DNS Configuration:

When you create a domain during the installation process, ZCS checks to see if you have an MX record correctly configured. If it is not, an error is displayed suggesting that the domain name have an MX record configured in DNS.


  • Install dns (bind) packages by below command:


# yum install bind bind-chroot bind-utils




















  • Enable named service on system boot time by below command:


# systemctl enable named


* Change listen-on-port and allow-query like below with required Ips who is allowed for query from this DNS.



* Create zone file location configuration for domains like below,





  • Create forward zone file.








  • Once the required environment is set, Execute the command to stop Linux default send mail service.






Host file configuration.

Open /etc/hosts file and make below changes.



Zimbra Installation Process:

Summary:


In Current scenario ZCS application Roles are getting configured on multiple-server node. In order to install Multi-Server Roles we have followed the Guideline by Zimbra which is as follows:


Important: Install the servers in the following order.


  • Zimbra LDAP and Mailbox Servers
  • Zimbra MTA Servers
  • Zimbra Archive server




ZCS Installation:

  • Copy ZCS Release 8.6.0_GA installable setup in all the servers.
  • We have downloaded the installation setup of ZCS and copied the same in Folder “Pack” under the root


Path is as Follow: zcs-NETWORK-8.6.0_GA_1153.RHEL7_64.20141215151204.tgz


  • As you see the above file is in compressed format which needs to be extracted first.
  • Execute following commands to unpack the installed file.
  • Under the directory /root
  • tar -xvzf zcs-NETWORK-8.6.0_GA_1153.RHEL7_64.20141215151204.tgz












Installing Zimbra Mailbox Server

As per solution designed we have to deploy 2 mail store servers, the installation process is only for one server other will be through RHEL cluster.


Follow all the prerequisite steps section.

Start Zimbra installation by executing command ./install.sh -l /tmp/ZCSLicense.xml --skip-activation-check

Typed Y/yes and pressed enter to install the following roles on mailstore server.


Zimbra-ldap

Zimbra-logger

Zimbra-snmp

Zimbra-store

zimbra-apache

Zimbra-spell

Zimbra-convertd


Except to that all other were marked No/N.


















* Configure domain name as gstn.org.in












* Set Password for admin@gstn.org.in and SMTP server host-name as mailbox.gstn.org.in.






  • Type the corresponding menu number to install the Zimbra license file. Enter the location of the Zimbra license file, i.e. /root/ZCSLicense.xml.



Type “r” to return to the Main menu


When the mailbox server is configured, return to the Main menu and type “a” to apply the configuration changes. Press “Enter” to save the configuration data.


When “Save Configuration data to a file” appears, press “Enter”.


The next request asks where to save the files.


To accept the default, press “Enter”.


To save the files to another directory, enter the directory and then press Enter.


When the “system will be modified – continue?” appears, type “y” and press Enter.


When “Configuration complete – press return to exit” displays, press “Enter”




























































Installing Zimbra MTA -1

  • Follow all the prerequisite steps
  • Start Zimbra installation by executing same command ./install.sh



Typed Y/yes and pressed enter to install the


  • Zimbra MTA
  • Zimbra Proxy
  • ZimbraMemcached
  • Zimbra SNMP



Select above packages, except to that all other were marked No/N. (Refer installation Screen)

On above screen Type “Y”, and press Enter to install the selected package(s)


The Main menu displays the default entries for the Zimbra component you are installing. To expand the menu to see all the configuration values type number and press Enter.


To navigate the Main menu, select the menu item to change. You can modify any of the values.

The Main menu displays. Type 1 and press Enter to go to the Common Configuration menu.

Type “2”, press Enter, and type the LDAP host name i.e. mailbox.gstn.org.in

Press Enter, and type the LDAP password.

Type “6”, press “Enter”, and type the LDAP postfix password.

Type “7”, press “Enter”, Bind password for LDAP Amavis User.

After setting these values, the server immediately contacts the LDAP server. If it cannot contact the server, you cannot proceed.

Type “r” to return to the Main menu

Type “2” to go to the MTA menu, again Type 2 to set the MTA Authentication host i.e. Zimbra mailbox server’s hostname

Type “4” to go to the Zimbra proxy configuration menu and set the bind password for the nginx LDAP user.

When the MTA server is configured, return to the Main menu and type “a” to apply the configuration changes. Press Enter to save the configuration data.

When Save Configuration data to a file appears, press Enter.

The next request asks where to save the files. To accept the default, press Enter. To save the files to another directory, enter the directory and then press Enter.

When the “system will be modified – continue?” appears, type y and press Enter.

When “Configuration complete – press return to exit” appears, press Enter









































Installing Zimbra MTA -2

  • Follow all the prerequisite steps
  • Start Zimbra installation by executing same command ./install.sh



Typed Y/yes and pressed enter to install the


  • Zimbra MTA
  • Zimbra Proxy
  • ZimbraMemcached
  • Zimbra SNMP



Select above packages, except to that all other were marked No/N. (Refer installation Screen)

On above screen Type “Y”, and press Enter to install the selected package(s)


The Main menu displays the default entries for the Zimbra component you are installing. To expand the menu to see all the configuration values type number and press Enter.


To navigate the Main menu, select the menu item to change. You can modify any of the values.

The Main menu displays. Type 1 and press Enter to go to the Common Configuration menu.

Type “2”, press Enter, and type the LDAP host name i.e. mailbox.gstn.org.in

Press Enter, and type the LDAP password.

Type “4”, press “Enter”, and type the LDAP postfix password.

Type “5”, press “Enter”, Bind password for LDAP Amavis User.

Type “8”, press “Enter”, For Ip mode.

After setting these values, the server immediately contacts the LDAP server. If it cannot contact the server, you cannot proceed.

Type “r” to return to the Main menu

When the MTA server is configured, return to the Main menu and type “a” to apply the configuration changes. Press Enter to save the configuration data.

When Save Configuration data to a file appears, press Enter.

The next request asks where to save the files. To accept the default, press Enter. To save the files to another directory, enter the directory and then press Enter.

When the “system will be modified – continue?” appears, type y and press Enter.

When “Configuration complete – press return to exit” appears, press Enter





































Installing Zimbra Archive Server

Follow all the prerequisite steps section.

Start Zimbra installation by executing command ./install.sh

Type Y/yes and pressed enter to install the following roles on mailstore server.


Zimbra-ldap

Zimbra-logger

Zimbra-snmp

Zimbra-store

zimbra-apache

Zimbra-spell

Zimbra-convertd

Zimbra-archiving


Except to that all other were marked No/N.




  • On above screen Type “Y”, and press Enter to install the selected package(s).


Type “2”, press Enter, and type the LDAP host name i.e. mailbox.gstn.org.in


Type “4”, press “Enter”, and type the LDAP password.
Type “8”, press “Enter”, For Ip mode.



Type “r” to return to the Main menu.



Type “4”, press “Enter”, and type the admin password.



Type “5”, press “Enter”, and change SMTP source email address.



Type “6”, press “Enter”, and change SMTP destination email address.



  • Type the corresponding menu number to install the Zimbra license file. Enter the location of the Zimbra license file, i.e. /root/ZCSLicense.xml.



Type “r” to return to the Main menu


When the mailbox server is configured, return to the Main menu and type “a” to apply the configuration changes. Press “Enter” to save the configuration data.


When “Save Configuration data to a file” appears, press “Enter”.


The next request asks where to save the files.


To accept the default, press “Enter”.


To save the files to another directory, enter the directory and then press Enter.


When the “system will be modified – continue?” appears, type “y” and press Enter.


When “Configuration complete – press return to exit” displays, press “Enter”



Log onto the Administration Console


Open any of your favorite web browser and access the zimbra web administration console with your 172.18.101.20 or hostname and supply the credentials.