Home  >  Article  >  Operation and Maintenance  >  How to uninstall nginx

How to uninstall nginx

藏色散人
藏色散人Original
2019-06-10 11:13:5713846browse

How to uninstall nginx

How to uninstall nginx?

Steps to uninstall nginx:

First enter the command ps -ef | grep nginx to check whether the nginx service is running

How to uninstall nginx

Execute the commands kill -9 10398 and kill -9 10399 to stop the nginx process (10398 and 10399 are the nginx process numbers found in step 1)

How to uninstall nginx

Execute the command find / -name nginx to find all files whose names contain nginx

How to uninstall nginx

Execute the command rm -rf /usr/local/nginx to delete the files related to nignx installation

How to uninstall nginx

Run the nginx service startup command /usr/local/nginx/sbin/nginx and the service startup file cannot be found, proving that the deletion was successful

How to uninstall nginx

For more nginx technical articles, please visit the nginx usage tutorial column!

The above is the detailed content of How to uninstall nginx. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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
Previous article:Does nginx charge?Next article:Does nginx charge?