Centos如何实现与internet时间段同步
Centos如何实现与internet时光同步
1.安装wget接收辅助工具
yum install wget -y
2.使用wget接收ntpdate安装包
wget
http://mirror.centos.org/centos/7/os/x86_64/Packages/ntpdate-4.2.6p5-29.el7.centos.2.x86_64.rpm
3.安装ntpdate
rpm -ivh ntpdate-4.2.6p5-29.el7.centos.2.x86_64.rpm
4.通过ntpdate命令同步联机时光
ntpdate < NTP服务项目端地址 >
ntpdate ntp.ntsc.ac.cn
5.国内外常用公共NTP联机时光服务项目端地址
国内服务项目端适用
ntp.ntsc.ac.cn
ntp.aliyun.com
time.asia.apple.com
cn.ntp.org.cn
time.windows.com
cn.pool.ntp.org
海外服务项目端适用
time.google.com
time.facebook.com
time.cloudflare.com