您的位置:首页 > 运维架构 > Linux

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

2017-06-20 17:56 281 查看
查看当前系统时间

[root@centos64 ~]# date

查看硬件时间

[root@centos64 ~]# hwclock --show

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

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

[root@centos64 ~]# hwclock -w
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: