1.关闭ntpd服务,和时间服务器同步时间,并写入设备
```
service ntpd stop
chkconfig --level 12345 ntpd off
ntpdate 10.101.28.230
hwclock --systohc
```
systohc[set the current system time to the hardware clock]
本文介绍如何停止ntpd服务并使用ntpdate命令与指定的时间服务器同步时间,最后通过hwclock命令将系统时间写入硬件时钟。
1.关闭ntpd服务,和时间服务器同步时间,并写入设备
```
service ntpd stop
chkconfig --level 12345 ntpd off
ntpdate 10.101.28.230
hwclock --systohc
```
systohc[set the current system time to the hardware clock]
5801
9146

被折叠的 条评论
为什么被折叠?