Xin chào! Cảm ơn bạn
đã ghé thăm Blog của tôi.
Xin chào! Cảm ơn bạn
đã ghé thăm Blog của tôi.
Zimbra là phần mềm xây dựng Email Server được cung cấp và cài đặt dưới 2 phiên bản: mã nguồn mở (Open Source Edition) và bản có phí (Network Edition). Zimbra Collaboration Suite (Zimbra), là giải pháp hỗ trợ doanh nghiệp triển khai môi trường làm việc nhóm, quản lý và chia sẻ công việc một cách hệ thống.
Quá trình cài đặt Zimbra sẽ hơi lâu một chút, do đó bạn nên cài đặt trong Screen để đảm bảo quá trình cài đặt ngay cả khi không có mạng.
apt-get install screen -y
Để tạo một screen , bạn có thể tạo theo lệnh sau
screen -S tên_screen
Bây giờ bạn có thể yên tâm thao tác các lệnh tiếp theo rồi.
sudo hostnamectl set-hostname zimbra.damtrungkien.info exec bash
vi /etc/hosts
Thêm IP VPS và Hostname vào tương tự như hình và save lại.
45.252.249.189 zimbra.damtrungkien.info

timedatectl set-timezone Asia/Ho_Chi_Minh
systemctl disable systemd-resolved
systemctl stop systemd-resolved
rm -rf /etc/resolv.conf
echo "nameserver 8.8.8.8" > /etc/resolv.conf
sudo apt update && sudo apt upgrade -y
sudo apt-get install net-tools
wget https://files.zimbra.com/downloads/8.8.15_GA/zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954.tgz

