RHCSA: Configure NTP

Reading Time: 3 minutes

Time is incredibly important to a server, especially in production. Accurate timing is essential for logging & auditing. Some cloud integration tools will not work if the time is out of sync

NTP (Network Time Protocol)

NTP keeps servers synchronized with the correct time. NTP can use either network-based servers, such as a domain controller, or it can point to online global time servers.

NTP, RHCSA: Configure NTP
This server has the wrong time and is in the wrong zone. Let’s fix this…

Set Time Zone

I live in the UK, So I need to set the time to Europe GMT

sudo timedatectl set-timezone Europe/London
NTP, RHCSA: Configure NTP
The TimeZone and Time have now automatically been updated

To view the time on another server, such as an enterprise domain controller using the –host operator (You will need to provide user credentials)

NTP, RHCSA: Configure NTP


crony.d is a daemon that manages time

systemctl status chronyd
NTP, RHCSA: Configure NTP
chronyc tracking
NTP, RHCSA: Configure NTP
chronyc sources
NTP, RHCSA: Configure NTP
chronyc sources -v
NTP, RHCSA: Configure NTP

To manually edit the Chrony configuration, edit the chrony.conf, here you can set a time server on the internal network

sudo vim /etc/chrony.conf
NTP, RHCSA: Configure NTP

Looking for some more Linux reading, check out this RSA article on Linux.

For more information about the RHCSA certification, check out this page.


This is part 8 of the Red Hat RHCSA mini-series blog. In the chapter, we learned about NTP.

RHCSA MiniSeries 

Part 1 – How to use Grep and Regular Expressions (RegEx)

Part 2 – How to manipulate files in RedHat

Part 3 – Red Hat Permissions

Part 4 – How to change the root password on Red Hat

Part 5 – How to use Red Hat as a virtual machine host

Part 6 – How to configure local storage

Part 7 – how to manage users and groups in Red Hat Linux

Part 8 – how to configure NTP Network Time Protocol in Red Hat

You may also like...

Leave a Reply

Your email address will not be published.