This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
# chmod +x 00-disable-password.sh && ./00-disable-password.sh
|
||||
# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/00-disable-password.sh && chmod +x 00-disable-password.sh && ./00-disable-password.sh
|
||||
# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/00-disable-password.sh && chmod +x 00-disable-password.sh && ./00-disable-password.sh
|
||||
|
||||
|
||||
# 用户设置
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
# chmod +x 01-sysUpdate.sh && ./01-sysUpdate.sh
|
||||
# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/01-sysUpdate.sh && chmod +x 01-sysUpdate.sh && ./01-sysUpdate.sh
|
||||
# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/01-sysUpdate.sh && chmod +x 01-sysUpdate.sh && ./01-sysUpdate.sh
|
||||
|
||||
echo "系统更新"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
# chmod +x 02-sysCleanup.sh && ./02-sysCleanup.sh
|
||||
# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/02-sysCleanup.sh && chmod +x 02-sysCleanup.sh && ./02-sysCleanup.sh
|
||||
# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/02-sysCleanup.sh && chmod +x 02-sysCleanup.sh && ./02-sysCleanup.sh
|
||||
|
||||
echo "系统清理"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
# chmod +x 03-docker.sh && ./03-docker.sh
|
||||
# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/03-docker.sh && chmod +x 03-docker.sh && ./03-docker.sh
|
||||
# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/03-docker.sh && chmod +x 03-docker.sh && ./03-docker.sh
|
||||
|
||||
echo "初始化vps"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# ddns-go 自动安装脚本
|
||||
# 使用方法: chmod +x ddns-go.sh && ./ddns-go.sh
|
||||
# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/ddns-go.sh && chmod +x ddns-go.sh && ./ddns-go.sh
|
||||
# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/ddns-go.sh && chmod +x ddns-go.sh && ./ddns-go.sh
|
||||
|
||||
# 彩色输出
|
||||
RED='\033[0;31m'
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
# 整合了系统更新、登录安全设置、系统清理、Docker安装、防火墙设置、时区设置、
|
||||
# 内存优化、Fail2ban安装和BBR加速
|
||||
# 使用方法: chmod +x vps_init.sh && ./vps_init.sh
|
||||
# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/vps_init.sh && chmod +x vps_init.sh && ./vps_init.sh
|
||||
# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/vps_init.sh && chmod +x vps_init.sh && ./vps_init.sh
|
||||
|
||||
# ===========================================
|
||||
# 用户设置区域 - 根据需要修改
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Xray 管理脚本 - 集成安装、卸载和管理功能
|
||||
# 专门支持 VLESS+REALITY 协议
|
||||
# 使用方法: chmod +x xray-manager.sh && ./xray-manager.sh
|
||||
# curl -sS -O https://raw.githubusercontent.com/ghuang-top/vps/main/init/xray-manager.sh && chmod +x xray-manager.sh && ./xray-manager.sh
|
||||
# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/init/xray-manager.sh && chmod +x xray-manager.sh && ./xray-manager.sh
|
||||
|
||||
# 全局变量
|
||||
XRAY_PATH="/usr/local/bin"
|
||||
|
||||
Reference in New Issue
Block a user