tar zxvf zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954.tgz
cd zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954
./install.sh
Tiếp đó các bạn thiết lập cài đặt tương tự như bên dưới, các bạn để ý phần mình bôi đỏ.
root@zimbra:~/zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954# ./install.sh
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] y
Warning: apt-key output should not be parsed (stdout is not a terminal)
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-drive (repo)
Found zimbra-imapd (local)
Found zimbra-patch (repo)
Found zimbra-mta-patch (repo)
Found zimbra-proxy-patch (repo)
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
Install zimbra-apache [Y] y
Install zimbra-spell [Y] y
Install zimbra-memcached [Y] y
Install zimbra-proxy [Y] y
Install zimbra-drive [Y] y
Install zimbra-imapd (BETA - for evaluation only) [N] N
Install zimbra-chat [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
zimbra-apache
zimbra-spell
zimbra-memcached
zimbra-proxy
zimbra-drive
zimbra-patch
zimbra-mta-patch
zimbra-proxy-patch
zimbra-chat
The system will be modified. Continue? [N] y
Beginning Installation - see /tmp/install.log.cbYiUX6O for details...
zimbra-core-components will be downloaded and installed.
zimbra-timezone-data will be installed.
zimbra-common-mbox-conf-attrs will be installed.
zimbra-common-core-jar will be installed.
zimbra-common-mbox-conf-rights will be installed.
zimbra-common-core-libs will be installed.
zimbra-common-mbox-conf-msgs 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-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-store-libs will be installed.
zimbra-mbox-conf will be installed.
zimbra-mbox-admin-console-war will be installed.
zimbra-mbox-war will be installed.
zimbra-mbox-webclient-war will be installed.
zimbra-mbox-service 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-drive will be downloaded and installed (later).
zimbra-patch will be downloaded and installed (later).
zimbra-mta-patch will be downloaded and installed (later).
zimbra-proxy-patch will be downloaded and installed (later).
zimbra-chat will be downloaded and installed (later).
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 (26):
zimbra-timezone-data
zimbra-common-mbox-conf-attrs
zimbra-common-core-jar
zimbra-common-mbox-conf-rights
zimbra-common-core-libs
zimbra-common-mbox-conf-msgs
zimbra-common-mbox-db
zimbra-common-mbox-docs
zimbra-common-mbox-native-lib
zimbra-common-mbox-conf
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-dnscache
zimbra-snmp
zimbra-mbox-store-libs
zimbra-mbox-conf
zimbra-mbox-admin-console-war
zimbra-mbox-war
zimbra-mbox-webclient-war
zimbra-mbox-service
zimbra-store
zimbra-apache
zimbra-spell
zimbra-proxy
...done
Installing extra packages (5):
zimbra-drive
zimbra-patch
zimbra-mta-patch
zimbra-proxy-patch
zimbra-chat
...done
Running Post Installation Configuration:
Operations logged to /tmp/zmsetup.20220612-165921.log
Installing LDAP configuration database...done.
Setting defaults...
DNS ERROR resolving MX for zimbra.damtrungkien.info
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] yes
Create domain: [zimbra.damtrungkien.info] damtrungkien.info
MX: mx3.zoho.com (136.143.191.44)
MX: mx2.zoho.com (204.141.33.44)
MX: mx.zoho.com (136.143.191.44)
Interface: 127.0.0.1
Interface: ::1
Interface: 45.252.249.189
DNS ERROR - none of the MX records for damtrungkien.info
resolve to this host
It is suggested that the MX record resolve to this host
Re-Enter domain name? [Yes] no
done.
Checking for port conflicts
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@
******* +Admin Password UNSET
+Anti-virus quarantine user: virus-quarantine.dufsc3b2c@
+Enable automated spam training: yes
+Spam training user: spam.ckvtxgbz@
+Non-spam(Ham) training user: ham._xqvewrf@
+SMTP host: zimbra.damtrungkien.info
+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://zimbra.damtrungkien.info:7780/aspell.php
+Enable version update checks: TRUE
+Enable version update notifications: TRUE
+Version update notification email: admin@
+Version update source email: admin@
+Install mailstore (service webapp): yes
+Install UI (zimbra,zimbraAdmin webapps): yes
8) zimbra-spell: Enabled
9) zimbra-proxy: Enabled
10) Default Class of Service Configuration:
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help) 7
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@
** 4) Admin Password UNSET
5) Anti-virus quarantine user: virus-quarantine.dufsc3b2c@
6) Enable automated spam training: yes
7) Spam training user: spam.ckvtxgbz@
8) Non-spam(Ham) training user: ham._xqvewrf@
9) SMTP host: zimbra.damtrungkien.info
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.damtrungkien.info:7780/aspell.php
19) Enable version update checks: TRUE
20) Enable version update notifications: TRUE
21) Version update notification email: admin@
22) Version update source email: admin@
23) Install mailstore (service webapp): yes
24) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or 'r' for previous menu [r] 4
Password for admin@ (min 6 characters): [FoYZx1BcS] FssoYZsx1BcS ### Nhập passwd
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@
4) Admin Password set
5) Anti-virus quarantine user: virus-quarantine.dufsc3b2c@
6) Enable automated spam training: yes
7) Spam training user: spam.ckvtxgbz@
8) Non-spam(Ham) training user: ham._xqvewrf@
9) SMTP host: zimbra.damtrungkien.info
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.damtrungkien.info:7780/aspell.php
19) Enable version update checks: TRUE
20) Enable version update notifications: TRUE
21) Version update notification email: admin@
22) Version update source email: admin@
23) Install mailstore (service webapp): yes
24) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or 'r' for previous menu [r] r
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) 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
Save configuration data to a file? [Yes] yes
Save config in file: [/opt/zimbra/config.58333]
Saving config in /opt/zimbra/config.58333...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup.20220612-165921.log
Setting local config values...done.
Initializing core config...Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL zimbra-store 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 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 zimbra.damtrungkien.info...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 zimbra.damtrungkien.info...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 zimbra.damtrungkien.info 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 '1571057268'
Setting TimeZone Preference...done.
Disabling strict server name enforcement on zimbra.damtrungkien.info...done.
Initializing mta config...done.
Setting services on zimbra.damtrungkien.info...done.
Adding zimbra.damtrungkien.info to zimbraMailHostPool in default COS...done.
Creating domain damtrungkien.info...done.
Setting default domain name...done.
Creating domain damtrungkien.info...already exists.
Creating admin account admin@...done.
Creating root alias...done.
Creating postmaster alias...done.
Creating user spam.ckvtxgbz@...done.
Creating user ham._xqvewrf@...done.
Creating user virus-quarantine.dufsc3b2c@...done.
Setting spam training and Anti-virus quarantine accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for zimbra.damtrungkien.info...done.
Configuring SNMP...done.
Setting up syslog.conf...done.
Starting servers...done.
Enabling jetty logging...done.
Installing common zimlets...
com_zimbra_srchhighlighter...done.
com_zimbra_bulkprovision...done.
com_zimbra_url...done.
com_zimbra_attachmail...done.
com_zimbra_email...done.
com_zimbra_date...done.
com_zimbra_mailarchive...done.
com_zextras_drive_open...done.
com_zimbra_proxy_config...done.
com_zimbra_clientuploader...done.
com_zextras_chat_open...done.
com_zimbra_ymemoticons...done.
com_zimbra_adminversioncheck...done.
com_zimbra_phone...done.
com_zimbra_cert_manager...done.
com_zimbra_tooltip...done.
com_zimbra_webex...done.
com_zimbra_attachcontacts...done.
com_zimbra_viewmail...done.
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.15_GA_4179_UBUNTU20_64)
The ADMIN EMAIL ADDRESS created (admin@)
Notify Zimbra of your installation? [Yes] no
Notification skipped
Checking if the NG started running...done.
Setting up zimbra crontab...done.
Moving /tmp/zmsetup.20220612-165921.log to /opt/zimbra/log
Configuration complete - press return to exit
Sau khi cài đặt xong, bạn tiến hành mở các Port cần thiết để sử dụng dịch vụ Mail Zimbra với các Port cụ thể
25,80,110,143,443,465,587,993,995,5222,5223,9071,7071
Cú pháp để mở Port trên Ubuntu tương tự như sau:
sudo ufw allow 25
Cấu hình xong, bạn hãy truy cập vào Admin Zimbra theo địa chỉ https://hostname:7071 hoặc https://IP-Server:7071 . Trước đó mình set hostname là zimbra.damtrungkien.ino , do đó đường dẫn đăng nhập của mình sẽ là : https://zimbra.damtrungkien.info:7071/.
Tiếp đó bạn đăng nhập với thông tin bên dưới
Username: admin@domain.com (Nhập Domain của bạn vào)
Password: Passwd ( Passwd đã set ở phần cài đặt)

Đăng nhập thành công, giao diện Zimbra sẽ như hình.

Chúc các bạn thực hiện thành công.!
Chào mọi người, mình là Kiên – hiện đang công tác tại Phòng Kỹ thuật AZDIGI. Trong quá trình làm việc mình có cơ hội được tiếp xúc với khá nhiều các vấn đề liên quan đến Website/Hosting/VPS/Server, do đó mình viết lại các hướng dẫn này nhằm chia sẻ kiến thức, cũng như tạo một môi trường để chúng ta giao lưu và học hỏi lẫn nhau.
2026 - Website được phát truyền nội dung bởi Đàm Trung Kiên
Hãy để lại thông tin của bạn. Đội ngũ chuyên gia của chúng tôi sẽ trực tiếp phân tích nhu cầu và tư vấn giải pháp công nghệ phù hợp, tối ưu hiệu quả cho công việc của bạn hoàn toàn miễn phí.
Tìm kiếm bài viết...