Ubuntu Sync Internet Time

Jan 26, 2017 / Updated on Jan 26, 2017

Check NTP installed by following command

$timedatectl status

Output

      Local time: Thu 2017-01-26 15:14:55 UTC
  Universal time: Thu 2017-01-26 15:14:55 UTC
        Timezone: Etc/UTC (UTC, +0000)
     NTP enabled: yes
NTP synchronized: no
 RTC in local TZ: no
      DST active: n/a

If NTP synchronized ‘no’ then install NTP using the following command

sudo apt install ntp

Start/Restart NTP

sudo service ntp restart

Reference: https://help.ubuntu.com/lts/serverguide/NTP.html

comments powered by Disqus
Categories:
Tags: