Home>Article>Operation and Maintenance> How to uninstall nginx in linux environment

How to uninstall nginx in linux environment

王林
王林 forward
2020-04-29 16:42:19 4911browse

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!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete