ensuring_accurate_time_debian
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ensuring_accurate_time_debian [2024/10/31 13:18] – created admin | ensuring_accurate_time_debian [2024/10/31 17:59] (current) – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
**Ensuring Accurate Time on Debian** | **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 / | ||
+ | The NTP configuration file on Debian 12 is located at / | ||
+ | |||
+ | Edit the file with the NTP servers of your choice or install the European NTP Servers: | ||
+ | |||
+ | pool 0.europe.pool.ntp.org | ||
+ | pool 1.europe.pool.ntp.org | ||
+ | pool 2.europe.pool.ntp.org | ||
+ | pool 3.europe.pool.ntp.org | ||
+ | |||
+ | Setting the thime zone: | ||
+ | |||
+ | timedatectl set-timezone your_time_zone (Europe/ | ||
+ | |||
+ | You can check the settings by doeing: | ||
+ | |||
+ | timedatectl | ||
+ | |||
+ | You can check the timeservers by doeing: | ||
+ | |||
+ | ntpq -p | ||
+ | |||
+ | |||
+ | That's all. | ||
+ | |||
+ | **Your ArtIT Team** | ||
+ | \\ | ||
+ | \\ | ||
+ | **[[linux|BACK]]** | ||
+ |
ensuring_accurate_time_debian.1730377099.txt.gz · Last modified: 2024/10/31 13:18 by admin