1. 程式人生 > >centos 時間日期設置

centos 時間日期設置

conf 網絡時間 系統時間 ebo system ont ntpd art 2-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 時間日期設置