How to remove or disable Apache
-
Hi
My new VPS comes with Apache/PHP/MySQL already on it, so before I install and set up Nginx I'd like to ideally completely remove or at the very least disable Apache.
Do I just do
apt-get remove apacheor is there anything else I need to do?Cheers!
Posted 2 years ago # -
hey Simon .. sudo apt-get purge [package]
Posted 2 years ago # -
so i stopped the apache2 service with
sudo /etc/init.d/apache2 stop, typedsudo apt-get purge apache2and confirmed when it asked me, then rebooted, but it's still going strong!i still get the 'It Works!' screen when i go to my IP address in my browser and can see the Apache processes running in
top -c.i'm obviously missing something here....
Posted 2 years ago # -
ok, i think i've found it... after doing the above, i then did
dpkg --get-selections | grep apacheto show me all installed apache packages and found some still lurking around in there. this got rid of them:sudo apt-get remove apache2.2-common --purgesudo apt-get remove apache2-utils --purgeonwards to nginx...
Posted 2 years ago # -
top-notch Simon .. purge that thing!
Posted 2 years 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.
