source: https://guide.debianizzati.org/index.php/Configurare_un_NTP_Time_Server_su_Debian

 

Install:

apt install ntp sntp

Config:

nano /etc/ntp.conf

Start/Stop:

service ntp start
service ntp stop

Test when running:

ntpq -pn