Setelah mempersiapkan server dan melakukan tahapan apa saja yang diperlukan sebelum memualai instalasi Zimbra pada artikel sebelumnya. Maka pada artikel kali ini, kami akan melakukan instalasi Zimbra 9 di CentOS 8.

Untuk melakukan instalasi, hal yang diperlukan adalah file installer beserta lisensi Zimbra. Untuk kedua file tersebut bisa di unduh di website resmi Zimbra.

Extract File Installer & Install Zimbra

Extract file installer dan masuk ke direktori installer dan jalankan script instalasi

tar -xzvf zcs-NETWORK-9.0.0_GA_3954.RHEL8_64.20200629045300.tgz
cd zcs-NETWORK-9.0.0_GA_3954.RHEL8_64.20200629045300/
./install.sh -l /root/ZCSLicense.xml

Proses Instalasi Zimbra

Sebeleum melakukan instalasi dan akan meminta persetujuan mengenai ZIMBRA NETWORK EDITION END USER LICENSE AGREEMENT dan pilih Y

SYNACOR, INC.
END USER LICENSE AGREEMENT
FOR ZIMBRA NETWORK EDITION


(c) Copyright 2020 Synacor, Inc. All rights reserved.


Do you agree with the terms of the software license agreement? [N] y

Use Zimbra's package repository [Y]


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-convertd (local)
Found zimbra-memcached (repo)
Found zimbra-proxy (local)
Found zimbra-archiving (local)
Found zimbra-drive (repo)
Found zimbra-imapd (local)
Found zimbra-modern-ui (repo)
Found zimbra-modern-zimlets (repo)
Found zimbra-patch (repo)
Found zimbra-mta-patch (repo)
Found zimbra-proxy-patch (repo)
Found zimbra-license-tools (local)
Found zimbra-license-extension (local)
Found zimbra-network-store (local)
Found zimbra-network-modules-ng (local)

Pilih paket yang akan diinstall

Select the packages to install

Install zimbra-ldap [Y]

Install zimbra-logger [Y]

Install zimbra-mta [Y]

Install zimbra-dnscache [Y]

Install zimbra-snmp [Y]

Install zimbra-store [Y]

Install zimbra-apache [Y]

Install zimbra-spell [Y]

Install zimbra-convertd [Y]


Install zimbra-memcached [Y]

Install zimbra-proxy [Y]

Install zimbra-archiving [N] y

Install zimbra-drive [Y]

Install zimbra-imapd (BETA - for evaluation only) [N]

Install zimbra-network-modules-ng [Y]

Install zimbra-connect [Y]
###WARNING###
Network Modules NG needs to bind on TCP ports 8735 and 8736 in order
to operate, for inter-instance communication.
Please verify no other service listens on these ports and that
ports 8735 and 8736 are properly filtered from public access
by your firewall.

Please remember that the Backup NG module needs to be initialized in order
to be functional. This is a one-time operation only that can be performed
by clicking the 'Initialize' button within the Backup section of the
Network NG Modules in the Administration Console or by running
`zxsuite backup doSmartScan` as the zimbra user.

Checking required space for zimbra-core
Checking space for zimbra-store
Checking required packages for zimbra-store
     MISSING: libreoffice
     MISSING: libreoffice-headless

###WARNING###

One or more suggested packages for zimbra-store are missing.
Some features may be disabled due to the missing package(s).


Installing:
    zimbra-core
    zimbra-ldap
    zimbra-logger
    zimbra-mta
    zimbra-dnscache
    zimbra-snmp
    zimbra-store
    zimbra-apache
    zimbra-spell
    zimbra-convertd
    zimbra-memcached
    zimbra-proxy
    zimbra-archiving
    zimbra-drive
    zimbra-modern-ui
    zimbra-modern-zimlets
    zimbra-patch
    zimbra-mta-patch
    zimbra-proxy-patch
    zimbra-license-tools
    zimbra-license-extension
    zimbra-network-store
    zimbra-connect
    zimbra-network-modules-ng

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

Pilih Y untuk melanjutkan instalasi Zimbra

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

                          zimbra-core-components will be downloaded and installed.
                          zimbra-common-core-jar will be installed.
                         zimbra-common-core-libs will be installed.
                         zimbra-common-mbox-conf will be installed.
                   zimbra-common-mbox-conf-attrs will be installed.
                    zimbra-common-mbox-conf-msgs will be installed.
                  zimbra-common-mbox-conf-rights will be installed.
                           zimbra-common-mbox-db will be installed.
                         zimbra-common-mbox-docs will be installed.
                   zimbra-common-mbox-native-lib will be installed.
                            zimbra-timezone-data 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.
