Home > Article > Operation and Maintenance > How to uninstall nginx in linux environment
We can execute the following command under root privileges to uninstall.
Specific command:
rm -rf /etc/nginx/ rm -rf /usr/sbin/nginx rm /usr/share/man/man1/nginx.1.gz apt-get remove nginx*
Its principle is to delete associated files and folders.
Recommended tutorial: nginx usage tutorial
The above is the detailed content of How to uninstall nginx in linux environment. For more information, please follow other related articles on the PHP Chinese website!