Commit 99657f3f701be119951c844191209e7b6082166f
1 parent
ef1a5d0e
Updates chapter1.md
Auto commit by GitBook Editor
Showing
1 changed file
with
3 additions
and
0 deletions
chapter1.md
| @@ -63,6 +63,9 @@ curl -I 127.0.0.1:8888 | @@ -63,6 +63,9 @@ curl -I 127.0.0.1:8888 | ||
| 63 | rpm -qa | grep nagios | 63 | rpm -qa | grep nagios |
| 64 | // 安装nagios | 64 | // 安装nagios |
| 65 | yum install nagios* nrpe | 65 | yum install nagios* nrpe |
| 66 | +// 启动服务,设置开机自启 | ||
| 67 | +systemctl enable nagios | ||
| 68 | +systemctl start nagios | ||
| 66 | 69 | ||
| 67 | 70 | ||
| 68 | 71 |