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
国内服务器适用
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
版权保护: 本文「Centos如何实现与internet时间同步」由 云主机配置专家 原创,转载请保留链接: https://www.miandns.com/docs/system/589.html