Commit 4374a056d7116d9fc2abb9815d2faac595ad1f67

Authored by 徐烜
1 parent 99657f3f

Updates chapter1.md

Auto commit by GitBook Editor
Showing 1 changed file with 3 additions and 1 deletions
chapter1.md
@@ -66,7 +66,9 @@ yum install nagios* nrpe @@ -66,7 +66,9 @@ yum install nagios* nrpe
66 // 启动服务,设置开机自启 66 // 启动服务,设置开机自启
67 systemctl enable nagios 67 systemctl enable nagios
68 systemctl start nagios 68 systemctl start nagios
69 - 69 +// 设置nagios后台管理员密码
  70 +htpasswd -bc /etc/nagios/passwd nagiosadmin nagiosadmin2jsp
  71 +用户名建议使用默认的nagiosadmin,否则需要修改/etc/nagios/cgi.cfg文件,替换nagiosadmin到自定义用户名
70 72
71 73
72 ``` 74 ```