Howto zimbra: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
Line 39: Line 39:
configure /etc/resolv.conf:
configure /etc/resolv.conf:
  nameserver 127.0.0.1
  nameserver 127.0.0.1
test your dns:
nslookup vidalinux.net


= references =
= references =
* https://github.com/Zimbra/zm-build
* https://github.com/Zimbra/zm-build

Revision as of 02:30, 14 April 2023

compile zimbra

install podman:

https://wiki.vidalinux.org/index.php/Howto_podman#install_podman_ubuntu

for ubuntu 18.04:

https://hub.docker.com/r/ovox/zimbrabuild-ubuntu18

for ubuntu 20.04:

https://hub.docker.com/r/ovox/zimbrabuild-ubuntu20

for centos7:

https://hub.docker.com/r/ovox/zimbrabuild-centos7

for almalinux8:

https://hub.docker.com/r/ovox/zimbrabuild-alma8

install zimbra ubuntu 18.04 / 20.04

install the following packages:

apt-get update && apt-get -y install sqlite3 bind9-dnsutils libperl5.18 nano sudo libpcre3 libgmp10 unzip libgmp3-dev sysstat libexpat1 wget language-pack-en libaio1 pax

set hostname:

hostnamectl set-hostname vidalinux.net

configure /etc/hosts:

127.0.0.1 localhost
192.168.24.45 vidalinux.net mail.vidalinux.net

install dnsmasq:

apt-get -y install dnsmasq 

configure domain:

cat >> /etc/dnsmasq.conf << EOF
listen-address=127.0.0.1
interface=eth0
expand-hosts
domain=vidalinux.net
server=4.2.2.1
server=4.2.2.2
address=/.vidalinux.net/127.0.0.1
address=/.vidalinux.net/192.168.24.45
EOF

make sure systemd-resolved is disable:

systemctl stop systemd-resolved.service
systemctl disable systemd-resolved.service

start and enable dnsmasq:

systemctl enable dnsmasq.service
systemctl start dnsmasq.service

configure /etc/resolv.conf:

nameserver 127.0.0.1

test your dns:

nslookup vidalinux.net

references