eddy 9438f4340a fix: 强化 Sub2API 安装与更新流程
- 在修改安装文件前先校验 Docker 与 Compose 是否可用
- 让“不安装”选项直接干净退出,而不是触发更新
- 复用已检测到的 Compose 命令执行安装和更新操作
- 在无 apt 的系统上跳过系统包更新
- 限制自动更新日志增长,并保留日志文件 inode
2026-07-05 05:13:14 +08:00
2025-11-06 20:17:23 +08:00
2025-11-06 20:17:23 +08:00
2026-07-01 03:00:22 +08:00

vps脚本

常用脚本

  • sysUpdate
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/init/01-sysUpdate.sh)
  • sysCleanup
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/init/02-sysCleanup.sh)
  • docker
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/init/03-docker.sh)

安装

  • 01-Nginx
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/01-Nginx.sh)
  • 02-NginxProxy
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/02-NginxProxy.sh)
  • 03-X-UI.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/03-X-UI.sh)
  • 04-FRP.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/04-FRP.sh)
  • 05-ZeroTier.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/05-ZeroTier.sh)
  • 06-Rustdesk.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/06-Rustdesk.sh)
  • 07-Alist.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/07-Alist.sh)
  • 08-Duplicati.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/08-Duplicati.sh)
  • 09-Syncthing.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/09-Syncthing.sh)
  • 10-Vaultwarden.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/10-Vaultwarden.sh)
  • 11-EasyImage.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/11-EasyImage.sh)
  • 12-Wordpress.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/12-Wordpress.sh)
  • 13-Nextcloud.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/13-Nextcloud.sh)
  • 14-Joplin.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/14-Joplin.sh)
  • 15-LobeChat.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/15-LobeChat.sh)
  • 20-NewApi.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/20-NewApi.sh)
  • 23-Sub2API
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/23-Sub2API.sh)
S
Description
No description provided
Readme MIT 72 MiB
Languages
Shell 100%