Time Date Related Setup

Back  
 Next

This is an old revision of the document!


Prev  
 Next

Setup NTP server

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:

  • To install: sudo apt install ntp ntpdate
  • To edit main configuration file: sudo nano /etc/ntp.conf
  • The NTP Pool Time Servers page provides the regional NTP servers/pools
  • The systemctl command (status, stop, start, restart): systemctl status ntp.service

Setting System Time - Time Zone

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.

Home Server Index

Home Server Other Index

/app/www/public/data/attic/home_server/home_server_setup/other_services/timedate.1575788189.txt.gz · Last modified: 2023-04-30 Sun wk17 17:43
CC Attribution-Share Alike 4.0 International Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International