Home > Backend Development > PHP Tutorial > CTO's nginx deletes records under ubuntu

CTO's nginx deletes records under ubuntu

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-29 09:12:50
Original
850 people have browsed it

The apt method of installing software under ubuntu and debain is very convenient, especially for novices to install and uninstall nginx.

Since nginx cannot add modules dynamically, it will be frequently installed, uninstalled, and upgraded.

Install nginx Run sudo apt-get install nginx directly under ubuntu.

apt uninstall nginx method
Uninstall method 1.
# Delete nginx, keep the configuration file
sudo apt-get remove nginx
#Delete the configuration file
rm - rf /etc/nginx

Uninstall method 2.
#Delete nginx associated configuration files
sudo apt-get purge nginx # Removes everything.

You still need to execute sudo apt-get autoremove and there will be a prompt on the command line.

#Uninstall nginx dependent programs that are no longer needed
sudo apt-get autoremove


The above introduces CTO's nginx deletion records under ubuntu, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
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
Latest Issues
Error restarting nginx
From 1970-01-01 08:00:00
0
0
0
server - Nginx configuration webapp problem
From 1970-01-01 08:00:00
0
0
0
Nginx default.conf problem
From 1970-01-01 08:00:00
0
0
0
centos7 - NGINX exception occurs
From 1970-01-01 08:00:00
0
0
0
nginx load balancing
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template