AI智能
改变未来

nagios安装步骤


nagios安装步骤

安装环境:centos6
1、关闭防火墙、seinux
2、yum -y install httpd php openssl-devel gcc gcc-c++(安装依赖)
3、vim /etc/httpd/conf/httpd.conf/
4、vim /var/www/html/index.php
5、service httpd restart
6、useradd -g nagios nagiso
7、传入nagios安装包
8、tar zxf nagios+tab(tab是补全)
9、cd nagios+tab
10、./configure –prefix=/usr/local/nagios
11、make all
12、make install
13、make install-init
14、make install-webconf
15、make install-config
16、make install-commandmode
17、htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
18、测试:ip+nagios

赞(0) 打赏
未经允许不得转载:爱站程序员基地 » nagios安装步骤