在命令行中执行
yum install ntpdate -y如果时间服务器不对,可以更换下面的
ntpdate 0.asia.pool.ntp.org
time.nist.gov防止系统重启后时间还原,同步到硬件时钟
time.nuri.net
0.asia.pool.ntp.org
1.asia.pool.ntp.org
2.asia.pool.ntp.org
3.asia.pool.ntp.org
hwclock --systohc
网友回复
在命令行中执行
yum install ntpdate -y如果时间服务器不对,可以更换下面的
ntpdate 0.asia.pool.ntp.org
time.nist.gov防止系统重启后时间还原,同步到硬件时钟
time.nuri.net
0.asia.pool.ntp.org
1.asia.pool.ntp.org
2.asia.pool.ntp.org
3.asia.pool.ntp.org
hwclock --systohc
网友回复