Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I want to install nagios but instead of using apache i would like to use nginx. I installed nagios-cli and it automatically brings parts of apache which puts a script into /etc/init.d/apache2 and annoy me on every bootup. I have nginx with php,cgi and mono working fine. But i am unsure how to remove apache from my system

How do i remove apache or not get it included with nagios? I am using debian squeeze (6)

share|improve this question

2 Answers 2

up vote 2 down vote accepted

If you don't want to uninstall apache2 because you don't want to mess with dependencies, you can disable it by doing:

/etc/init.d/apache2 stop
update-rc.d apache2 disable

Then configure nginx to serve nagios (I don't have experience with it to help you)

share|improve this answer

maybe this howto help:

http://www.nakedmcse.com/Home/tabid/39/forumid/14/threadid/37/scope/posts/Default.aspx

You need be able to execute perl scripts with nginx.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.