Kudos
Collect
Twiiter
Facebook
Share

Linux Time Sync With Time Server

Last updated over 5 years ago
0 0 0 0

Ubuntu

$ sudo ntpdate pool.ntp.org
31 Aug 19:05:55 ntpdate[8911]: the NTP socket is in use, exiting
$ sudo service ntp stop
[ ok ] Stopping NTP server: ntpd.
$ sudo ntpdate pool.ntp.org
31 Aug 19:07:11 ntpdate[10355]: adjust time server 46.29.176.115 offset -0.002893 sec
$ sudo service ntp start

If ntp daemon is running, basically you don’t need to do ntpdate. The ntp daemon cares about it.

CentOS

$ sudo rdate -s ntp.jst.mfeed.ad.jp

CentOS also can be installed ntp daemon yum install ntp.

References

Time Serve List

Essedrop - Make your file online instantly
 

Responses

Leave a response to @freeman

Please sign in to comment.
Markdown is also available in comment.