Set Up Time Synchronization Debian 12
Channel: RickDebEC
Date: 22/04/2024

|
***********NTP********** Hora Local
sudo timedatectl set-ntp off
sudo apt remove --purge chrony systemd-timesyncd
sudo apt install ntp
timedatectl set-ntp true
sudo timedatectl set-ntp on
timedatectl list-timezones
timedatectl set-timezone America/Guayaquil
timedatectl set-local-rtc 0
sudo systemctl restart ntp
timedatectl status

**********CHRony********** Sync Recomendado En Servidores
sudo timedatectl set-ntp off
sudo apt remove --purge systemd-timesyncd ntp ntpsec python3-ntp
sudo apt install chrony
timedatectl set-ntp true
sudo timedatectl set-ntp on
timedatectl list-timezones
timedatectl set-timezone America/Guayaquil
timedatectl set-local-rtc 0
sudo systemctl restart chrony
timedatectl status

**********SystemD-TimeSync********** Sync Consume Menos Que CHRony
sudo timedatectl set-ntp off
sudo apt remove --purge chrony ntp ntpsec python3-ntp
sudo apt install systemd-timesyncd
timedatectl set-ntp true
sudo timedatectl set-ntp on
timedatectl list-timezones
timedatectl set-timezone Continente/Ciudad
timedatectl set-local-rtc 0
sudo systemctl restart systemd-timesyncd
timedatectl status