Nagios 설치
./configure --prefix=/home/nagios/nagios-4.2.2 --with-command-group=nagcmd --with-httpd_conf=/etc/httpd/conf.d
make all && make install && make install-init && make install-commandmode && make install-config && make install-webconf
htpasswd -s -c /home/nagios/nagios-4.2.2/etc/htpasswd.users nagiosadmin
./configure --prefix=/home/nagios/nagios-4.2.2 --with-nagios-user=nagios --with-nagios-group=nagios
/home/nagios/nagios-4.2.2/bin/nagios -v /home/nagios/nagios-4.2.2/etc/nagios.cfg
./configure --prefix=/usr/local/php \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-config-file-path=/usr/local/apache2/conf \
--with-gd \
--with-zlib \
--with-iconv \
--with-png-dir \
--with-jpeg-dir \
--with-freetype-dir \
--with-libxml-dir \
--with-mcrypt \
--with-openssl \
--with-curl \
--with-imap-ssl \
--with-kerberos \
--enable-mbstring \
--enable-calendar \
--enable-sockets \
--enable-ftp \
--disable-debug \
--disable-maintainer-zts
./configure --prefix=/home/nagios/nagios-4.2.2/
make all && make install && make install-plugin && make install-daemon && make install-config && make install-init