网络时间同步(Centos)

原创
02/06 11:40
阅读数 45
  1. 安装ntpdate工具
yum -y install ntp ntpdate
  1. 设置系统时间与网络时间同步
ntpdate cn.pool.ntp.org
或
ntpdate ntp.api.bz
  1. 将系统时间写入硬件时间
hwclock w

4.查看硬件时

hwclock -show
展开阅读全文
加载中

作者的其它热门文章

打赏
0
0 收藏
分享
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部