Installing Zimbra community 8.7 on Ubuntu 16.04

 

Zimbra email collaboration is the leading open source enterprise email solution and the most preferred alternative to Microsoft Exchange. It is now available in hosted, cloud and on-premise versions. Zimbra provides an excellent browser-based interface that allows users to integrate with mail clients easily. Silent Infotech provides consultation, implementation and migration services with support for your Zimbra email/collaboration solution.

Download zimbra based on your platform, from latest release Zimbra Open Source. Here we will choose Ubuntu 16.04 LTS 64-bit release and download it with wget. Get the download address location and download form machine where you want to install zimbra

Download zimbra

root@silent:/cd /home/
root@silent:/home# wget https://files.zimbra.com/downloads/8.7.7_GA/zcs-8.7.7_GA_1787.UBUNTU16_64.20170410133400.tgz

Extract downloaded zimbra

root@silent:/home# tar tar xzf zcs-8.7.7_GA_1787.UBUNTU16_64.20170410133400.tgz

Prerequisite to install zimbra

Step 1 : In case the system configured by using DHCP, you need set an static IP for Zimbra Collaboration.

root@zimbra8:~# vim /etc/network/interfaces

 

If you have dhcp line:

allow-hotplug eth0 
iface eth0 inet dhcp

 

Then change it to static Ethernet configuration:

allow-hotplug eth0 
iface eth0 inet static
address 10.X.X.X 
netmask 255.255.255.0
gateway 10.X.X.X
dns-nameservers 127.0.0.1
dns-nameservers 8.8.8.8

 

Note, address : Zimbra machine ip,

gateway : router IP address in your Environment.

DNS Server, type your own Zimbra server if you will use an internal DNS server on Zimbra Server, or other IP in case you have a valid DNS Server already exist.

Step 2 : Set hostname

root@silent:/home# vi /etc/hosts
127.0.0.1       localhost

10.10.2.101   mail.silent.com mail

Step 3 : Reboot machine

root@silent:/home# reboot

Install zimbra

root@silent:/home# cd zcs-8.7.7_GA_1787.UBUNTU16_64.20170410133400/

root@silent:/home/zcs-8.7.7_GA_1787.UBUNTU16_64.20170410133400# ./install.sh

Now follow given steps to complete the installation:

Step 1 : Read and accept license agreement:

...
...
License Terms for the Zimbra Collaboration Suite:
http://www.zimbra.com/license/zimbra-public-eula-2-5.html
Do you agree with the terms of the software license agreement? [N] y

Step 2 : Now it will check if some zimbra packages already exist

Operations logged to /tmp/install.log.zlP8ruf3
Checking for existing installation...
    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.
ZIMBRA, INC. ("ZIMBRA") 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 the Zimbra Collaboration Suite:
  http://www.zimbra.com/license/zimbra-public-eula-2-5.html
Do you agree with the terms of the software license agreement? [N] y

Step 3 : Select the services to be installed on this server.

To install Zimbra Collaboration on a single server, enter Y for the ldap, logger, mta, snmp, store, and spell packages.The installer verifies that there is enough room to install Zimbra Collaboration. If there is not, the installation stops.

Checking for installable packages
Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-dnscache
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-memcached
Found zimbra-proxy

Use Zimbra's package repository [Y]

Select the packages to install

Install zimbra-ldap [Y] y

Install zimbra-logger [Y] y

Install zimbra-mta [Y] y

Install zimbra-dnscache [Y] y

Install zimbra-snmp [Y] y

Install zimbra-store [Y] y

.

.

Checking required space for zimbra-core

Checking space for zimbra-store

Checking required packages for zimbra-store

zimbra-store package check complete.

Installing:

zimbra-core

zimbra-ldap

zimbra-logger

zimbra-mta

zimbra-dnscache

zimbra-snmp

zimbra-store

.

.

The system will be modified.

Continue? [N] y

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 packages
Local packages  zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-snmp zimbra-store zimbra-apache zimbra-spell zimbra-proxy selected for installation
Monitor /tmp/install.log.sKlWbSLr for package installation progress
Remote package installation started
Installing zimbra-core-components  zimbra-ldap-components zimbra-mta-components zimbra-snmp-components zimbra-store-components zimbra-apache-components zimbra-spell-components zimbra-memcached zimbra-proxy-components....

Local package installation started
Installing  zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-snmp zimbra-store zimbra-apache zimbra-spell zimbra-proxy...done
Operations logged to /tmp/zmsetup.20160430-185719.log
Installing LDAP configuration database...done.
Setting defaults...

Step 4 : Update MX records

If it throws exception about a missing MX record as given below, which says your domain DNS records are not matching with zimbra server’s expectation, based on the hostname which is configured earlier. Find your /etc/hostname file and check DNS records to resolve the problem.

 

DNS ERROR resolving MX for mail.silent.com
It is suggested that the domain name has an MX record configured in DNS
Change domain name? [Yes]

Create domain: [mail.silent.com] example.com
MX: mail.silent.com (10.10.2.101)

Interface: 192.168.1.252
Interface: fd7a:4c04:5f10:0:20c:29ff:feb9:ecf8
Interface: 127.0.0.1
Interface: ::1
done.
Checking for port conflicts

Step 5 : Set admin password

Main menu
 1) Common Configuration:                                                  
 2) zimbra-ldap:                             Enabled                       
 3) zimbra-logger:                           Enabled                       
 4) zimbra-mta:                              Enabled                       
 5) zimbra-dnscache:                         Enabled     

 6) zimbra-snmp:                             Enabled                
 7) zimbra-store:                            Enabled                       
     +Create Admin User:                     yes                           
     +Admin user to create:               admin@mail.silent.com
 ******* +Admin Password                        UNSET                         
    ...
    ...
    ...

To change default admin password, select menu 7 and then inside zimbra store select 4, provide password and press enter

Type r to return to the Main menu.

Select from menu, or press ‘a’ to apply config (? – help) a

Save configuration data to a file? [Yes] : press enter

Save config in file: [/opt/zimbra/config.10687]:press enter



Notify Zimbra of your installation? [Yes]
Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=8.7.7_GA_1787.UBUNTU16_64&MAIL=admin@mail.silent.com
Notification complete

Setting up zimbra crontab…done.
Moving /tmp/zmsetup.20160430-185719.log to /opt/zimbra/log
Configuration complete – press return to exit

Step 6 : Check installation

To check admin control panel: http://mail.silent.com:7071

To check user login: http://mail.silent.com


Suggestions & inquiry are welcome http://silentinfotech.com/get