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

How to uninstall nginx?

藏色散人
藏色散人Original
2019-06-29 10:21:254047browse

How to uninstall nginx?

How 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 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 Delete the relevant files installed by nignx

How to uninstall nginx?

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

How to uninstall nginx?

For more Nginx related knowledge, please visit Nginx Use the 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