Linux的時間同步到時間服務器

命令:更新時間服務器ip地址
ntpdate  -u  xx.xx.xx.xx 結果如下:

[root@sky9896 sky]# ntpdate -u  ntp.api.bz

30 May 15:06:45 ntpdate[7929]: adjust time server 61.153.197.226 offset 0.015621 sec

[

ntp常用服務器:

NTP服務器(上海) :ntp.api.bz
美國: time.nist.gov
微軟公司授時主機(美國) :time.windows.com

[root@sky9896 sky]# ntpdate -u time.windows.com
30 May 15:11:33 ntpdate[10630]: adjust time server 40.118.103.7 offset 0.002
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章