简体   繁体   中英

How to completely remove Apache from Ubuntu 16.04 LTS

I have tried all the steps in the given in the AskUbuntu forums but all in vain.I removed entire LAMP Stack as well.But Apache2 Ubuntu Default Page loads up.I want to shift to Nginx and try and test my website on to that first. AskUbuntu Solutions: https://askubuntu.com/questions/50101/how-do-i-remove-the-lamp-stack-so-i-can-start-over https://askubuntu.com/questions/176964/permanently-removing-apache2

Any help is greatly appreciated.

Thanks!

In my case it was because the god damn index file was left in the /var/www directory. So the NGINX was running though it showed the apache html file :) So once I removed index.html from the directory it showed the correct one.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM