Commit 6f85429c9ee748cc43849959af2e579e98f0ab05
1 parent
62d9e017
Updates 01_basic/ntp.md
Auto commit by GitBook Editor
Showing
1 changed file
with
1 additions
and
1 deletions
01_basic/ntp.md
| @@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
| 7 | rpm -qa|grep chrony | 7 | rpm -qa|grep chrony |
| 8 | // 没有找到,yum安装 | 8 | // 没有找到,yum安装 |
| 9 | yum install chrony -y | 9 | yum install chrony -y |
| 10 | -// 修改/etc/chrony.conf配置文件 | 10 | +// 修改/etc/chrony.conf配置文件,如下图: |
| 11 | // 启动chrony服务,加入开机启动项,查看状态 | 11 | // 启动chrony服务,加入开机启动项,查看状态 |
| 12 | systemctl enable chronyd.service | 12 | systemctl enable chronyd.service |
| 13 | systemctl restart chronyd.service | 13 | systemctl restart chronyd.service |