Configurar Zona horaria Ubuntu Server
Hacemos las siguientes comprobaciones y comandos:
Ver el estado actual de fecha, hora y NTP
timedatectl
Listar las zonas correspondientes:
timedatectl list-timezones | grep Madrid
Configurar zona horaria correcta:
sudo timedatectl set-timezone Europe/Madrid
Activar Sincronizacion NTP:
sudo timedatectl set-ntp true
Reiniciar servicio de sincronizacion de hora:
sudo systemctl restart systemd-timesyncd
Comprobar la hora
datetimedatectlVer el estado del servicio NTP
systemctl status systemd-timesyncd
Check out more IT nuggets at www.ruizpelaez.com.