ENQTRAN

How to Unistall Nginx from Centos

sudo systemctl status nginx
sudo systemctl stop nginx.service
sudo systemctl disable nginx.service
sudo rm -rf /etc/nginx
sudo rm -rf /var/log/nginx
sudo rm -rf /var/cache/nginx/
sudo rm -rf /usr/lib/systemd/system/nginx.service
sudo yum remove nginx
Exit mobile version