Commit 73adf9aa7a91d9c3095e02b6e81f53431cf76d50
1 parent
37567a47
Updates chapter1.md
Auto commit by GitBook Editor
Showing
1 changed file
with
5 additions
and
0 deletions
chapter1.md
| @@ -16,5 +16,10 @@ cat /etc/centos-release | @@ -16,5 +16,10 @@ cat /etc/centos-release | ||
| 16 | rpm -qa|grep chrony | 16 | rpm -qa|grep chrony |
| 17 | // 没有找到,yum安装 | 17 | // 没有找到,yum安装 |
| 18 | yum install chrony -y | 18 | yum install chrony -y |
| 19 | +// 启动chrony服务,加入开机启动项,查看状态 | ||
| 20 | +systemctl enable chronyd.service | ||
| 21 | +systemctl restart chronyd.service | ||
| 22 | +systemctl status chronyd.service | ||
| 23 | + | ||
| 19 | 24 | ||
| 20 | ``` | 25 | ``` |