Centos 6.5 更改系统时间

来源:互联网 发布:手机淘宝如何卖二手货 编辑:程序博客网 时间:2024/06/06 01:37

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 重启是否正常

0 0
原创粉丝点击