refactor: 更新脚本下载链接
- 将脚本下载链接中的 "/me/script/-/raw/main/" 替换为 "/i/script/raw/main/" - 更新了多个文件中的脚本下载路径,包括但不限于: - acme/README.md - adguard/README.md - bash/README.md - docker/README.md - nginx/多个子目录的 README.md - python/README.md - uv/README.md
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
## ACME安装
|
||||
|
||||
```bash
|
||||
curl https://i.sugarscat.cn/me/script/-/raw/main/acme/acme.sh | sh -s -- --install
|
||||
curl https://i.sugarscat.cn/i/script/raw/main/acme/acme.sh | sh -s -- --install
|
||||
```
|
||||
|
||||
> [!TIP]
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
## 217heidai
|
||||
|
||||
```txt
|
||||
https://i.sugarscat.cn/me/script/-/raw/main/adguard/217heidai.txt
|
||||
https://i.sugarscat.cn/i/script/raw/main/adguard/217heidai.txt
|
||||
```
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
### 初始化脚本
|
||||
|
||||
```bash
|
||||
curl -LsSf https://i.sugarscat.cn/me/script/-/raw/main/bash/init.sh | bash
|
||||
curl -LsSf https://i.sugarscat.cn/i/script/raw/main/bash/init.sh | bash
|
||||
```
|
||||
|
||||
进行的操作有:
|
||||
@@ -15,7 +15,7 @@ curl -LsSf https://i.sugarscat.cn/me/script/-/raw/main/bash/init.sh | bash
|
||||
3. 设置时区 `Asia/Shanghai` 和时间同步
|
||||
|
||||
```bash
|
||||
curl -LsSf https://i.sugarscat.cn/me/script/-/raw/main/bash/init-ali.sh | bash
|
||||
curl -LsSf https://i.sugarscat.cn/i/script/raw/main/bash/init-ali.sh | bash
|
||||
```
|
||||
|
||||
进行的操作有:
|
||||
@@ -33,7 +33,7 @@ curl -LsSf https://i.sugarscat.cn/me/script/-/raw/main/bash/init-ali.sh | bash
|
||||
> 该脚本不适合 NAS 系统使用,部分 NAS 的磁盘挂载点在 `/tmp` 目录下,该脚本会清理掉 NAS 的数据。
|
||||
|
||||
```bash
|
||||
curl -LsSf https://i.sugarscat.cn/me/script/-/raw/main/bash/clean.sh | bash
|
||||
curl -LsSf https://i.sugarscat.cn/i/script/raw/main/bash/clean.sh | bash
|
||||
```
|
||||
|
||||
进行的操作有:
|
||||
|
||||
@@ -16,13 +16,13 @@ Docker 提供了一个自动配置与安装的脚本,支持 Debian、RHEL、SU
|
||||
使用 curl
|
||||
|
||||
```bash
|
||||
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/docker/install.sh | sh
|
||||
curl -fsSL https://i.sugarscat.cn/i/script/raw/main/docker/install.sh | sh
|
||||
```
|
||||
|
||||
使用 wget
|
||||
|
||||
```bash
|
||||
wget -O- https://i.sugarscat.cn/me/script/-/raw/main/docker/install.sh | sh
|
||||
wget -O- https://i.sugarscat.cn/i/script/raw/main/docker/install.sh | sh
|
||||
```
|
||||
|
||||
## Debian/Ubuntu/Raspbian
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
2. 下载 docker-compose.yml
|
||||
|
||||
```bash
|
||||
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/adguardhome/docker-compose.yml > docker-compose.yml
|
||||
curl -fSL https://i.sugarscat.cn/i/script/raw/main/docker/compose/adguardhome/docker-compose.yml > docker-compose.yml
|
||||
```
|
||||
|
||||
## docker-compose 部署
|
||||
|
||||
@@ -11,7 +11,7 @@ mkdir -p /opt/docker/clash && cd /opt/docker/clash
|
||||
下载 docker-compose.yml
|
||||
|
||||
```bash
|
||||
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/clash/docker-compose.yml > docker-compose.yml
|
||||
curl -fSL https://i.sugarscat.cn/i/script/raw/main/docker/compose/clash/docker-compose.yml > docker-compose.yml
|
||||
```
|
||||
|
||||
启动
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
2. 下载 docker-compose.yml
|
||||
|
||||
```bash
|
||||
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/frpc/docker-compose.yml > docker-compose.yml
|
||||
curl -fSL https://i.sugarscat.cn/i/script/raw/main/docker/compose/frpc/docker-compose.yml > docker-compose.yml
|
||||
```
|
||||
|
||||
3. 下载配置
|
||||
|
||||
```bash
|
||||
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/frpc/frpc.toml > data/frpc.toml
|
||||
curl -fSL https://i.sugarscat.cn/i/script/raw/main/docker/compose/frpc/frpc.toml > data/frpc.toml
|
||||
```
|
||||
|
||||
## docker-compose 部署
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
2. 下载 docker-compose.yml
|
||||
|
||||
```bash
|
||||
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/frps/docker-compose.yml > docker-compose.yml
|
||||
curl -fSL https://i.sugarscat.cn/i/script/raw/main/docker/compose/frps/docker-compose.yml > docker-compose.yml
|
||||
```
|
||||
|
||||
3. 下载配置
|
||||
|
||||
```bash
|
||||
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/frps/frps.toml > data/frps.toml
|
||||
curl -fSL https://i.sugarscat.cn/i/script/raw/main/docker/compose/frps/frps.toml > data/frps.toml
|
||||
```
|
||||
|
||||
## docker-compose 部署
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
2. 下载 docker-compose.yml
|
||||
|
||||
```bash
|
||||
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/gitlab-ce/docker-compose.yml > docker-compose.yml
|
||||
curl -fSL https://i.sugarscat.cn/i/script/raw/main/docker/compose/gitlab-ce/docker-compose.yml > docker-compose.yml
|
||||
```
|
||||
|
||||
## docker-compose 部署
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
1. 下载 docker-compose.yml
|
||||
|
||||
```bash
|
||||
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/rustdesk/docker-compose.yml > docker-compose.yml
|
||||
curl -fSL https://i.sugarscat.cn/i/script/raw/main/docker/compose/rustdesk/docker-compose.yml > docker-compose.yml
|
||||
```
|
||||
|
||||
## docker-compose 部署
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
1. 下载 docker-compose.yml
|
||||
|
||||
```bash
|
||||
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/vaultwarden/docker-compose.yml > docker-compose.yml
|
||||
curl -fSL https://i.sugarscat.cn/i/script/raw/main/docker/compose/vaultwarden/docker-compose.yml > docker-compose.yml
|
||||
```
|
||||
|
||||
## docker-compose 部署
|
||||
|
||||
@@ -9,11 +9,11 @@ mkdir -p /var/www/37point2.cn
|
||||
下载配置
|
||||
|
||||
```bash
|
||||
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/37point2.cn/index.html > /var/www/37point2.cn/index.html
|
||||
curl -fSL https://i.sugarscat.cn/i/script/raw/main/nginx/37point2.cn/index.html > /var/www/37point2.cn/index.html
|
||||
```
|
||||
|
||||
```bash
|
||||
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/37point2.cn/nginx.conf > /etc/nginx/sites-available/37point2.cn
|
||||
curl -fSL https://i.sugarscat.cn/i/script/raw/main/nginx/37point2.cn/nginx.conf > /etc/nginx/sites-available/37point2.cn
|
||||
```
|
||||
|
||||
启用配置
|
||||
|
||||
@@ -31,7 +31,7 @@ systemctl status nginx
|
||||
下载配置
|
||||
|
||||
```bash
|
||||
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/nginx.conf > /etc/nginx/nginx.conf
|
||||
curl -fSL https://i.sugarscat.cn/i/script/raw/main/nginx/nginx.conf > /etc/nginx/nginx.conf
|
||||
```
|
||||
|
||||
测试配置
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
下载配置
|
||||
|
||||
```bash
|
||||
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/example/nginx.conf > /etc/nginx/sites-available/example.com
|
||||
curl -fSL https://i.sugarscat.cn/i/script/raw/main/nginx/example/nginx.conf > /etc/nginx/sites-available/example.com
|
||||
```
|
||||
|
||||
启用配置
|
||||
|
||||
@@ -7,7 +7,7 @@ mkdir -p /opt/www/note && cd /opt/www/note
|
||||
```
|
||||
|
||||
```bash
|
||||
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/note.sugarscat.cn/deploy.sh > deploy.sh && chmod +x deploy.sh
|
||||
curl -fSL https://i.sugarscat.cn/i/script/raw/main/nginx/note.sugarscat.cn/deploy.sh > deploy.sh && chmod +x deploy.sh
|
||||
```
|
||||
|
||||
## 定时执行脚本
|
||||
@@ -35,7 +35,7 @@ crontab -l
|
||||
下载配置
|
||||
|
||||
```bash
|
||||
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/note.sugarscat.cn/nginx.conf > /etc/nginx/sites-available/note.sugarscat.cn
|
||||
curl -fSL https://i.sugarscat.cn/i/script/raw/main/nginx/note.sugarscat.cn/nginx.conf > /etc/nginx/sites-available/note.sugarscat.cn
|
||||
```
|
||||
|
||||
启用配置
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
1. 下载脚本:
|
||||
|
||||
```bash
|
||||
curl -O https://i.sugarscat.cn/me/script/-/raw/main/python/delete_empty_folders.py
|
||||
curl -O https://i.sugarscat.cn/i/script/raw/main/python/delete_empty_folders.py
|
||||
```
|
||||
|
||||
2. 执行下载的脚本:
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
2. 安装 `uv`
|
||||
|
||||
```bash
|
||||
curl -LsSf https://i.sugarscat.cn/me/script/-/raw/main/uv/install.sh | sh
|
||||
curl -LsSf https://i.sugarscat.cn/i/script/raw/main/uv/install.sh | sh
|
||||
```
|
||||
|
||||
## Windows 安装
|
||||
@@ -25,5 +25,5 @@
|
||||
2. 安装 `uv`
|
||||
|
||||
```bash
|
||||
powershell -ExecutionPolicy ByPass -c "irm https://i.sugarscat.cn/me/script/-/raw/main/uv/install.ps1 | iex"
|
||||
powershell -ExecutionPolicy ByPass -c "irm https://i.sugarscat.cn/i/script/raw/main/uv/install.ps1 | iex"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user