Linux

How to enable and disable Linux systems clock synchronisation with a Network Time Protocol (NTP) Server

What does NTP mean? Network Time Protocol is an internet protocol, which is used to synchronize system clock between devices.

The timedatectl utility enables you to automatically sync your Linux system clock with a remote group of servers using NTP. For more information on how to change the system time zone under RedHat and CentOS. https://techdirectarchive.com/2020/04/06/how-to-change-the-system-time-zone-under-redhat-and-centos/

The prerequisite is to have NTP server installed on the device in order to enable automatic time synchronisation with an external NTP servers. Therefore, to enable automatic time synchronisation with a remote NTP server, type the following command at the terminal.

timedatectl set-ntp true

To disable NTP time synchronization, run the following command at the terminal as shown below.

timedatectl set-ntp false

On how this is performed in Windows, see https://techdirectarchive.com/2020/04/08/how-to-synchronize-your-domain-controller-with-an-external-time-source-in-windows/

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x