Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124

How to install NTP client – CentOS 8

Today we’ll look at how to install an NTP, chrony, client on CentOS 8.

Issue the following to install the NTP client, chrony

dnf install chrony

Start the service by issuing the following:

service chronyd start

Start chrony on boot

chkconfig chronyd on

Issue the following to list the NTP servers chrony has self-populated based on your location

chronyc sources

This is the output on our test server

210 Number of sources = 5
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^+ time.cloudflare.com           3   6   377     5  +5900us[+5881us] +/-   86ms
^* time.cloudflare.com           3   6   377     4  +5419us[+5400us] +/-   85ms
^? time.cloudflare.com           0   8     0     -     +0ns[   +0ns] +/-    0ns
^? time.cloudflare.com           0   8     0     -     +0ns[   +0ns] +/-    0ns