除了ntpdate可以同步两台主机之间的时间以外,另外一个工具就是rdate
查看时间服务器的时间:
# rdate time-b.nist.gov
设置时间和时间服务器同步:
# rdate -s time-b.nist.gov
# man rdate 查看rdate帮助
国内常用NTP服务器地址及IP:
s1d.time.edu.cn 东南大学 s1e.time.edu.cn 清华大学 s2a.time.edu.cn 清华大学 s2b.time.edu.cn 清华大学 s2c.time.edu.cn 北京邮电大学 ntp.sjtu.edu.cn 202.120.2.101 (上海交通大学网络中心NTP服务器地址) s1a.time.edu.cn 北京邮电大学 s1b.time.edu.cn 清华大学 s1c.time.edu.cn 北京大学 clock.cuhk.edu.hk 香港中文大学授时中心
扫描二维码关注公众号,回复:
1140814 查看本文章