Home >Operation and Maintenance >Nginx >How to completely uninstall nginx

How to completely uninstall nginx

王林
王林forward
2020-07-04 17:28:134088browse

How to completely uninstall nginx

Specific method:

(Recommended tutorial: nginx tutorial)

1. Enter the following command to globally search for nginx related File:

sudo find / -name nginx*

2. Delete all nginx related files found

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

Description: Global search will often find many related files, but the prefixes are basically the same, and different parts can be used later. Replace with * for quick deletion~

Example:

sudo rm -rf file /usr/local/nginx*

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