How to completely uninstall nginx

王林
Release: 2020-07-04 17:28:13
forward
3787 people have browsed it

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

2. Delete all nginx related files found

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

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

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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!