Centos如何實(shí)現(xiàn)與internet時(shí)間同步
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.通過(guò)ntpdate命令同步網(wǎng)絡(luò)時(shí)間
ntpdate < NTP服務(wù)器地址 > ntpdate ntp.ntsc.ac.cn
國(guó)內(nèi)服務(wù)器適用
ntp.ntsc.ac.cn
ntp.aliyun.com
time.asia.apple.com
cn.ntp.org.cn
time.windows.com
cn.pool.ntp.org
海外服務(wù)器適用
time.google.com
time.facebook.com
time.cloudflare.com
版權(quán)保護(hù): 本文「Centos如何實(shí)現(xiàn)與internet時(shí)間同步」由 云主機(jī)配置專(zhuān)家 原創(chuàng),轉(zhuǎn)載請(qǐng)保留鏈接: http://www.iqcg.cn/docs/system/589.html