Apache taking over my Nginx
-
I have installed my linode following the VPS bible steps. Everything was fine until yesterday when all my domains started pointing to '/var/www' the apache default web folder.
What makes it so that Apache starts instead of nginx? Will removing Apache always prevent this?
Posted 1 year ago # -
if you dont need apache, then i'd remove it. I've setup 4 boxes with the vps bible and all running nginx.
sudo apt-get remove apache
(it also might be apache2)if you want to see a list of packages that you have installed, do:
dpkg --get-selections > packagesand your installed packages will be saved into the file packages
if this doesn't work, show us your vhost file
Posted 1 year ago # -
aye to that! apache was likely installed as a dependency package .. do this:-
aptitude show apache2
and if you have some package depending on it it should be listed.
if you're not sure after a bit of research you could just turn it off for now:-
sudo /etc/init.d/apache2 stop
at my site guvnr.com there's a good tutorial explaining how to change run levels too, whereby you could disable a package so it doesn't kick back up on reboot:-
Speed Up 9.10 by Disabling Services [KARMIC KOALA BIBLE #11] - GUVNR
just trying to think what it would have installed with .. damn, did know that!! .. bit tired .. anyone?
Posted 1 year ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
