DEV Community

Rodrigo de Avila
Rodrigo de Avila

Posted on

AlmaLinux: habilitar NTP Sync

$ sudo timedatectl set-ntp true
Enter fullscreen mode Exit fullscreen mode

Quer ver se está habilitado? Veja se o comando abaixo retorna System clock synchronized: yes

$ sudo timedatectl
               Local time: Thu 2023-07-13 09:24:39 -03
           Universal time: Thu 2023-07-13 12:24:39 UTC
                 RTC time: Thu 2023-07-13 12:24:39
                Time zone: America/Sao_Paulo (-03, -0300)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no
Enter fullscreen mode Exit fullscreen mode

Top comments (0)