- 安装ntpdate工具
yum -y install ntp ntpdate
- 设置系统时间与网络时间同步
ntpdate cn.pool.ntp.org
或
ntpdate ntp.api.bz
- 将系统时间写入硬件时间
hwclock –w
4.查看硬件时
hwclock -show
yum -y install ntp ntpdate
ntpdate cn.pool.ntp.org
或
ntpdate ntp.api.bz
hwclock –w
4.查看硬件时
hwclock -show
© 著作权归作者所有