Last metadata expiration check: 0:00:53 ago on Wed 08 Jul 2020 01:07:52 PM WIB.
                       zimbra-jetty-distribution will be downloaded and installed.
                         zimbra-store-components will be downloaded and installed.
                   zimbra-mbox-admin-console-war will be installed.
                                zimbra-mbox-conf will be installed.
                         zimbra-mbox-ews-service will be installed.
                                 zimbra-mbox-war will be installed.
                             zimbra-mbox-service will be installed.
                          zimbra-mbox-store-libs 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-license-tools will be installed.
                        zimbra-license-extension will be installed.
                            zimbra-network-store will be installed.
                                 zimbra-convertd will be installed.
Last metadata expiration check: 0:00:57 ago on Wed 08 Jul 2020 01:07:52 PM WIB.
                                zimbra-memcached will be downloaded and installed.
                         zimbra-proxy-components will be downloaded and installed.
                                    zimbra-proxy will be installed.
                                zimbra-archiving will be installed.
Last metadata expiration check: 0:01:01 ago on Wed 08 Jul 2020 01:07:52 PM WIB.
                                    zimbra-drive will be downloaded and installed (later).
Last metadata expiration check: 0:01:01 ago on Wed 08 Jul 2020 01:07:52 PM WIB.
                                zimbra-modern-ui will be downloaded and installed (later).
Last metadata expiration check: 0:01:02 ago on Wed 08 Jul 2020 01:07:52 PM WIB.
                           zimbra-modern-zimlets will be downloaded and installed (later).
Last metadata expiration check: 0:01:08 ago on Wed 08 Jul 2020 01:07:52 PM WIB.
                                    zimbra-patch will be downloaded and installed (later).
Last metadata expiration check: 0:01:09 ago on Wed 08 Jul 2020 01:07:52 PM WIB.
                                zimbra-mta-patch will be downloaded and installed (later).
Last metadata expiration check: 0:01:10 ago on Wed 08 Jul 2020 01:07:52 PM WIB.
                              zimbra-proxy-patch will be downloaded and installed (later).
Last metadata expiration check: 0:01:11 ago on Wed 08 Jul 2020 01:07:52 PM WIB.
                                  zimbra-connect will be downloaded and installed (later).
                       zimbra-network-modules-ng will be installed.

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

Installing local packages (33):
   zimbra-common-core-jar
   zimbra-common-core-libs
   zimbra-common-mbox-conf
   zimbra-common-mbox-conf-attrs
   zimbra-common-mbox-conf-msgs
   zimbra-common-mbox-conf-rights
   zimbra-common-mbox-db
   zimbra-common-mbox-docs
   zimbra-common-mbox-native-lib
   zimbra-timezone-data
   zimbra-core
   zimbra-ldap
   zimbra-logger
   zimbra-mta
   zimbra-dnscache
   zimbra-snmp
   zimbra-mbox-admin-console-war
   zimbra-mbox-conf
   zimbra-mbox-ews-service
   zimbra-mbox-war
   zimbra-mbox-service
   zimbra-mbox-store-libs
   zimbra-mbox-webclient-war
   zimbra-store
   zimbra-apache
   zimbra-spell
   zimbra-license-tools
   zimbra-license-extension
   zimbra-network-store
   zimbra-convertd
   zimbra-proxy
   zimbra-archiving
   zimbra-network-modules-ng
      ...done

Installing extra packages (7):
   zimbra-drive
   zimbra-modern-ui
   zimbra-modern-zimlets
   zimbra-patch
   zimbra-mta-patch
   zimbra-proxy-patch
   zimbra-connect
      ...done

Running Post Installation Configuration:
Installing /opt/zimbra/conf/ZCSLicense.xml
Operations logged to /tmp/zmsetup.20201211-131617.log
Installing LDAP configuration database...done.
Setting defaults...

Pada saat ini, kita masuk Main menu

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@rekha.co.id
******* +Admin Password                        UNSET
        +Anti-virus quarantine user:           virus-quarantine.mit0szle8f@rekha.co.id
        +Enable automated spam training:       yes
        +Spam training user:                   spam.vmpf5wfkx@rekha.co.id
        +Non-spam(Ham) training user:          ham.p8fihuu7@rekha.co.id
        +SMTP host:                            mail.rekha.co.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.rekha.co.id:7780/aspell.php
        +Enable version update checks:         TRUE
        +Enable version update notifications:  TRUE
        +Version update notification email:    admin@rekha.co.id
        +Version update source email:          admin@rekha.co.id
        +Install mailstore (service webapp):   yes
        +Install UI (zimbra,zimbraAdmin webapps): yes

   8) zimbra-spell:                            Enabled
   9) zimbra-convertd:                         Enabled
  10) zimbra-proxy:                            Enabled
  11) Default Class of Service Configuration:
  12) Enable default backup schedule:          yes
   s) Save config to file
   x) Expand menu
   q) Quit

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

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

