install zimbra mail server on ubuntu 20.04

Опубликовано: 11 Декабрь 2021
на канале: linux-syr
13,954
86

Remark:
1-It is strongly recommended that you use Ubuntu LTS. Installing a complex server software like Zimbra on a non-LTS Ubuntu is discouraged, as you will likely run into problems if you upgrade your OS every 9 months. It is much better to keep your mail server stable for 2 or 5 years.
2-Zimbra must be installed on a clean, new server.
____________________________________
if your not local, please edit your webhosting dns settings and create the MX Records.

sudo apt update
sudo apt upgrade

1:05 edit hostname:
nano /etc/hostname
mail.linuxsyr.syr

1:34 editing hosts:
nano /etc/hosts
127.0.0.1 localhost
192.168.192.62 mail.linuxsyr.syr mail

systemctl disable systemd-resolved

systemctl stop systemd-resolved

2:46 editing resolv:
rm -f /etc/resolv.conf

nano /etc/resolv.conf
namerserver 8.8.8.8

3:21 installing and editing dnsmasq:
install dnsmasq
apt-get install dnsmasq
nano /etc/dnsmasq.conf
server= 192.168.192.62
domain=linuxsyr.syr
mx-host= linuxsyr.syr, mail.linuxsyr.syr, 5
mx-host= mail.linuxsyr.syr, mail.linuxsyr.syr, 5
listen-address=127.0.0.1

systemctl restart dnsmasq

6:14 downloading zmc:
wget https://files.zimbra.com/downloads/8....

tar -xvf zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954.tgz

cd zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954

7:13 installing zimbra server:
./install.sh

get gui on server: apt-get install ubuntu-desktop

edit dns setting, if you cannt connect to your zimbra server