Instalasi Zimbra 8.7.11 Pada Ubuntu Server 16.04

Instalasi Zimbra mail server versi 8.7.11 pada server Ubuntu 16.04

Pada tutorial kali ini akan kita bahas cara install dan konfigurasi Zimbra mail Server versi 8.7.11 pada Server Ubuntu 16.04. Sebelum kita melakukan instalasi Zimbra pada Ubuntu Server 16.04 pastikan hosts dan hostname nya sudah terkonfigurasi seperti berikut ini :

root@mail:~# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 ubuntu
103.11.75.177 mail.jargon.web.id mail
root@mail:~# hostname -f
mail.jargon.web.id
root@mail:~# hostname
mail

Setelah kita lakukan configurasi hostname, selanjutnya sebelum proses install zimbra kita matikan atau disable firewall terlebih dahulu.

root@mail:~# sudo service ufw stop
root@mail:~# sudo service ufw status
● ufw.service - Uncomplicated firewall
Loaded: loaded (/lib/systemd/system/ufw.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Rab 2018-06-13 00:41:17 EDT; 1s ago
Process: 2934 ExecStop=/lib/ufw/ufw-init stop (code=exited, status=0/SUCCESS)
Main PID: 353 (code=exited, status=0/SUCCESS)

Jun 13 00:41:17 mail systemd[1]: Stopping Uncomplicated firewall...
Jun 13 00:41:17 mail systemd[1]: Stopped Uncomplicated firewall.
Jun 13 00:41:17 mail ufw-init[2934]: Skip stopping firewall: ufw (not enabled)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

Kemudian kita download zimbra menggunakan wget kemudian di extrak dan masuk ke direktori zimbra yang sudah kita extrak untuk melakukan instalasi.

root@mail:~# wget https://files.zimbra.com/downloads/8.7.11_GA/zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956.tgz
root@mail:~# tar -xzvf zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956.tgz
root@mail:~# cd zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/
root@mail:~/zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956# ./install.sh

Sekarang proses instalasi akan kita mulai, disini kita harus mengkonfirmasi setiap step by step dengan mengkonfirmasi Yes/No.

root@mail:~/zcs-8.8.8_GA_2009.UBUNTU16_64.20180322150747# ./install.sh

Operations logged to /tmp/install.log.Q39IeAqm
Checking for existing installation...
zimbra-chat...NOT FOUND
zimbra-drive...NOT FOUND
zimbra-imapd...NOT FOUND
zimbra-license-tools...NOT FOUND
zimbra-license-extension...NOT FOUND
zimbra-network-store...NOT FOUND
zimbra-network-modules-ng...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] 
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-chat (repo)
Found zimbra-drive (repo)
Found zimbra-imapd (local)


Select the packages to install

Install zimbra-ldap [Y] y

Install zimbra-logger [Y] y

Install zimbra-mta [Y] y

Install zimbra-dnscache [Y] n

Install zimbra-snmp [Y] y

Install zimbra-store [Y] y

Install zimbra-apache [Y] y

Install zimbra-spell [Y] y

Install zimbra-memcached [Y] y

Install zimbra-proxy [Y] y

Install zimbra-chat [Y] y

Install zimbra-drive [Y] y

Install zimbra-imapd (BETA - for evaluation only) [N] 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-snmp
zimbra-store
zimbra-apache
zimbra-spell
zimbra-memcached
zimbra-proxy
zimbra-chat
zimbra-drive
zimbra-imapd

The system will be modified. Continue? [N] y

 

Setelah kita memilih opsi instalasi beserta apa aja yang ingin kita install sekarang mari kita lanjutkan proses instalasinya.

Beginning Installation - see /tmp/install.log.tYOTi7Ql for details...

zimbra-core-components will be downloaded and installed.
zimbra-timezone-data will be installed.
zimbra-common-mbox-conf-rights will be installed.
zimbra-common-mbox-conf-attrs will be installed.
zimbra-common-mbox-db will be installed.
zimbra-common-core-libs will be installed.
zimbra-common-mbox-conf-msgs will be installed.
zimbra-common-mbox-docs will be installed.
zimbra-common-mbox-native-lib will be installed.
zimbra-common-core-jar will be installed.
zimbra-common-mbox-conf will be installed.
zimbra-core will be installed.
zimbra-ldap-components will be downloaded and installed.
zimbra-ldap will be installed.
zimbra-logger will be installed.
zimbra-mta-components will be downloaded and installed.
zimbra-mta will be installed.
zimbra-dnscache-components will be downloaded and installed.
zimbra-dnscache will be installed.
zimbra-snmp-components will be downloaded and installed.
zimbra-snmp will be installed.
zimbra-store-components will be downloaded and installed.
zimbra-jetty-distribution will be downloaded and installed.
zimbra-mbox-admin-common will be installed.
zimbra-mbox-war will be installed.
zimbra-mbox-store-libs will be installed.
zimbra-mbox-conf will be installed.
zimbra-mbox-admin-console-war will be installed.
zimbra-mbox-service will be installed.
zimbra-mbox-webclient-war will be installed.
zimbra-store will be installed.
zimbra-apache-components will be downloaded and installed.
zimbra-apache will be installed.
zimbra-spell-components will be downloaded and installed.
zimbra-spell will be installed.
zimbra-memcached will be downloaded and installed.
zimbra-proxy-components will be downloaded and installed.
zimbra-proxy will be installed.
zimbra-chat will be downloaded and installed (later).
zimbra-drive will be downloaded and installed (later).
zimbra-imapd will be installed.

Downloading packages (11):
zimbra-core-components
zimbra-ldap-components
zimbra-mta-components
zimbra-dnscache-components
zimbra-snmp-components
zimbra-store-components
zimbra-jetty-distribution
zimbra-apache-components
zimbra-spell-components
zimbra-memcached
zimbra-proxy-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 (11):
zimbra-core-components
zimbra-ldap-components
zimbra-mta-components
zimbra-dnscache-components
zimbra-snmp-components
zimbra-store-components
zimbra-jetty-distribution
zimbra-apache-components
zimbra-spell-components
zimbra-memcached
zimbra-proxy-components
...done

Installing local packages (28):
zimbra-timezone-data
zimbra-common-mbox-conf-rights
zimbra-common-mbox-conf-attrs
zimbra-common-mbox-db
zimbra-common-core-libs
zimbra-common-mbox-conf-msgs
zimbra-common-mbox-docs
zimbra-common-mbox-native-lib
zimbra-common-core-jar
zimbra-common-mbox-conf
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-dnscache
zimbra-snmp
zimbra-mbox-admin-common
zimbra-mbox-war
zimbra-mbox-store-libs
zimbra-mbox-conf
zimbra-mbox-admin-console-war
zimbra-mbox-service
zimbra-mbox-webclient-war
zimbra-store
zimbra-apache
zimbra-spell
zimbra-proxy
zimbra-imapd
...done

Installing extra packages (2):
zimbra-chat
zimbra-drive
...done

Running Post Installation Configuration:
Operations logged to /tmp/zmsetup.20180613-031921.log
Installing LDAP configuration database...done.
Setting defaults...

DNS ERROR resolving MX for mail.jargon.web.id
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] yes

A Yes/No answer is required
Re-Enter domain name? [Yes] Yes
Create domain: [mail.jargon.web.id] jargon.web.id
MX: mail.jargon.web.id (103.11.75.177)
MX: mx2.zoho.com (8.39.54.121)
MX: mx.zoho.com (204.141.32.121)

Interface: 103.11.75.177
Interface: 127.0.0.1
Interface: ::1
done.
Checking for port conflicts
Port conflict detected: 80 (zimbra-store)
Port conflicts detected! - Press Enter/Return key to continue

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@jargon.web.id 
******* +Admin Password UNSET 
+Anti-virus quarantine user: virus-quarantine.dko_9a5w@jargon.web.id
+Enable automated spam training: yes 
+Spam training user: spam.xortfyywz2@jargon.web.id 
+Non-spam(Ham) training user: ham.b0zi6b9s7z@jargon.web.id 
+SMTP host: mail.jargon.web.id 
+Web server HTTP port: 8080 
+Web server HTTPS port: 8443 
+Web server mode: https 
+IMAP server port: 7143 
+IMAP server SSL port: 7993 
+POP server port: 7110 
+POP server SSL port: 7995 
+Use spell check server: yes 
+Spell server URL: http://mail.jargon.web.id:7780/aspell.php
+Enable version update checks: TRUE 
+Enable version update notifications: TRUE 
+Version update notification email: admin@jargon.web.id 
+Version update source email: admin@jargon.web.id 
+Install mailstore (service webapp): yes 
+Install UI (zimbra,zimbraAdmin webapps): yes

