Tuesday, October 17, 2017

How to Synchronize the system clock to Network Time Protocol (NTP) in Linux.




1.  If you do not have the ntpd service enabled use the below command to install and enable..

   a) yum install ntp.
   b) systemctl enable ntpd.

 

2. Modify the  /etc/ntp.conf  file as shown in the below image.  If you are using Cent OS 7, please modify the  cat /etc/ntp/step-tickers.

        You can also find the preferred ones for your location at http://www.pool.ntp.org/




3. Start the ntpd service

    systemctl restart ntpd

     





No comments:

Post a Comment