Configure NTP Client on Rocky 8

The following quick-guide describes how to install and configure NTP Client on a Rocky or CentOS 8 OS.

Check to see if Chrony is already installed

dnf list chrony

If it is not installed run:

dnf install chronyd

Edit Chrony config file

vi /etc/chrony.conf

Replace pool 2.pool.ntp.org iburst with your desired NTP server eg (pool uk.pool.ntp.org)

Restart chronyd service

systemctl restart chronyd

You will also need to enable it if not already:

systemctl enable chronyd

Check new NTP server is being picked up:

chronyc sources