Linux使用ntpdate调整时间
2022-06-05PHP
当Linux服务器的时间不对的时候,我们可以使用date -set命令更新时间,也可以使用ntpdate工具来校正时间。
1、使用来安装ntpdate
1 | [root@Linux ~]# yum install -y ntpdate |
2、ntpdate简单用法比较简单,格式: ntpdate ip
1 | [root@Linux ~]# ntpdate 210.72.145.44 |
公开的NTP时间服务器
(美国) time.nist.gov
(复旦)(国内用户推荐) ntp.fudan.edu.cn
微软公司授时主机(美国) time.windows.com
台警大授时中心(台湾) asia.pool.ntp.org
网通授时中心(北京) 219.158.14.130
time.twc.weather.com
swisstime.ethz.ch
ntp0.fau.de
ntp3.fau.de
time-a.nist.gov
time-b.nist.gov
time-nw.nist.gov
nist1-sj.glassey.com
NTP服务器(上海)
ntp.api.bz
很赞哦! ()