Home > Operation and Maintenance > Nginx > The correct way to uninstall nginx

The correct way to uninstall nginx

王林
Release: 2020-10-22 18:29:58
forward
3807 people have browsed it

The correct way to uninstall nginx

The specific steps are as follows:

(Recommended tutorial: nginx tutorial)

Step 1: Enter the following command to search globally nginx related files:

sudo find / -name nginx*
Copy after login

If an error occurs in the first step, try the command

 sudo find / -name "nginx*"
Copy after login

Step 2: Delete all found nginx related files

sudo rm -rf file 此处跟查找出来的nginx文件
Copy after login

Description: Global search Many related files are often found, but the prefixes are basically the same, and different parts can be replaced with * for quick deletion.

Example:

   sudo rm -rf file /usr/local/nginx*
Copy after login

The above is the detailed content of The correct way to uninstall nginx. 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