FANDOM


Install NTP client on a Debian server Edit

  • Install
apt-get install ntp
  • You might want to comment out the 2 following lines in /etc/ntp.conf, which give default access to query time
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery
  • Reboot the service for changes to take effect
service ntp restart

Sync time with NTP server Edit

sudo ntpdate 0.pool.ntp.org