8) zimbra-spell: Enabled 
9) zimbra-proxy: Enabled 
10) zimbra-imapd: Enabled 
11) Default Class of Service Configuration: 
s) Save config to file 
x) Expand menu 
q) Quit

Address unconfigured (**) items (? - help)

Setelah langkah ini, kita akan set password untuk admin zimbra nya, pilih No. 7

Store configuration

1) Status: Enabled 
2) Create Admin User: yes 
3) Admin user to create: admin@jargon.web.id 
** 4) Admin Password UNSET 
5) Anti-virus quarantine user: virus-quarantine.dko_9a5w@jargon.web.id
6) Enable automated spam training: yes 
7) Spam training user: spam.xortfyywz2@jargon.web.id 
8) Non-spam(Ham) training user: ham.b0zi6b9s7z@jargon.web.id 
9) SMTP host: mail.jargon.web.id 
10) Web server HTTP port: 8080 
11) Web server HTTPS port: 8443 
12) Web server mode: https 
13) IMAP server port: 7143 
14) IMAP server SSL port: 7993 
15) POP server port: 7110 
16) POP server SSL port: 7995 
17) Use spell check server: yes 
18) Spell server URL: http://mail.jargon.web.id:7780/aspell.php
19) Enable version update checks: TRUE 
20) Enable version update notifications: TRUE 
21) Version update notification email: admin@jargon.web.id 
22) Version update source email: admin@jargon.web.id 
23) Install mailstore (service webapp): yes 
24) Install UI (zimbra,zimbraAdmin webapps): yes

Select, or 'r' for previous menu [r] 4

Kemudian pilih opsi No. 4 untuk setting password admin zimbra
Password for admin@jargon.web.id (min 6 characters): [jLz13gA3] ***********
masukan password admin zimbra nya kemudian tekan Enter.

Store configuration

1) Status: Enabled 
2) Create Admin User: yes 
3) Admin user to create: admin@jargon.web.id 
4) Admin Password set 
5) Anti-virus quarantine user: virus-quarantine.dko_9a5w@jargon.web.id
6) Enable automated spam training: yes 
7) Spam training user: spam.xortfyywz2@jargon.web.id 
8) Non-spam(Ham) training user: ham.b0zi6b9s7z@jargon.web.id 
9) SMTP host: mail.jargon.web.id 
10) Web server HTTP port: 8080 
11) Web server HTTPS port: 8443 
12) Web server mode: https 
13) IMAP server port: 7143 
14) IMAP server SSL port: 7993 
15) POP server port: 7110 
16) POP server SSL port: 7995 
17) Use spell check server: yes 
18) Spell server URL: http://mail.jargon.web.id:7780/aspell.php
19) Enable version update checks: TRUE 
20) Enable version update notifications: TRUE 
21) Version update notification email: admin@jargon.web.id 
22) Version update source email: admin@jargon.web.id 
23) Install mailstore (service webapp): yes 
24) Install UI (zimbra,zimbraAdmin webapps): yes

Select, or 'r' for previous menu [r] r

Kemudian ketik ‘r’ untuk mereview hasil konfigurasi yang sudah kita setting.

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 
8) zimbra-spell: Enabled 
9) zimbra-proxy: Enabled 
10) zimbra-imapd: Enabled 
11) Default Class of Service Configuration: 
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


Lalu ketikan huruf 'a' untuk mengApply settingan yang sudah dikonfigurasikan.

