Cara Install Kolaborasi Zimbra di Ubuntu 18.04 LTS
Dalam posting blog ini, saya akan membawa Anda melalui instalasi rilis Zimbra Collaboration 8.8.x edisi Komunitas pada server Ubuntu 18.04 LTS. Langkah-langkah ini hanya untuk instalasi server tunggal, untuk instalasi multi-server kolaborasi Zimbra, lihat panduan kami Instalasi Multi-Server Zimbra di CentOS 7
Untuk menggunakan panduan ini, Anda harus:
Telah menginstal server Ubuntu 18.04
Memiliki akses ssh ke pengguna - pengguna dengan hak istimewa sudo
Memiliki server DNS - Dnsmasq harus baik-baik saja
Persyaratan sistem yang disarankan untuk server Zimbra yang mendukung hingga 50 pengguna adalah:
4 vCPU atau lebih tergantung pada sumber daya yang tersedia
RAM 8 GB atau lebih
Tersedia ruang disk 50 GB
Server DNS
Ikuti langkah-langkah di bawah ini untuk menginstal dan mengkonfigurasi server Zimbra Collaboration di server Ubuntu 18.04 Anda.
Langkah 1: Instal dan Konfigurasikan Dnsmasq
Dalam panduan ini, kita akan menggunakan dnsmasq sebagai Server DNS
Tetapkan Zimbra Domain, forwarder server DNS, dan catatan MX.
$ sudo vim /etc/dnsmasq.conf server=8.8.8.8 listen-address=127.0.0.1 domain=example.com # Define domain mx-host=example.com,mail.example.com,0 # Set MX record for the domain, preference is 0 address=/mail.example.com/62.15.116.167 # Send example.com to 62.15.116.167
Setel server hostname:
sudo hostnamectl set-hostname mail.example.com
sudo systemctl restart dnsmasq
Dig untuk catatan A Zimbra Server.
# dig A mx-01.zimbra.computingforgeeks.com ; <<>> DiG 9.11.3-1ubuntu1.1-Ubuntu <<>> A mx-01.zimbra.vikyardi.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40465 ;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;mx-01.vikyardi.com. IN A ;; ANSWER SECTION: mx-01.zimbra.vikyardi.com. 0 IN A 62.15.116.167 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Tue Aug 21 14:16:01 UTC 2018 ;; MSG SIZE rcvd: 68
Juga, kueri
# dig MX zimbra.vikyardi.com ; <<>> DiG 9.11.3-1ubuntu1.1-Ubuntu <<>> MX zimbra.vikyardi.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17175 ;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;zimbra.vikyardi.com. IN MX ;; ANSWER SECTION: zimbra.vikyardi.com. 0 IN MX 10 62.15.116.167 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Tue Aug 21 14:18:29 UTC 2018 ;; MSG SIZE rcvd: 107
Sekarang kami memiliki A record dan MX, mari mulai instalasi.
Langkah 2: Unduh Zimbra Collaboration Open Source Edition 8.8
Pada tulisan ini, rilis terbaru Zimbra adalah 8.8.9. Ayo unduh file server lokal.
wget https://files.zimbra.com/downloads/8.8.9_GA/zcs-8.8.9_GA_3019.UBUNTU16_64.20180809160254.tgz
Extract file:
tar xvf zcs-8.8.9_GA_3019.UBUNTU16_64.20180809160254.tgz
Ubah ke direktori zcs- *
cd zcs*/
Langkah 3: Instal Zimbra Collaboration Open Source Edition 8.8 pada Ubuntu 18.04 LTS
Sampai tulisan ini dibuat, tidak ada paket kolaborasi Zimbra untuk Ubuntu 18.04. Kami akan menggunakan repositori untuk Ubuntu 16.04 LTS tetapi akan memperbarui panduan ini setelah paket untuk Ubuntu 1804 LTS tersedia.
Tambahkan repositori Ubuntu 16.04 Zimbra
Tambahkan konten repositori ke /etc/apt/sources.list.d/zimbra.list
# cat /etc/apt/sources.list.d/zimbra.list deb [arch=amd64] https://repo.zimbra.com/apt/87 xenial zimbra deb [arch=amd64] https://repo.zimbra.com/apt/889 xenial zimbra deb-src [arch=amd64] https://repo.zimbra.com/apt/87 xenial zimbra
Kemudian impor kunci GPG:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9BE6ED79
Update apt index
$ sudo apt-get update Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:2 http://sfo1.mirrors.digitalocean.com/ubuntu bionic InRelease Get:3 http://sfo1.mirrors.digitalocean.com/ubuntu bionic-updates InRelease [88.7 kB] Get:4 http://sfo1.mirrors.digitalocean.com/ubuntu bionic-backports InRelease [74.6 kB] Hit:5 http://mirror.zol.co.zw/mariadb/repo/10.3/ubuntu bionic InRelease Get:6 https://repo.zimbra.com/apt/87 xenial InRelease [2506 B] Get:7 https://repo.zimbra.com/apt/87 xenial/zimbra Sources [66.8 kB] Get:8 https://repo.zimbra.com/apt/87 xenial/zimbra amd64 Packages [77.5 kB] Fetched 310 kB in 3s (117 kB/s) Reading package lists... Done
Mulai instalasi dengan menjalankan
./install.sh --platform-override
Opsi --platform-override Memungkinkan penginstal untuk melanjutkan pada OS yang tidak dikenal.
Proses instalasi akan dimulai, silakan pilih paket yang ingin Anda instal., Dan terima penginstalannya.
... operations logged to /tmp/install.log.xGLw1m7m Checking for existing installation... zimbra-drive...NOT FOUND zimbra-imapd...NOT FOUND zimbra-patch...NOT FOUND zimbra-license-tools...NOT FOUND zimbra-license-extension...NOT FOUND zimbra-network-store...NOT FOUND zimbra-network-modules-ng...NOT FOUND zimbra-chat...NOT FOUND zimbra-talk...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] 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-drive (repo) Found zimbra-imapd (local) Found zimbra-patch (repo) 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-memcached [Y] Install zimbra-proxy [Y] Install zimbra-drive [Y] Install zimbra-imapd (BETA - for evaluation only) [N] Install zimbra-chat [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 zimbra-apache zimbra-spell zimbra-memcached zimbra-proxy zimbra-drive zimbra-patch zimbra-chat The system will be modified. Continue? [N] y .... 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 ...
Tunggu paketnya diunduh.
Setel kata sandi akun Admin
Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@zimbra.computingforgeeks.com ** 4) Admin Password UNSET 5) Anti-virus quarantine user: virus-quarantine.rxque9sk@zimbra.computingforgeeks.com 6) Enable automated spam training: yes 7) Spam training user: spam.ixztx72e0@zimbra.computingforgeeks.com 8) Non-spam(Ham) training user: ham.75v1ydcrpo@zimbra.computingforgeeks.com 9) SMTP host: zimbra.vikyard.com 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://zimbra.vikyardi.com:7780/aspell.php 19) Enable version update checks: TRUE 20) Enable version update notifications: TRUE 21) Version update notification email: admin@zimbra.computingforgeeks.com 22) Version update source email: admin@zimbra.computingforgeeks.com 23) Install mailstore (service webapp): yes 24) Install UI (zimbra,zimbraAdmin webapps): yes Select, or 'r' for the previous menu [r] 4 Password for admin@zimbra.computingforgeeks.com (min 6 characters): [PwFmj8wDp]
Konfigurasi lengkap dan terapkan.
*** CONFIGURATION COMPLETE - press 'a' to apply Select from menu, or press 'a' to apply config (? - help) a Save configuration data to a file? [Yes] Save config in file: [/opt/zimbra/config.22612] Saving config in /opt/zimbra/config.22612...done. The system will be modified - continue? [No] yes
Skrip penginstal akan mulai mengkonfigurasi server Zimbra. Setelah selesai Anda harus mendapatkan output seperti di bawah ini.
Finished installing common zimlets.
Restarting mailboxd...done.
Creating galsync account for default domain...done.
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.9_GA_3019_UBUNTU16_64)
The ADMIN EMAIL ADDRESS created (admin@zimbra.computingforgeeks.com)
Notify Zimbra of your installation? [Yes] n
Notification skipped
Setting up zimbra crontab...done.
Moving /tmp/zmsetup.20180821-153003.log to /opt/zimbra/log
Configuration complete - press return to exit
Mengakses Dasbor Admin Zimbra
Jika Anda memiliki firewall aktif, konfigurasikan untuk Zimbra menggunakan Konfigurasi Firewall Zimbra dengan ufw untuk Ubuntu dan firewalld untuk CentOS
Akses antarmuka Admin menggunakan https: // ip-addres | hostname: 7071
0 Response to "Cara Install Kolaborasi Zimbra di Ubuntu 18.04 LTS"
Post a Comment
Silahkan tuliskan komentar Anda yang sesuai dengan topik postingan halaman ini. Komentar yang berisi tautan tidak akan ditampilkan sebelum disetuju