The NTP server setup is quite simple, I used the reference from Using chrony on Ubuntu 18.04. I replace the pool servers with my local ones, sudo vim /etc/ntp.conf
.
Some NTP tips:
sudo apt install ntp ntpdate
sudo nano /etc/ntp.conf
systemctl status ntp.service
Also checkout systemdtimed
Use the timedatectl
command to interogate and modify time and date information as required, mainly used to set local timezone and daylight savings parameters. The following commands are typical:
timedatectl
and timedatectl status
to list current system time date information.timedatectl list-timezones
to list available time zones in timedatectl.sudo timedatectl set-timezone Australia/Perth
to change timezone to desired.