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


查看当前系统时间

[root@centos64 ~]# date 

查看硬件时间

[root@centos64 ~]# hwclock --show

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

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

[root@centos64 ~]# hwclock -w


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM