refactor: 更新代码仓库地址为 Gitee
- 将 GitLab 地址替换为 Gitee 地址 - 更新涉及多个文件中的安装脚本和配置文件下载链接 - 此修改统一了代码源,提高了项目的可维护性
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
## ACME安装
|
||||
|
||||
```bash
|
||||
curl https://git.sugarscat.cn/me/script/-/raw/main/acme/acme.sh | sh -s -- --install
|
||||
curl https://gitee.com/Sugarscat/script/raw/main/acme/acme.sh | sh -s -- --install
|
||||
```
|
||||
|
||||
> [!tip] 安装程序会自动做以下操作
|
||||
|
||||
@@ -16,13 +16,13 @@ Docker 提供了一个自动配置与安装的脚本,支持 Debian、RHEL、SU
|
||||
使用 curl
|
||||
|
||||
```bash
|
||||
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/install.sh | sh
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/docker/install.sh | sh
|
||||
```
|
||||
|
||||
使用 wget
|
||||
|
||||
```bash
|
||||
wget -O- https://git.sugarscat.cn/me/script/-/raw/main/docker/install.sh | sh
|
||||
wget -O- https://gitee.com/Sugarscat/script/raw/main/docker/install.sh | sh
|
||||
```
|
||||
|
||||
## Debian/Ubuntu/Raspbian
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
2. 下载 docker-compose.yml
|
||||
|
||||
```bash
|
||||
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/compose/adguardhome/docker-compose.yml > docker-compose.yml
|
||||
curl -fsSL https://gitee.com/Sugarscat/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://git.sugarscat.cn/me/script/-/raw/main/docker/compose/clash/docker-compose.yml > docker-compose.yml
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/docker/compose/clash/docker-compose.yml > docker-compose.yml
|
||||
```
|
||||
|
||||
启动
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
2. 下载 docker-compose.yml
|
||||
|
||||
```bash
|
||||
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/compose/frps/docker-compose.yml > docker-compose.yml
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/docker/compose/frps/docker-compose.yml > docker-compose.yml
|
||||
```
|
||||
|
||||
3. 下载配置
|
||||
|
||||
```bash
|
||||
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/docker/compose/frps/frps.toml > data/frps.toml
|
||||
curl -fsSL https://gitee.com/Sugarscat/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://git.sugarscat.cn/me/script/-/raw/main/docker/compose/gitlab-ce/docker-compose.yml > docker-compose.yml
|
||||
curl -fsSL https://gitee.com/Sugarscat/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://git.sugarscat.cn/me/script/-/raw/main/docker/compose/rustdesk/docker-compose.yml > docker-compose.yml
|
||||
curl -fsSL https://gitee.com/Sugarscat/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://git.sugarscat.cn/me/script/-/raw/main/docker/compose/vaultwarden/docker-compose.yml > docker-compose.yml
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/docker/compose/vaultwarden/docker-compose.yml > docker-compose.yml
|
||||
```
|
||||
|
||||
## docker-compose 部署
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## Linux
|
||||
|
||||
```bash
|
||||
curl -sSL https://git.sugarscat.cn/me/script/-/raw/main/init/linux.sh | bash
|
||||
curl -sSL https://gitee.com/Sugarscat/script/raw/main/init/linux.sh | bash
|
||||
```
|
||||
|
||||
进行的操作有:
|
||||
@@ -13,7 +13,7 @@ curl -sSL https://git.sugarscat.cn/me/script/-/raw/main/init/linux.sh | bash
|
||||
3. 设置时区 `Asia/Shanghai` 和时间同步
|
||||
|
||||
```bash
|
||||
curl -sSL https://git.sugarscat.cn/me/script/-/raw/main/init/linux-ali.sh | bash
|
||||
curl -sSL https://gitee.com/Sugarscat/script/raw/main/init/linux-ali.sh | bash
|
||||
```
|
||||
|
||||
进行的操作有:
|
||||
|
||||
@@ -31,7 +31,7 @@ systemctl status nginx
|
||||
下载配置
|
||||
|
||||
```bash
|
||||
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/nginx/nginx.conf > /etc/nginx/nginx.conf
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/nginx/nginx.conf > /etc/nginx/nginx.conf
|
||||
```
|
||||
|
||||
测试配置
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
下载配置
|
||||
|
||||
```bash
|
||||
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/nginx/example/nginx.conf > /etc/nginx/sites-available/example.com
|
||||
curl -fsSL https://gitee.com/Sugarscat/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://git.sugarscat.cn/me/script/-/raw/main/nginx/note.sugarscat.cn/deploy.sh > deploy.sh && chmod +x deploy.sh
|
||||
curl -fsSL https://gitee.com/Sugarscat/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://git.sugarscat.cn/me/script/-/raw/main/nginx/note.sugarscat.cn/nginx.conf > /etc/nginx/sites-available/note.sugarscat.cn
|
||||
curl -fsSL https://gitee.com/Sugarscat/script/raw/main/nginx/note.sugarscat.cn/nginx.conf > /etc/nginx/sites-available/note.sugarscat.cn
|
||||
```
|
||||
|
||||
启用配置
|
||||
|
||||
Reference in New Issue
Block a user