Commit fabf5274a8974283118b65fef39d7611721564ed

Authored by 徐烜
1 parent 11e28434

Updates 01_basic/ntp.md

Auto commit by GitBook Editor
Showing 1 changed file with 2 additions and 2 deletions
01_basic/ntp.md
@@ -30,7 +30,7 @@ timedatectl set-ntp 1 @@ -30,7 +30,7 @@ timedatectl set-ntp 1
30 // 同上安装chrony 30 // 同上安装chrony
31 // 防火墙开启ntp服务 31 // 防火墙开启ntp服务
32 firewall-cmd --add-service=ntp --permanent 32 firewall-cmd --add-service=ntp --permanent
33 -// /etc/chrony.cnf配置文件,如下图: 33 +// /etc/chrony.conf配置文件,如下图:
34 34
35 //---------- linux时间同步(chrony客户端)centos6 -----------// 35 //---------- linux时间同步(chrony客户端)centos6 -----------//
36 // 停止ntpd服务,取消开机自启 36 // 停止ntpd服务,取消开机自启
@@ -40,7 +40,7 @@ chkconfig ntpd off @@ -40,7 +40,7 @@ chkconfig ntpd off
40 chkconfig --add chronyd 40 chkconfig --add chronyd
41 chkconfig chronyd on 41 chkconfig chronyd on
42 service chronyd start 42 service chronyd start
43 -// 配置同上 43 +// /etc/chrony.conf配置同上
44 44
45 ``` 45 ```
46 46