Page 1 of 1

Compile Apache for Nagios instead of yum

Posted: Sat Apr 14, 2018 2:28 pm
by ks6764
We are not allowed to use yum to install http to /etc/httpd as is the typical instruction for the pre-requisites for setting up Nagios Core.
Instead, we must compile Apache and place it under /opt/app/apache.
Can someone provide all the arguments I should use for an Apache compile so that I ensure it works properly with Nagios Core ?

Yum install of the other components like gcc, etc. are acceptable.

Thank you in advance for any advise.

Re: Compile Apache for Nagios instead of yum

Posted: Mon Apr 16, 2018 7:43 am
by scottwilkerson
If it is compiles as it normally comes with your OS it should be fine, however when you go to make nagios configs you are going to need to install the httpd configs to your config location with a command like this

Code: Select all

sudo /usr/bin/install -c -m 644 sample-config/httpd.conf /your/custom/path/etc/apache2/sites-available/nagios.conf