refactor: 更新脚本下载链接为新的 GitLab 地址
- 将 Gitee 上的脚本下载链接替换为 GitLab 上的最新链接 - 更新了多个文件中的 curl 命令以使用新的 URL - 此更改统一了脚本的来源,便于维护和更新
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
## ACME安装
|
||||
|
||||
```bash
|
||||
curl https://gitee.com/Sugarscat/script/raw/main/acme/acme.sh | sh -s -- --install
|
||||
curl https://i.sugarscat.cn/me/script/-/raw/main/acme/acme.sh | sh -s -- --install
|
||||
```
|
||||
|
||||
> [!TIP]
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
### 初始化脚本
|
||||
|
||||
```bash
|
||||
curl -sSL https://gitee.com/Sugarscat/script/raw/main/bash/init.sh | bash
|
||||
curl -sSL https://i.sugarscat.cn/me/script/-/raw/main/bash/init.sh | bash
|
||||
```
|
||||
|
||||
进行的操作有:
|
||||
@@ -15,7 +15,7 @@ curl -sSL https://gitee.com/Sugarscat/script/raw/main/bash/init.sh | bash
|
||||
3. 设置时区 `Asia/Shanghai` 和时间同步
|
||||
|
||||
```bash
|
||||
curl -sSL https://gitee.com/Sugarscat/script/raw/main/bash/init-ali.sh | bash
|
||||
curl -sSL https://i.sugarscat.cn/me/script/-/raw/main/bash/init-ali.sh | bash
|
||||
```
|
||||
|
||||
进行的操作有:
|
||||
@@ -24,10 +24,10 @@ curl -sSL https://gitee.com/Sugarscat/script/raw/main/bash/init-ali.sh | bash
|
||||
2. 更换DNS为 `114.114.114.114`,`223.5.5.5`;
|
||||
3. 设置时区 `Asia/Shanghai` 和时间同步
|
||||
|
||||
### Linux 系统清理脚本
|
||||
### 系统清理脚本
|
||||
|
||||
```bash
|
||||
curl -sSL https://gitee.com/Sugarscat/script/raw/main/bash/clean.sh | bash
|
||||
curl -sSL https://i.sugarscat.cn/me/script/-/raw/main/bash/clean.sh | bash
|
||||
```
|
||||
|
||||
进行的操作有:
|
||||
|
||||
@@ -16,13 +16,13 @@ Docker 提供了一个自动配置与安装的脚本,支持 Debian、RHEL、SU
|
||||
使用 curl
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/docker/install.sh | sh
|
||||
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/docker/install.sh | sh
|
||||
```
|
||||
|
||||
使用 wget
|
||||
|
||||
```bash
|
||||
wget -O- https://gitee.com/Sugarscat/script/raw/main/docker/install.sh | sh
|
||||
wget -O- https://i.sugarscat.cn/me/script/-/raw/main/docker/install.sh | sh
|
||||
```
|
||||
|
||||
## Debian/Ubuntu/Raspbian
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
2. 下载 docker-compose.yml
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/docker/compose/adguardhome/docker-compose.yml > docker-compose.yml
|
||||
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/adguardhome/docker-compose.yml > docker-compose.yml
|
||||
```
|
||||
|
||||
## docker-compose 部署
|
||||
|
||||
@@ -11,7 +11,7 @@ mkdir -p /opt/docker/clash && mkdir -p /opt/docker/clash/data && cd /opt/docker/
|
||||
下载 docker-compose.yml
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/docker/compose/clash/docker-compose.yml > docker-compose.yml
|
||||
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/clash/docker-compose.yml > docker-compose.yml
|
||||
```
|
||||
|
||||
启动
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
2. 下载 docker-compose.yml
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/docker/compose/frps/docker-compose.yml > docker-compose.yml
|
||||
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/frps/docker-compose.yml > docker-compose.yml
|
||||
```
|
||||
|
||||
3. 下载配置
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/docker/compose/frps/frps.toml > data/frps.toml
|
||||
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/frps/frps.toml > data/frps.toml
|
||||
```
|
||||
|
||||
## docker-compose 部署
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
2. 下载 docker-compose.yml
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/docker/compose/gitlab-ce/docker-compose.yml > docker-compose.yml
|
||||
curl -fsSL https://i.sugarscat.cn/me/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 -fsSL https://gitee.com/Sugarscat/script/raw/main/docker/compose/rustdesk/docker-compose.yml > docker-compose.yml
|
||||
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/rustdesk/docker-compose.yml > docker-compose.yml
|
||||
```
|
||||
|
||||
## docker-compose 部署
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
1. 下载 docker-compose.yml
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/docker/compose/vaultwarden/docker-compose.yml > docker-compose.yml
|
||||
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/vaultwarden/docker-compose.yml > docker-compose.yml
|
||||
```
|
||||
|
||||
## docker-compose 部署
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
下载配置
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/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/nginx.conf > /etc/nginx/sites-available/37point2.cn
|
||||
```
|
||||
|
||||
```bash
|
||||
|
||||
@@ -31,7 +31,7 @@ systemctl status nginx
|
||||
下载配置
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/nginx/nginx.conf > /etc/nginx/nginx.conf
|
||||
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/nginx.conf > /etc/nginx/nginx.conf
|
||||
```
|
||||
|
||||
测试配置
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
下载配置
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/nginx/example/nginx.conf > /etc/nginx/sites-available/example.com
|
||||
curl -fsSL https://i.sugarscat.cn/me/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 -fsSL https://gitee.com/Sugarscat/script/raw/main/nginx/note.sugarscat.cn/deploy.sh > deploy.sh && chmod +x deploy.sh
|
||||
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/note.sugarscat.cn/deploy.sh > deploy.sh && chmod +x deploy.sh
|
||||
```
|
||||
|
||||
## 定时执行脚本
|
||||
@@ -35,7 +35,7 @@ crontab -l
|
||||
下载配置
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/nginx/note.sugarscat.cn/nginx.conf > /etc/nginx/sites-available/note.sugarscat.cn
|
||||
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/nginx/note.sugarscat.cn/nginx.conf > /etc/nginx/sites-available/note.sugarscat.cn
|
||||
```
|
||||
|
||||
启用配置
|
||||
|
||||
Reference in New Issue
Block a user