1

I am trying to remove Apache2 and replace with NginX. I purged Apache2 and if I try again, it says "Package 'apache2' is not installed, so not removed". However, when I go to the localhost page, I'm still get the default Apache page. I am not sure where to go now.

  • Burn the fresh OS image to the SD card. To avoid problems in future install Docker and run Nginx in a container. Really... What's the point of digging in dirt? – techraf Dec 29 '16 at 4:48
1

Change directory to /var/www/

cd /var/www/
ls -la

you should see these files

index.html     index.nginx-debian.html

index.html is that defaul page of apache, remove it, then you will see nginx defult home page

open localhost again (ctrl+f5)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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