Thursday, 26 December 2024

How to install NTP and How to SYnc the time with NTP.

 In centos , You can use below command to install and the ntp for auto time syn.


1-OS= centos 7.x installation:

yum install ntp
systemctl enable ntpd

2-initial sync, with CLoud NTP.

ntpdate pool.ntp.org

3-start the daemon with NTP CLoud Server.

systemctl start ntpd



Verification.

JJ@localhost ~]# date
Thu Dec 26 16:59:29 IST 2024