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
Copy to Clipboard
1 root@silent:/cd /home/
2 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
Copy to Clipboard
1 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.
Copy to Clipboard1
root@zimbra8:~# vim /etc/network/interfaces
If you have dhcp line
Copy to Clipboard
1 allow-hotplug eth0 iface eth0 inet dhcp
Then change it to static Ethernet configuration
Copy to Clipboard
1 allow-hotplug eth0
2 iface eth0 inet static
3 address 10.X.X.X
4 netmask 255.255.255.0
5 gateway 10.X.X.X
6 dns-nameservers 127.0.0.1
7 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
Copy to Clipboard
1 root@silent:/home# vi /etc/hosts
2 127.0.0.1 localhost
3 10.10.2.101 mail.silent.com mail
Step 3 : Reboot machine
Copy to Clipboard
1 root@silent:/home# reboot
Install zimbra
Copy to Clipboard
1 root@silent:/home# cd zcs-8.7.7_GA_1787.UBUNTU16_64.20170410133400/
2 root@silent:/home/zcs-8.7.7_GA_1787.UBUNTU16_64.20170410133400# ./install.sh
3 Now follow given steps to complete the installation:
Step 1 : Read and accept license agreement:
Copy to Clipboard
1 ...
2 ...
3 License Terms for the Zimbra Collaboration Suite:
4 http://www.zimbra.com/license/zimbra-public-eula-2-5.html
5 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
Copy to Clipboard
1 Operations logged to /tmp/install.log.zlP8ruf3
2 Checking for existing installation...
3 zimbra-ldap...NOT FOUND
4 zimbra-logger...NOT FOUND
5 zimbra-mta...NOT FOUND
6 zimbra-dnscache...NOT FOUND
7 zimbra-snmp...NOT FOUND
8 zimbra-store...NOT FOUND
9 zimbra-apache...NOT FOUND
10 zimbra-spell...NOT FOUND
11 zimbra-convertd...NOT FOUND
12 zimbra-memcached...NOT FOUND
13 zimbra-proxy...NOT FOUND
14 zimbra-archiving...NOT FOUND
15 zimbra-core...NOT FOUND
16 PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
17 ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
18 FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
19 THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
20 THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
21 AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.
22 License Terms for the Zimbra Collaboration Suite:
23 http://www.zimbra.com/license/zimbra-public-eula-2-5.html
24 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.
Copy to Clipboard
1 Checking for installable packages
2 Found zimbra-core
3 Found zimbra-ldap
4 Found zimbra-logger
5 Found zimbra-mta
6 Found zimbra-dnscache
7 Found zimbra-snmp
8 Found zimbra-store
9 Found zimbra-apache
10 Found zimbra-spell
11 Found zimbra-memcached
12 Found zimbra-proxy
13 Use Zimbra's package repository [Y]
14 Select the packages to install
15 Install zimbra-ldap [Y] y
16 Install zimbra-logger [Y] y
17 Install zimbra-mta [Y] y
18 Install zimbra-dnscache [Y] y
19 Install zimbra-snmp [Y] y
20 Install zimbra-store [Y] y .
21 .
22 Checking required space for zimbra-core
23 Checking space for zimbra-store
24 Checking required packages for zimbra-store
25 zimbra-store package check complete.
26 Installing:
27 zimbra-core
28 zimbra-ldap
29 zimbra-logger
30 zimbra-mta
31 zimbra-dnscache
32 zimbra-snmp
33 zimbra-store
34 .
35 .
36 The system will be modified.
37 Continue? [N] y
38 Removing /opt/zimbra
39 Removing zimbra crontab entry...done.
40 Cleaning up zimbra init scripts...done.
41 Cleaning up /etc/security/limits.conf...done.
42 Finished removing Zimbra Collaboration Server.
43 Installing packages
44 Local packages zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-snmp zimbra-store zimbra-apache zimbra-spell zimbra-proxy selected for installation
45 Monitor /tmp/install.log.sKlWbSLr for package installation progress
46 Remote package installation started
47 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....
48 Local package installation started
49 Installing zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-snmp zimbra-store zimbra-apache zimbra-spell zimbra-proxy...done
50 Operations logged to /tmp/zmsetup.20160430-185719.log
51 Installing LDAP configuration database...done.
52 Setting defaults...
53 …
54
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.
Copy to Clipboard
1 DNS ERROR resolving MX for mail.silent.com
2 It is suggested that the domain name has an MX record configured in DNS
3 Change domain name? [Yes]
4 Create domain: [mail.silent.com] example.com
5 MX: mail.silent.com (10.10.2.101)
6 Interface: 192.168.1.252
7 Interface: fd7a:4c04:5f10:0:20c:29ff:feb9:ecf8
8 Interface: 127.0.0.1
9 Interface: ::1
10 done.
11 Checking for port conflicts
Step 5 : Set admin password
Copy to Clipboard
1 Main menu
2 1) Common Configuration:
3 2) zimbra-ldap: Enabled
4 3) zimbra-logger: Enabled
5 4) zimbra-mta: Enabled
6 5) zimbra-dnscache: Enabled
7 6) zimbra-snmp: Enabled
8 7) zimbra-store: Enabled
9 +Create Admin User: yes
10 +Admin user to create: [email protected]
11 ******* +Admin Password UNSET
12 ...
13 ...
14 ...
15 To change default admin password, select menu 7 and then inside zimbra store select 4, provide password and press enter
16 Type r to return to the Main menu.
17 Select from menu, or press ‘a’ to apply config (? – help) a
18 Save configuration data to a file? [Yes] : press enter
19 Save config in file: [/opt/zimbra/config.10687]:press enter
20 …
21 …
22 Notify Zimbra of your installation? [Yes]
23 Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=8.7.7_GA_1787.UBUNTU16_64&MAIL[email protected]
24 Notification complete
25 Setting up zimbra crontab…done.
26Moving /tmp/zmsetup.20160430-185719.log to /opt/zimbra/log
27 Configuration complete – press return to exit
Step 6: Check the installation
To check the admin control panel: http://mail.silent.com:7071
To check user login: http://mail.silent.com
Jignesh V
Jignesh Vaghasiya, COO of Silent Infotech, is a technology visionary with a passion for innovation. He has deep technical expertise and a commitment to client success to drive the company's growth. His relentless pursuit of new technologies, combined with his process-focused approach, has led to innovation and technology implementations that boost business outcomes. Jignesh's ability to connect with people makes him the ideal partner for onboarding new clients and fostering strong business relationships.
Schedule Consultation with Jignesh Schedule Now