How to uninstall nginx in linux environment

王林
Release: 2020-04-29 16:42:19
forward
5022 people have browsed it

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*
Copy after login

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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template