habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Install Zimbra Mailbox – Zimbra Multi Server on Ubuntu 20.04 (Part 2)

2 min read

Install Zimbra Multi Server on Ubuntu 20.04 (Part 2)

Hi Dude, I will continue my article that I posted earlier about installing zimbra multi server on Ubuntu 20.04. In the previous post, the Zimbra LDAP installation has been completed. Now we will continue with the Zimbra Mailbox Multi Server Installation stage.

Before Install Zimbra Mailbox 1 – Multi Server

Basically the same as in Zimbra LDAP preparation, we can repeat the same steps so that this article is not long. I will write a summary here.

Preparation:

  1. Set IP address static and /etc/hosts.
  2. Set Hostname and Date Time.
  3. Disable firewall.
  4. Install NTP Server. In /etc/ntp.conf disable all server, and add "server 10.12.12.10 iburst".
  5. By default, Ubuntu 20/04 bundling systemd-resolved. Edit /etc/systemd/resolved.conf and set like below.
[Resolve]
DNS=10.12.12.10
#FallbackDNS=
Domains=habibza.in

After that finished, test lookup to other server. It should be answered according to the IP address in the DNS field. As we know, 127.0.0.53 is port systemd-resolver.

root@mbox1:~# nslookup ldap.habibza.in
Server:         127.0.0.53
Address:        127.0.0.53#53

Non-authoritative answer:
Name:   ldap.habibza.in
Address: 10.12.12.10

root@mbox1:~# nslookup mail.habibza.in
Server:         127.0.0.53
Address:        127.0.0.53#53

Non-authoritative answer:
Name:   mail.habibza.in
Address: 10.12.12.12

Next, test the NTP client. Whether it can query the NTP server 10.12.12.10 or not. Use command ntpq -c sysinfo. Look red line, there is flag sync_ntp. That sign can query properly to ntp server 10.12.12.10.

root@mbox1:~# ntpq -c sysinfo
associd=0 status=0615 leap_none, sync_ntp, 1 event, clock_sync,
system peer: ldap.habibza.in:123
system peer mode: client
leap indicator: 00
stratum: 4
log2 precision: -25
root delay: 4.961
root dispersion: 235.535
reference ID: 10.12.12.10
reference time: e68cd30d.5979d076 Thu, Jul 28 2022 16:19:09.349
system jitter: 0.000000
clock jitter: 1.711
clock wander: 0.115
broadcast delay: -50.000
symm. auth. delay: 0.000

Install Zimbra Mailbox 1

Lets do it.

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

Operations logged to /tmp/install.log.v39fi0HW
Checking for existing installation...
    zimbra-drive...NOT FOUND
    zimbra-imapd...NOT FOUND
    ...
---CUT---
    ...  
----------------------------------------------------------------------
Do you agree with the terms of the software license agreement? [N] y
Use Zimbra's package repository [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] n
Install zimbra-logger [Y] Y
Install zimbra-mta [Y] n
Install zimbra-dnscache [N] n
Install zimbra-snmp [Y] n
Install zimbra-store [Y] Y
Install zimbra-apache [Y] Y
Install zimbra-spell [Y] Y
Install zimbra-memcached [Y] n
Install zimbra-proxy [Y] n
Install zimbra-drive [Y] n
Install zimbra-imapd (BETA - for evaluation only) [N] n

Install zimbra-chat [Y] n
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-logger
    zimbra-store
    zimbra-apache
    zimbra-spell
    zimbra-patch

The system will be modified.  Continue? [N] y
...CUT...

If show dialog like below, press 1.

See also  Zimbra Unable to start TLS: SSL connect attempt failed error

Next, note the line marked with an asterisk ‘******’ with value “UNSET”.

Zimbra common configuration
  • Ldap Master Host : ldap.habibza.in
  • Ldap admin password: find password in host zimbra ldap.

The trick is to login to the Zimbra LDAP host. See red line below.

root@ldap:~# su - zimbra
zimbra@ldap:~$ zmlocalconfig -s zimbra_ldap_password ldap_master_url
zimbra_ldap_password = WtHcMRpTV
ldap_master_url = ldap://ldap.habibza.in:389

And then, set timezone zimbra. Type number ‘8’ and then ENTER. fill with number ’51’. That is Asia/Bangkok.

If finished, type ‘r’. And see asterisk in number ‘9’.

Fill SMTP Server hostname: mta.habibza.in. We will config later after this server install finished.

Press ‘r’ to return. And follow wizard installation until finished.

root@mbox1:~# su - zimbra
zimbra@mbox1:~$ zmcontrol status
Host mbox1.habibza.in
        logger                  Running
        mailbox                 Running
        service webapp          Running
        snmp                    Running
        spell                   Running
        stats                   Running
        zimbra webapp           Running
        zimbraAdmin webapp      Running
        zimlet webapp           Running
        zmconfigd               Running

Ok, we already finished installation zimbra Part 2. Next install MTA server in Part 3. Plaase make sure everything running well and not conflict port. Can ping and lookup between server.

Full Documenation: Multiple-Server Installation


Let's Buy Me Coffee.

Buy Me a Coffee at ko-fi.com

https://saweria.co/habibzain
https://ko-fi.com/habibzain
habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Easy Create Laravel Project with Composer

Requirement Laravel, a popular PHP framework, is renowned for its elegant syntax and robust features, making it a top choice for web developers. One...
habibzain
1 min read

Virtualbox Change Storage Size

Changing the storage size of a virtual machine in VirtualBox involves a few steps. Here’s a general guide. Backup your Virtual Machine (VM) Before...
habibzain
35 sec read

Easy Setup Logrotate Nginx Ubuntu

Log rotation is an important aspect of managing log files on a Linux system, including those generated by Nginx. Logrotate is a utility that...
habibzain
1 min read

Leave a Reply

Your email address will not be published. Required fields are marked *

Never miss good article from us, get weekly updates in your inbox