centos系统时间相差8个小时解决方案

查看当前系统时间

[root@centos64 ~]# date 

查看硬件时间

[root@centos64 ~]# hwclock --show

同步时间可以用:ntpdate us.pool.ntp.org,需要联网。如果没有安装ntpdate的可以yum一下:yum install -y ntpdate。

将系统时间写入到系统硬件当中

[root@centos64 ~]# hwclock -w

posted @ 2017-06-20 17:56  屌丝IT男  阅读(2596)  评论(0编辑  收藏  举报