Install Zimbra 8.7.11_GA_1854 with Ubuntu 16.04 64bit
Install Zimbra 8.7.11_GA_1854 with Ubuntu 16.04 64bit
สมมุติว่าติดตั้งบน Clound vultr.com
โดยใช้บริการ DNS ของ vultr ซึ่งจะทำการคอนฟิคเน็ตเวอร์คให้อัตโนมัติ
domain = lamu.com
Hostname = mail
IP = 45.150.5.25
DNS ตั้งค่าและอัพเดทแล้ว และนำ NS ของ vultr.com ไปใส่ที่ Domain Registar แล้ว
A 45.150.5.25
A mail 45.150.5.25
A imap 45.150.5.25
A pop 45.150.5.25
A smtp 45.150.5.25
CNAME lamu.com
MX mail.lamu.com
NS ns1.vultr.com
NS ns2.vultr.com
TXT "v=spf1 a mx ip4:45.150.5.25 ~all"
-------------
# apt-get update
# apt-get upgrade
-------------
-- Clound มีแรมเพียง 1024 MB จำเป็นต้องทำ Swap เพิ่มอีก 3 GB --
# dd if=/dev/zero of=/swap bs=1024 count=3584000
# mkswap /swap
# chmod 0600 /swap
# nano /etc/fstab
/swap swap swap defaults,noatime 0 0
# swapon -a
----------------
# nano /etc/hosts
127.0.0.1 localhost
45.150.5.25 mail.lamu.com mail
# nano /etc/hostname
---------------
# wget https://files.zimbra.com/downloads/8.7.11_GA/zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956.tgz
# tar xf zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956.tgz
# cd zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956
# ./install.sh
---------------
Do you agree with the terms of the software license agreement? [N] y
Use Zimbra's package repository [Y] y
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
The system will be modified. Continue? [N] y
Re-Enter domain name? [Yes] yes
Create domain: [mail.zimbra-demo.com] lamu.com
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help) 6
Select, or 'r' for previous menu [r] 4
Password for admin@zimbra-demo.com (min 6 characters): [gbjep4Py1] Qaz12345
Address unconfigured (**) items (? - help) 1 แล้วกด 6 เข้าไปแก้ Timezone ให้เป็นไทยคือ 42
Select, or 'r' for previous menu [r] r
*** 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
The system will be modified - continue? [No] yes
-- รอการติดตั้งอีกนานกว่าจะเสร็จจนถึง --
Notify Zimbra of your installation? [Yes]
Notification complete
Setting up zimbra crontab...done.
Moving /tmp/zmsetup.20160804-154559.log to /opt/zimbra/log
Configuration complete - press return to exit
====================================================
Requires Login