CentOS同步时间

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

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

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

posted @ 2015-01-26 23:41  liqipeng  阅读(160)  评论(0编辑  收藏  举报