How to sync NTP time with chrony

chrony is a network time protocol (NTP) implementation. It can be used to keep server time sync with NTP servers.

To install chrony on RHEL based OS, run

On Debian/Ubuntu, run

Configure chrony

On Ubuntu, by default chrony is configured to use ubuntu NTP servers.

If you need to change NTP servers, you can edit configuration file

Restart chrony

Enable chrony

Start chrony

To view status, run

Display system time information, you can use the command “chronyc tracking”.

Back to Time

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *