This commit is contained in:
starry
2025-07-16 12:35:21 +00:00
commit 1f7b4314c3
49 changed files with 18341 additions and 0 deletions

25
web/README.md Normal file
View File

@@ -0,0 +1,25 @@
### 完全卸载删除站点及环境
- 删除站点文件
```
sudo rm -r /var/www/
```
- 停止相关服务
```
sudo systemctl stop caddy apache2 mariadb
```
- 禁用开机自启
```
sudo systemctl disable caddy apache2 mariadb
```
- 卸载软件包
```
sudo apt remove --purge caddy apache2 php* mariadb-server mariadb-client -y
```
- 清理残留配置和依赖
```
sudo apt autoremove -y
```