I want to remove Nginx from my Amazon Linux EC2 server. How can I find it and remove/disable it?Nginx is listening on port 80, and I need access to that port. It would be preferable to not have to stop the process every server reboot.By the way, I tried this, but it didn't work: sudo rm -f -R /usr/local/nginx && rm -f /usr/local/sbin/nginx
How do I find and remove Nginx from an EC2 instance?
nginx;amazon ec2
If it's Amazon AMI Linux first you need to stop nginx service:sudo service nginx stopthan you should disable it with:sudo chkconfig nginx offand if you like, uninstall it:sudo yum remove nginxHTH