部署文档与脚本增加 HTTP 代理配置(192.168.8.246:10810)。

This commit is contained in:
dekun
2026-06-28 13:24:19 +08:00
parent f1ad4273f4
commit 4375ea491e
5 changed files with 78 additions and 3 deletions
+4
View File
@@ -20,6 +20,9 @@ log_info() { echo -e "${GREEN}[INFO]${NC} $*"; }
log_warn() { echo -e "${YELLOW}[WARN]${NC} $*"; }
log_error() { echo -e "${RED}[ERROR]${NC} $*" >&2; }
# shellcheck source=proxy.sh
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/proxy.sh"
require_root() {
if [[ "${EUID:-$(id -u)}" -ne 0 ]]; then
log_error "请使用 root 用户运行: sudo bash deploy/install.sh"
@@ -207,6 +210,7 @@ print_summary() {
main() {
log_info "零 Node 一键部署开始"
require_root
setup_deploy_proxy
check_os
check_port
install_base_packages