docs(cleaning): 更新系统清理脚本和网站配置文档

- 简化了 clean.sh 脚本的注释
- 更新了 37point2.cn 网站配置的安装步骤,增加了创建目录的指令
- 调整了 37point2.cn 网站配置文件的下载顺序,先下载 index.html 再下载 nginx.conf
This commit is contained in:
2025-06-05 10:53:40 +08:00
parent d2ec4a1b65
commit 63d62f37a6
2 changed files with 10 additions and 5 deletions

View File

@@ -1,10 +1,10 @@
#!/bin/bash
# Linux 系统清理脚本(含 NAS 系统识别与确认)
# Linux 系统清理脚本
# ===============================
# !!! 警告 !!!
# 本脚本不适用于 NAS 系统(如 Synology DSM、TrueNAS、OpenMediaVault 等)
# 本脚本不适用于 NAS 系统。
# 如果你在 NAS 上运行,可能会造成系统损坏!
# 请谨慎操作!
# ===============================

View File

@@ -1,14 +1,19 @@
# 37point2.cn
创建目录
```bash
mkdir -p /var/www/37point2.cn
```
下载配置
```bash
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/37point2.cn/nginx.conf > /etc/nginx/sites-available/37point2.cn
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/37point2.cn/index.html > /var/www/37point2.cn/index.html
```
```bash
mkdir -p /opt/www/37point2.cn
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/37point2.cn/index.html > /opt/www/37point2.cn/index.html
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/37point2.cn/nginx.conf > /etc/nginx/sites-available/37point2.cn
```
启用配置