Tuesday, March 12, 2019

time synchronization on Ubuntu 16.04

Hi there,

If you use Ubuntu 16.04 or Ubuntu-Debian derivatives and above, systemd provides an easier way to do time synchronization to time server.

First you have to install ntdate package:

sudo apt install ntpdate

Secondly, you have to edit /etc/systemd/timesyncd.conf and add your prefered time server to sync to:

[Time]
NTP=0.asia.pool.ntp.org
FallbackNTP=ntp.ubuntu.com

Save the file and restart the time synchronization service:

sudo systemctl restart systemd-timesyncd 

To check the status:

sudo systemctl status systemd-timesyncd




Renew letsencrypt ssl certificate for zimbra 8.8.15

 Letsencrypt certs usually consists of these files: 1. cert.pem 2. chain.pem 3. fullchain.pem 4. privkey.pem I am not going to discuss about...