首页 > 其他分享 >ntp时间同步

ntp时间同步

时间:2023-01-30 22:34:05浏览次数:43  
标签:同步 ntp time 授时 时间 ntpdate gov

同步网络时间:输入ntpdate time.nist.gov同步网络时间

 [root@linuxidc~]# ntpdate -u time.nist.gov  #网络时间同步命令

 13 Mar 13:39:57 ntpdate[3318]: adjust time server 216.229.0.179 offset 0.018134 sec

 #出现以上信息说明同步成功#

 注:如提示命令不存在,直接输入:yum install ntp -y  安装ntp软件包。 

 注:若不加上-u参数, 会出现以下提示:no server suitable for synchronization found

 -u:从man ntpdate中可以看出-u参数可以越过防火墙与主机同步;

 210.72.145.44:中国国家授时中心的官方服务器。

 ntp常用服务器:

中国国家授时中心:210.72.145.44

NTP服务器(上海) :ntp.api.bz

美国:time.nist.gov 

复旦:ntp.fudan.edu.cn 

微软公司授时主机(美国) :time.windows.com 

台警大授时中心(台湾):asia.pool.ntp.org

标签:同步,ntp,time,授时,时间,ntpdate,gov
From: https://www.cnblogs.com/yipianchuyun/p/17077438.html

相关文章