sudo timedatectl set-timezone Europe/Lisbon
sudo timedatectl set-ntp on
sudo apt install ntp
Open the ntp configuration file sudo vi /etc/ntp.conf and replace de servers with the following:
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
server 3.pool.ntp.org
Restart ntp: sudo systemctl restart ntp
Check ntp: sudo ntpq -p
Found errors? Think you can improve this documentation? Simply click the Edit link at the top of the page, and then the icon on Github to make your changes.
Powered by Grav + with by Trilby Media.