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




No comments:

Second monitor no display after latest update - KDE-neon

 After latest update as of Oct 3, 2023, my second monitor was undetected with latest kernel (6.2.0-33-generic). If I boot with previous kern...