CentOS同步时间

用date查看系统当前时间,date -R 可查看时区。

CentOS 同步时间由ntp服务提供,可以用"yum install ntp -y"安装.

装完后运行命令 ntpdate cn.pool.ntp.org同步时间,然后hwclock -w 更新ROM时间。

原文地址:https://www.cnblogs.com/liqipeng/p/4590081.html