Masuk ke menu Common Configuration

Common configuration

   1) Hostname:                                mail.rekha.co.id
   2) Ldap master host:                        mail.rekha.co.id
   3) Ldap port:                               389
   4) Ldap Admin password:                     set
   5) Store ephemeral attributes outside Ldap: no
   6) Secure interprocess communications:      yes
   7) TimeZone:                                America/Los_Angeles
   8) IP Mode:                                 ipv4
   9) Default SSL digest:                      sha256

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

Ketik 7 untuk merubah Zona waktu sesuai dengan zona waktu kita berada, yaitu Asia/Bangkok

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

1 Africa/Algiers
2 Africa/Cairo
3 Africa/Casablanca
4 Africa/Harare
5 Africa/Khartoum
6 Africa/Monrovia
7 Africa/Nairobi
8 Africa/Sao_Tome
9 Africa/Tripoli
10 Africa/Windhoek
11 America/Adak
12 America/Anchorage
13 America/Araguaina
14 America/Argentina/Buenos_Aires
15 America/Asuncion
16 America/Bahia
17 America/Bogota
18 America/Cancun
19 America/Caracas
20 America/Cayenne
21 America/Chicago
22 America/Chihuahua
23 America/Cuiaba
24 America/Denver
25 America/Fort_Nelson
26 America/Godthab
27 America/Grand_Turk
28 America/Guatemala
29 America/Guyana
30 America/Halifax
31 America/Havana
32 America/Indiana/Indianapolis
33 America/Los_Angeles
34 America/Mexico_City
35 America/Miquelon
36 America/Montevideo
37 America/New_York
38 America/Phoenix
39 America/Port-au-Prince
40 America/Punta_Arenas
41 America/Regina
41 America/Regina
42 America/Santiago
43 America/Sao_Paulo
44 America/St_Johns
45 America/Tijuana
46 Asia/Almaty
47 Asia/Amman
48 Asia/Baghdad
49 Asia/Baku
50 Asia/Bangkok
51 Asia/Barnaul
52 Asia/Beirut
53 Asia/Chita
54 Asia/Colombo
55 Asia/Damascus
56 Asia/Dhaka
57 Asia/Gaza
58 Asia/Hong_Kong
59 Asia/Hovd
60 Asia/Irkutsk
61 Asia/Jerusalem
62 Asia/Kabul
63 Asia/Kamchatka
64 Asia/Karachi
65 Asia/Kathmandu
66 Asia/Kolkata
67 Asia/Krasnoyarsk
68 Asia/Kuala_Lumpur
69 Asia/Kuwait
70 Asia/Magadan
71 Asia/Muscat
72 Asia/Novosibirsk
73 Asia/Omsk
74 Asia/Pyongyang
75 Asia/Qyzylorda
76 Asia/Sakhalin
77 Asia/Seoul
78 Asia/Singapore
79 Asia/Srednekolymsk
80 Asia/Taipei
81 Asia/Tashkent
83 Asia/Tehran
84 Asia/Tokyo
85 Asia/Tomsk
86 Asia/Ulaanbaatar
87 Asia/Vladivostok
88 Asia/Yakutsk
89 Asia/Yangon
90 Asia/Yekaterinburg
91 Asia/Yerevan
92 Atlantic/Azores
93 Atlantic/Cape_Verde
94 Atlantic/South_Georgia
95 Australia/Adelaide
96 Australia/Brisbane
97 Australia/Darwin
98 Australia/Eucla
99 Australia/Hobart
100 Australia/Lord_Howe
101 Australia/Perth
102 Australia/Sydney
103 Etc/GMT+12
104 Europe/Astrakhan
105 Europe/Athens
106 Europe/Belgrade
107 Europe/Berlin
108 Europe/Brussels
109 Europe/Bucharest
110 Europe/Chisinau
111 Europe/Helsinki
112 Europe/Istanbul
113 Europe/Kaliningrad
114 Europe/London
115 Europe/Minsk
116 Europe/Moscow
117 Europe/Samara
118 Europe/Saratov
119 Europe/Volgograd
120 Europe/Warsaw
121 Indian/Mauritius
122 Pacific/Apia
123 Pacific/Auckland
124 Pacific/Bougainville
125 Pacific/Chatham
126 Pacific/Easter
127 Pacific/Fiji
128 Pacific/Guadalcanal
129 Pacific/Guam
130 Pacific/Honolulu
131 Pacific/Kiritimati
132 Pacific/Marquesas
133 Pacific/Midway
134 Pacific/Norfolk
135 Pacific/Tongatapu
136 UTC
Enter the number for the local timezone: [33] 50

