This commit is contained in:
Luk Lu
2023-05-23 10:40:47 +08:00
parent 5323bd1ee7
commit 8b8bb68883
2 changed files with 17 additions and 3 deletions

7
nginx-remove.sh Normal file
View File

@@ -0,0 +1,7 @@
sudo service nginx stop
sudo apt-get remove nginx -y # 可删除除/etc/nginx 配置文件外的所有文件
sudo apt-get autoremove #自动删除安装nginx时安装的依赖包
sudo apt-get --purge remove nginx-common -y