Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Perform Clock Synchronization on CentOS 7
#1

    How to Perform Clock Synchronization on CentOS 7
   

How to Perform Clock Synchronization on CentOS 7


   
   

Network Time Protocol (NTP) is an internet protocol that is commonly used to synchronize system clocks on different computers. The timedatectl command can configure a system’s time zone to automatically sync with a remote server using NTP.


   

To enable this, first, we should have NTP installed on the system. If you don’t have this installed on your CentOS device yet, you can do so by installing Chrony:


   
yum install chrony

   

In order to start synchronization with a remote NTP server, use the below command:


   
timedatectl set-ntp true

   

In case you want to revert these changes, use the below command. This will disable time synchronization:


   
timedatectl set-ntp false

   

   
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)