0

I sudo apt-get install nginx by mistake on a server already running Apache.

I then sudo apt-get remove nginx and rebooted. I lost the output of that and can't remember if it was installed successfully. If I tried that again, it says "Package 'nginx' is not installed so not removed."

However, if I now run sudo nginx -t it says "test is successful". And which nginx shows /usr/sbin/nginx.

What is the real status? How do I properly uninstall nginx?

0 Answers0