44 lines
941 B
Bash
44 lines
941 B
Bash
#!/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
|
||
normalize_repo_root
|
||
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
|
||
install_redroid
|
||
prepare_mitmproxy
|
||
prepare_vscode_server
|
||
prepare_uptime_kuma
|
||
prepare_openclaw
|
||
install_pulseaudio_service
|
||
install_kmscube_service
|
||
prepare_srs
|
||
run_hardware_probe
|
||
# 与 install-hub 一致:装 Caddy live-edge,http://live.local:80 → 本机控制平面 PORT(默认 8001)
|
||
install_live_edge_proxy
|
||
print_summary "business"
|