首页 > 其他 > 详细

centos 时间日期设置

时间:2017-11-02 15:21:41      阅读:266      评论:0      收藏:0      [点我收藏+]

date  时间窗口

date -s ‘2015-02-02 10:10:00‘  更改年月日小时分秒

date -s 10:00:02  只更改时间 不更改年月

clock -w 写入系统时间

hwclock  同步bios 时间

service ntpdate start  开启网络时间同步

systemctl start  ntpdate.service 开启网络时间同步 Red Hat 7

chkconfig --leves 2345 ntpdate on  开机启动

reboot 重启报错



or type Contril-D to contime:输入系统密码-根据报错修复


fsck -y /dev/mapper/VolGroup-lv_root


fsck -y /dev/sda1


reboot 重启是否正常

centos 时间日期设置

原文:http://www.cnblogs.com/mingzhang/p/7772315.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!