前言 --
今天一台 centos 6 服务器时间落后了差不多一分钟
就去网上各种百度, 各种谷歌搜索了很多的 ntp server, 对比发现外国的 ntp 时间差太大, 国家授时中心的服务器 IP 地址经常失效
最后发现阿里云的 ntp 就在中国, 同步成功非常高随手整理了以下时间服务器的 ip 文档, 提供各位看官参考
ntp 收集时间: 2018 年 3 月 08 日
使用范围: unlix 类操作系统 linux 类操作系统 windows 类操作系统
{如有错漏, 烦劳指出, 谢谢!}
阿里云公共 NTP 服务器 --
Unix/linux 类:
- ntp1.aliyun.com
- ntp2.aliyun.com
- ntp3.aliyun.com
- ntp4.aliyun.com
- ntp5.aliyun.com
- ntp6.aliyun.com
- ntp7.aliyun.com
windows 类 --
time.pool.aliyun.com
ntp 时间提供商公共 NTP 服务器 --
windows/unix/linux 类 --(通用)
pool.ntp.org
相关服务器时间设置 --
1.linux 设置时间同步
2.windows 设置时间同步
1.linux 设置同步
1.1 ntpdate 命令同步
- ntpdate ntp1.aliyun.com (没有命令, 请 yum -y install ntpdate 安装, 使用语法 -- ntpdate 地址)
- ntpdate ntp2.aliyun.com (没有命令, 请 yum -y install ntpdate 安装, 使用语法 -- ntpdate 地址)
- ...
1.2 ntpd 服务同步时间
yum -y install ntpd (相关搭建, 请 man 相关帮助)
2.windows 设置时间同步
来源: http://www.bubuko.com/infodetail-2520236.html