*** 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.13495] 
Saving config in /opt/zimbra/config.13495...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup.20180613-031921.log
Setting local config values...done.
Initializing core config...Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL zimbra-imapd certificate...done.
Creating new zimbra-store SSL certificate...done.
Creating new zimbra-ldap SSL certificate...done.
Creating new zimbra-mta SSL certificate...done.
Creating new zimbra-proxy SSL certificate...done.
Installing mailboxd SSL certificates...done.
Installing imapd SSL certificates...done.
Installing MTA SSL certificates...done.
Installing LDAP SSL certificate...done.
Installing Proxy 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 mail.jargon.web.id...done.
Setting Zimbra IP Mode...done.
Saving CA in ldap...done.
Saving SSL Certificate in ldap...done.
Setting spell check URL...done.
Setting service ports on mail.jargon.web.id...done.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
Checking current setting of zimbraReverseProxyAvailableLookupTargets
Querying LDAP for other mailstores
Searching LDAP for reverseProxyLookupTargets...done.
Adding mail.jargon.web.id to zimbraReverseProxyAvailableLookupTargets
Setting Master DNS IP address(es)...done.
Setting DNS cache tcp lookup preference...done.
Setting DNS cache udp lookup preference...done.
Setting DNS tcp upstream preference...done.
Updating zimbraLDAPSchemaVersion to version '1521707697'
Setting TimeZone Preference...done.
Disabling strict server name enforcement on mail.jargon.web.id...done.
Initializing mta config...done.
Setting services on mail.jargon.web.id...done.
Adding mail.jargon.web.id to zimbraMailHostPool in default COS...done.
Creating domain jargon.web.id...done.
Setting default domain name...done.
Creating domain jargon.web.id...already exists.
Creating admin account admin@jargon.web.id...done.
Creating root alias...done.
Creating postmaster alias...done.
Creating user spam.xortfyywz2@jargon.web.id...done.
Creating user ham.b0zi6b9s7z@jargon.web.id...done.
Creating user virus-quarantine.dko_9a5w@jargon.web.id...done.
Setting spam training and Anti-virus quarantine accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for mail.jargon.web.id...done.
Configuring SNMP...done.
Setting up syslog.conf...done.
Enabling IMAP protocol for zimbra-imapd service...done.
Enabling IMAPS protocol for zimbra-imapd service...done.
Starting servers...done.
Installing common zimlets...
com_zimbra_attachcontacts...done.
com_zimbra_adminversioncheck...done.
com_zimbra_proxy_config...done.
com_zimbra_webex...done.
com_zimbra_ymemoticons...done.
com_zimbra_viewmail...done.
com_zimbra_cert_manager...done.
com_zimbra_email...done.
com_zimbra_date...done.
com_zimbra_srchhighlighter...done.
com_zextras_drive_open...done.
com_zimbra_attachmail...done.
com_zimbra_mailarchive...done.
com_zextras_chat_open...done.
com_zimbra_phone...done.
com_zimbra_url...done.
com_zimbra_tooltip...done.
com_zimbra_clientuploader...done.
com_zimbra_bulkprovision...done.
Finished installing common zimlets.
Restarting mailboxd...done.
Creating galsync account for default domain...failed.

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.8_GA_2009_UBUNTU16_64)
The ADMIN EMAIL ADDRESS created (admin@jargon.web.id)

Notify Zimbra of your installation? [Yes] yes

Notify Zimbra of your installation? [Yes] yes

Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=8.8.8_GA_2009_UBUNTU16_64&MAIL=admin@jargon.web.id

Notification complete

Setting up zimbra crontab...done.


Moving /tmp/zmsetup.20180613-031921.log to /opt/zimbra/log

Configuration complete - press return to exit

Sampai disini proses install & konfigurasi Zimbra sudah selesai. Silahkan akses url admin Mail Server Zimbra menggunakan  url berikut : https://mail.jargon.web.id:7071/ 

Sign in dengan user admin & password yang sudah di setting tadi dan anda akan masuk ke dashboard Zimbra Mail Server.

 

Lanjutan panduan ini akan kita bahas instalasi ssl pada zimbra, karena default zimbra adalah menggunakan SSL dan jika sekarang kita akses pada address bar browser masih ada warning merah.

Sekian & Terima kasih.

Leave a Reply

Your email address will not be published. Required fields are marked *