Kembali ke main menu, masuk ke menu Ldap Configuration

Ldap configuration

   1) Status:                                  Enabled
   2) Create Domain:                           yes
   3) Domain to create:                        rekha.co.id
   4) Ldap root password:                      set
   5) Ldap replication password:               set
   6) Ldap postfix password:                   set
   7) Ldap amavis password:                    set
   8) Ldap nginx password:                     set
   9) Ldap Bes Searcher password:              set

Kembali ke main menu, masuk ke menu Mta configuration

Mta configuration

   1) Status:                                  Enabled
   2) Enable Spamassassin:                     yes
   3) Enable Clam AV:                          yes
   4) Enable OpenDKIM:                         yes
   5) Notification address for AV alerts:      admin@rekha.co.id
   6) Enable Archiving and Discovery:          no
   7) Bind password for postfix ldap user:     set
   8) Bind password for amavis ldap user:      set

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

Aktifin Enable Archiving and Discovery dengan pilih 6

Mta configuration

   1) Status:                                  Enabled
   2) Enable Spamassassin:                     yes
   3) Enable Clam AV:                          yes
   4) Enable OpenDKIM:                         yes
   5) Notification address for AV alerts:      admin@rekha.co.id
   6) Enable Archiving and Discovery:          no
   7) Bind password for postfix ldap user:     set
   8) Bind password for amavis ldap user:      set

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

Kembali ke main menu, masuk ke menu Store configuration



Store configuration

   1) Status:                                  Enabled
   2) Create Admin User:                       yes
   3) Admin user to create:                    admin@rekha.co.id
** 4) Admin Password                           UNSET
   5) Anti-virus quarantine user:              virus-quarantine.mit0szle8f@rekha.co.id
   6) Enable automated spam training:          yes
   7) Spam training user:                      spam.vmpf5wfkx@rekha.co.id
   8) Non-spam(Ham) training user:             ham.p8fihuu7@rekha.co.id
   9) SMTP host:                               mail.rekha.co.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.rekha.co.id:7780/aspell.php
  19) Enable version update checks:            TRUE
  20) Enable version update notifications:     TRUE
  21) Version update notification email:       admin@rekha.co.id
  22) Version update source email:             admin@rekha.co.id
  23) Install mailstore (service webapp):      yes
  24) Install UI (zimbra,zimbraAdmin webapps): yes

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

Pilih 4 untuk set admin password

Password for admin@rekha.co.id (min 6 characters): [pofO0zLI] admin123

Kembali ke main menu dan lanjutkan proses instalasi

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-convertd:                         Enabled
  10) zimbra-proxy:                            Enabled
  11) Default Class of Service Configuration:
  12) Enable default backup schedule:          yes
   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

*** 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.11105] yes
Saving config in yes...done.
The system will be modified - continue? [No] yes

Tunggu proses instalasi berjalan hingga selesai. Kemudian cek services dan versi Zimbra.

[zimbra@mail ~]$ zmcontrol status
Host mail.rekha.co.id
        amavis                  Running
        antispam                Running
        antivirus               Running
        archiving               Running
        convertd                Running
        dnscache                Running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        memcached               Running
        mta                     Running
        opendkim                Running
        proxy                   Running
        service webapp          Running
        snmp                    Running
        spell                   Running
        stats                   Running
        zimbra webapp           Running
        zimbraAdmin webapp      Running
        zimlet webapp           Running
        zmconfigd               Running

[zimbra@mail ~]$ zmcontrol -v
Release 9.0.0_GA_3954.RHEL8_64_20200629045300 RHEL8_64 NETWORK edition, Patch 9.0.0_P4.

Akses Zimbra Web Client dengan menggunakan IP atau domain yang sudah di set pada DNS Server

Zimbra Web Client

Sekian artikel terkait Instalasi Zimbra 9 di Centos 8. Jika para pembaca yang ingin mengetahui ataupun bertanya tentang cara instalasi/kendala ketika melakukan instalas Zimbra, serta terkait lisensi Zimbra untuk kebutuhan server Zimbra pembaca lebih lanjut. Silahkan hubungi kami di info@rekha.co.id atau WhatsApp ke 0851-5532-4400

Related Post

Leave a Comment