标签:style blog http color io os ar sp div
yum install httpd php gcc glibc glibc-common gd gd-devel
useradd -s /sbin/nologin nagios passwd nagios groupadd nagcmd usermod -a -G nagcmd nagios usermod -a -G nagcmd apache
./configure --with-command-group=nagcmd make all make install make install-init make install-config make install-commandmode
make install-webconf
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
./configure --with-nagios-user=nagios --with-nagios-group=nagios make make install
chown -R nagios.nagcmd /usr/local/nagios
chkconfig --add nagios chkconfig --add httpd chkconfig nagios on chkconfig httpd on service httpd start service nagios start
http://localhost/nagios/
标签:style blog http color io os ar sp div
原文地址:http://www.cnblogs.com/superaltman/p/4039862.html