Some thing is learned every time|

孤独求BUG

园龄:3年7个月粉丝:0关注:3

centos 时间同步

(1)安装ntpdate工具

yum -y install ntp ntpdate

(2)设置系统时间与网络时间同步

ntpdate cn.pool.ntp.org

(3)将系统时间写入硬件时间

hwclock --systohc

(4)强制系统时间写入CMOS中防止重启失效

hwclock -w或clock -w

posted @   孤独求BUG  阅读(112)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起