tomwechsler /
AutomatedLab_and_PowerShell
Deploy automated test or training environment with PowerShell!
33/100 healthLoading repository data…
carrotgithub / repository
An automated deployment CLI tool for CLIProxyApi. This repository also contains a collection of essential shell scripts for common server management tasks.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
版本: v3.0 更新日期: 2026-02-23 许可证: MIT
一套 VPS 集群自动化部署工具,用于构建 AI API 网关服务和代理节点。
| 操作系统 | 版本 | 测试状态 |
|---|---|---|
| Ubuntu | 20.04 / 22.04 / 24.04 | ✅ 推荐 |
| Debian | 11 / 12 | ✅ 支持 |
| CentOS Stream | 9 | ✅ 支持 |
| 组件 | 最低配置 | 推荐配置 |
|---|---|---|
| 0.nginx | 512MB 内存, 500MB 磁盘 | 1GB 内存, 2GB 磁盘 |
| 1.v2ray | 512MB 内存 | 1GB 内存 |
| 2.cliproxyapi | 256MB 内存 | 512MB 内存 |
| 3.new-api | 1GB 内存 (Docker) | 2GB 内存 |
cd vps_deployment_ai_tools
chmod +x deploy_cluster.sh
./deploy_cluster.sh
脚本按顺序引导完成各组件安装:Nginx → Docker → V2Ray → CliproxyAPI → New-API。
# 仅部署 Nginx
cd 0.nginx && ./install_nginx.sh
# 仅部署 New-API(会自动安装 Docker)
cd 3.new-api && ./install_newapi_docker.sh
vps_deployment_ai_tools/
├── deploy_cluster.sh # 全流程部署引导脚本
├── README.md # 本文档
│
├── docs/ # 辅助文档
│ └── cloudflare-dns-guide.md # Cloudflare DNS 配置指南
│
├── 0.nginx/ # Nginx 基础设施(必选)
│ ├── install_nginx.sh
│ └── README.md
│
├── 01.docker/ # Docker 容器环境(推荐)
│ ├── install_docker.sh
│ └── README.md
│
├── 1.v2ray/ # V2Ray 代理节点
│ ├── install_v2ray.sh
│ ├── install_web.sh
│ └── README.md
│
├── 2.cliproxyapi/ # CliproxyAPI 轻量代理
│ ├── install_cliproxyapi_v2.sh
│ └── README.md
│
├── 3.new-api/ # New-API AI 网关
│ ├── install_newapi_docker.sh
│ ├── upgrade_newapi_docker.sh
│ ├── upgrade_newapi_alpha.sh
│ ├── uninstall_newapi_docker.sh
│ └── README.md
│
└── 8.service-monitor/ # 服务监控系统
├── install_monitor.sh
├── service_monitor.sh
├── send_email.sh
└── README.md
部署方式: 源码编译
cd 0.nginx && ./install_nginx.sh
部署方式: 自动安装
source 引用两种模式New-API 等 Docker 服务的前置依赖。
cd 01.docker && ./install_docker.sh
依赖: 0.nginx | 部署方式: 二进制 + Systemd
cd 1.v2ray && ./install_v2ray.sh && ./install_web.sh
依赖: 0.nginx | 部署方式: 二进制 + Systemd
cd 2.cliproxyapi && ./install_cliproxyapi_v2.sh
依赖: 0.nginx, Docker | 部署方式: Docker Compose
cd 3.new-api && ./install_newapi_docker.sh
依赖: 无 | 部署方式: 纯 Bash
cd 8.service-monitor && ./install_monitor.sh
0.nginx (必选)
↓
01.docker (推荐)
↓
┌───┴───┬───────────┬───────────┐
↓ ↓ ↓ ↓
1.v2ray 2.cliproxy 3.new-api 8.monitor
所有服务脚本均支持三种访问模式:
| 模式 | SSL 证书 | 适用场景 |
|---|---|---|
| 域名模式 | Let's Encrypt(自动申请) | 生产环境(推荐) |
| IP 模式 | 自签名证书 | 测试环境/无域名场景 |
| HTTP 模式 | 无 | 内网/开发环境 |
⚠️ 重要:同一台服务器部署多个服务时,必须为每个服务使用不同的子域名。
Nginx 配置文件路径为
/usr/local/nginx/conf/conf.d/{域名}.conf,相同域名会导致配置覆盖。正确示例:
proxy.example.com、api.example.com、newapi.example.com
systemctl status nginx
/usr/local/nginx/sbin/nginx -t
systemctl reload nginx
tail -f /var/log/nginx/error.log
cd /opt/docker-services/new-api
docker compose ps
docker compose logs -f new-api
docker compose restart
~/.acme.sh/acme.sh --list
~/.acme.sh/acme.sh --renew -d example.com --ecc --force
systemctl reload nginx
chmod +x *.sh && ./install_xxx.sh
docker compose logs # 查看详细日志
netstat -tlnp | grep :3000 # 检查端口占用
dig +short your-domain.com
netstat -tlnp | grep :80
对于低配 VPS(<1GB),建议使用 CliproxyAPI 而非 New-API。脚本会自动创建 Swap 空间。
全流程部署引导脚本,按顺序引导安装:
./deploy_cluster.sh
# 脚本依次询问:
# 1. 安装 Nginx(必选)
# 2. 安装 Docker(推荐)
# 3. 安装 V2Ray
# 4. 安装 CliproxyAPI
# 5. 安装 New-API
最后更新: 2026-02-23
Selected from shared topics, language and repository description—not editorial ratings.
tomwechsler /
Deploy automated test or training environment with PowerShell!
33/100 healthjefferyjob /
该项目是一个自动化部署脚本,通过 SSH 管理 Docker 容器,实现备份、更新、回滚、故障恢复,确保服务稳定和高可用性。This project is an automated deployment script that manages Docker containers through SSH to implement backup, update, rollback, and fault recovery to ensure service stability and high availability.
54/100 healthaltlimit /
Altclaw is an open-source, single-binary AI agent orchestrator that lets AI models do things — read and write files, run shell commands, query databases, automate browsers, send emails, manage git repos, deploy web apps, and much more — all inside a secure, workspace-scoped sandbox.
Amrt1n3zm /
smartcoin Remote bitcoin mining management software SmartCoin - Simple Miner Administration for Remote Terminals As the name implies, this is a full-blown administration system for miners that is specifically designed with terminals in mind (remote ssh shell access, etc.). It is also so much more - its a full load-balanced system that tracks all of the miner instances on a machine, and reports everything on one easy to view screen. The idea is to spread many miner instances across several GPUs for multiple pools (and even solo!) on one machine (i'm mining to 4 concurrent pools as we speak. If any one of them goes down, the system re-balances its self with any remaining good pools, and my hashing power remains the same). SmartCoin also makes automated deployments a breeze - it can start everything up (according to "mapping rules") at boot up, and makes it simple to restart an entire array of miners. You can even change settings on the fly and watch as the system magically adjusts itsself. SmartCoin is fully backed by a MySql database, and written in 100% linux CLI tools (bash, sed, awk). Another neat perk to this, is that you can put a small percentage of your hashing power into solo mining if you like, while you're mining to several pools at once! This is NOT a proxy - its a load balancing system that does not interfere with Long Polling or suffer from any other problems experienced with proxies.
42/100 healthshootcannon /
WPShell is an automated WordPress exploitation tool with auto shell deployment for fast security testing.
51/100 healthmszcool /
Sample that provides an end-2-end automated deployment for SQL Server AlwaysOn Availability Groups with Azure Virtual Machines running in two Data Centers (two Regions) for High Availability.
45/100 health