ensuring_accurate_time_debian
This is an old revision of the document!
Ensuring Accurate Time on Debian
To have accurate time on you servers, install a NTP service by doeing the following:
apt update
apt install ntp
systemctl status ntp
The NTP configuration file on Debian is located at /etc/ntp.conf. The NTP configuration file on Debian 12 is located at /etc/ntpsec/ntp.conf.
Edit the file with the NTP servers of your choice or install the European NTP Servers:
server 0.europe.pool.ntp.org server 1.europe.pool.ntp.org server 2.europe.pool.ntp.org server 3.europe.pool.ntp.org
Setting the thime zone:
timedatectl set-timezone your_time_zone (Europe/Amsterdam)
You can check the settings by doeing:
timedatectl
You can check the timeservers by doeing:
ntpq -p
That's all.
Your ArtIT Team
BACK
ensuring_accurate_time_debian.1730377531.txt.gz · Last modified: 2024/10/31 13:25 by admin