Files
gitlab-instance-0a899031_do…/scripts/linux/install_business.sh
2026-03-29 04:00:09 -05:00

36 lines
777 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
set -euo pipefail
SELF_DIR="$(cd "$(dirname "$0")" && pwd)"
INSTALL_TAG="business"
. "$SELF_DIR/lib/common.sh"
ensure_root "$@"
load_env
# Keep the business profile focused on the livestream stack.
ENABLE_HOMEPAGE=0
ENABLE_FILEBROWSER=0
ENABLE_COCKPIT=0
ENABLE_NETDATA=0
ensure_live_user
install_base_packages
install_media_packages
configure_adb_udev
install_nodejs
install_docker_stack
install_android_panel
prepare_python_runtime
prepare_web_console
install_live_console_service
configure_sudoers
configure_mdns
install_browser_stack
install_neko_browser
prepare_srs
run_hardware_probe
# 与 install-hub 一致:装 Caddy live-edgehttp://live.local:80 → 本机控制平面 PORT默认 8001
install_live_edge_proxy
print_summary "business"