One-click, manual and offline installation supported — deploy in minutes and start using it right away.
01
Installation & Usage
Environment Requirements
Before installing Beacon, make sure your system meets the following requirements:
Operating system: Linux
CPU architecture: x86_64, arm64
Software dependency: Docker 20 or later (20.10.14+ recommended)
Software dependency: Docker Compose 2.0.0 or later
Runtime privileges: root or sudo (install, upgrade and uninstall require root)
Minimum resources: 1 CPU core / 1 GB memory / 5 GB disk (2 GB memory recommended)
Production access: a trusted HTTPS domain behind a reverse proxy, forwarding to the Beacon web port
Beacon supports one-click, manual and offline installation. Production mode only accepts HTTPS; the example domain must be replaced with a real address backed by a trusted certificate that forwards to the Beacon web port. Single-node deployments default to a Unix Socket control channel and do not publish port 17000; multi-node deployments must set BEACON_CONTROL_MODE=tcp explicitly.
One-Click Installation
bash
# One-click installation (recommended for beginners)
bash -c "$(curl -fsSL https://beacon.amuluze.com/release/latest/manager.sh)" -- install BEACON_PUBLIC_BASE_URL=https://beacon.example.com
# Non-interactive installation example (uses default install dir and image when stdin is not a TTY)
bash -c "$(curl -fsSL https://beacon.amuluze.com/release/latest/manager.sh)" -- install BEACON_HTTP_PORT=1443 BEACON_PUBLIC_BASE_URL=https://beacon.example.com < /dev/null
# One-click upgrade (auto-discovers the latest stable release)
bash -c "$(curl -fsSL https://beacon.amuluze.com/release/latest/manager.sh)" -- update
# Upgrade to a specific version (required for betas)
bash -c "$(curl -fsSL https://beacon.amuluze.com/release/latest/manager.sh)" -- upgrade BEACON_VERSION=vX.Y.Z
# One-click uninstall
bash -c "$(curl -fsSL https://beacon.amuluze.com/release/latest/manager.sh)" -- uninstall
Offline installation: if your server cannot reach the internet, download the offline package and install it with OFFLINE_PACKAGE pointing at the unpacked directory. See "Offline Installation" below.
Manual Installation
bash
# The following commands require root (or prefix each with sudo)
mkdir -p /data/beacon && cd /data/beacon
curl -fsSLO https://beacon.amuluze.com/release/latest/compose.yaml
curl -fsSLO https://beacon.amuluze.com/release/latest/SHA256SUMS
grep ' compose.yaml$' SHA256SUMS | sha256sum -c -
# Use openssl rand -hex 32 to generate four independent random keys, and prepare a first admin password that meets the password policy
cat > .env <<EOF
# Replace <version> with the current release version, for example v3.1.8
BEACON_IMAGE=registry.cn-hangzhou.aliyuncs.com/amuluze/beacon:<version>
BEACON_VERSION=<version>
BEACON_CONTAINER_NAME=beacon
BEACON_HTTP_PORT=1443
BEACON_CONTROL_PORT=17000
# Single-node (default): Unix Socket control channel, no port 17000 published;
# also remove the 17000 port mapping from compose.yaml. Use tcp for multi-node and allow the port
BEACON_CONTROL_MODE=socket
BEACON_CONTROL_SOCKET=/app/data/control/collia.sock
BEACON_AGENT_INSTALL_CONTROL_SOCKET=/data/beacon/data/control/collia.sock
BEACON_CONTROL_TLS_ENABLE=false
BEACON_AGENT_INSTALL_TLS_ENABLE=false
BEACON_DATA_DIR=./data
BEACON_LOG_DIR=./logs
BEACON_DB_NAME=/app/data/beacon
BEACON_PUBLIC_BASE_URL=https://beacon.example.com
BEACON_AGENT_INSTALL_TOKEN=<your-token>
BEACON_AUTH_SIGNING_KEY=<your-key>
BEACON_CONTROL_JOIN_TOKEN=<your-token>
BEACON_DATA_ENCRYPTION_KEY=<64-character-hex-key>
BEACON_BOOTSTRAP_ADMIN_PASSWORD=<12+-character-strong-password>
EOF
chmod 600 .env
Offline Installation
For servers without internet access. The offline package contains a single-architecture image, compose.yaml, the .env template, manager.sh and its own SHA-256 manifest; the installer verifies the manifest first, loads the image, then generates .env under the same contract as online installation (identical key strength and permissions). Production mode accepts HTTPS only: put a TLS terminator in front of the Web port, its certificate must cover the address the Agent uses, and the Agent side must trust the control-channel CA (see "Install the Collia Agent" below).
bash
# On an internet-connected machine, download the offline package (amd64 / arm64 per target host)
curl -fsSLO https://beacon.amuluze.com/release/offline/<version>/beacon-offline-<version>-amd64.tar.gz
# Transfer to the target host and unpack (manager.sh is bundled; the target host needs no internet)
scp beacon-offline-<version>-amd64.tar.gz root@<server>:/data/
cd /data && tar -xzf beacon-offline-<version>-amd64.tar.gz
# Verification, image loading and installation are handled by manager.sh; image reference and version come from IMAGE_REF in the package
# BEACON_HTTP_PORT must match the Web port the TLS terminator forwards to
sh beacon-offline-<version>-amd64/manager.sh install \
OFFLINE_PACKAGE=/data/beacon-offline-<version>-amd64 \
BEACON_PUBLIC_BASE_URL=https://beacon.example.com \
BEACON_HTTP_PORT=1443
# Offline upgrade (manual): unpack the new package, load the image, update .env and restart
docker load -i beacon-offline-<new-version>-amd64/image.tar.gz
# Edit /data/beacon/.env: point BEACON_IMAGE and BEACON_VERSION at the new image reference
cd /data/beacon && docker compose up -d
There is no dedicated offline upgrade command: unpack the new offline package → docker load the image → update BEACON_IMAGE and BEACON_VERSION in .env → docker compose up -d. The control-certs directory and the data directory must be kept permanently; losing them makes installed Agents distrust the Server.
Operations Commands
bash
cd /data/beacon
docker compose up -d # Start / update
docker compose ps # Check status
docker compose logs -f # View logs
docker compose down # Stop services
After starting the Beacon container, access the admin panel through the configured HTTPS address. With manager.sh the initial admin password is randomly generated and shown by the installer; for manual installation use the BEACON_BOOTSTRAP_ADMIN_PASSWORD you wrote into .env. A password change is mandatory at first login. Back up the data encryption key in .env permanently — once lost, saved SMTP, DingTalk, Feishu and WeCom credentials cannot be recovered.
02
Install the Collia Agent
Collia is Beacon's collector, deployed on monitored hosts. It gathers host and Docker metrics and opens a reverse channel to receive commands from the Server. Once the Server is deployed, install Collia on the target host as follows.
Prerequisites
Beacon Server is deployed and running
Target host: Linux (x86_64 or arm64) with root privileges
Install token obtained from the "Install Agent" dialog in the admin panel
A node identifier: starts with a letter or digit, containing only letters, digits, dots, underscores and hyphens
If the Server uses a self-signed control certificate, trust the control-channel CA on the target host first (import it under /usr/local/share/ca-certificates and run update-ca-certificates), otherwise the install script download will fail
One-Click Installation
bash
# Run on the monitored host, replacing the address, node name and token
curl -fsSL 'https://<beacon-host>/api/v1/host/install?node=node-01' | sudo bash -s -- --token=<your-install-token>
The script detects the CPU architecture automatically (amd64 / arm64), downloads the matching collia binary and node configuration, registers and starts a system service, and opens a reverse control channel to Beacon. If TLS is enabled on the Server, the script also fetches and extracts the node's certificate.
Automatic Updates
Agents update automatically by default after installation: on reconnect, the Agent upgrades to the version bundled in the Server image. Administrators can disable automatic updates under "Settings → Probe Management", or upgrade selected rows manually on that page; disabling only stops automatic scheduling and does not affect manual upgrades (the target version is injected by the Server image).
Service Management
Collia runs as a system service (systemd). After installation, manage it with the following commands:
bash
collia status # Check service status
collia stop # Stop the service
collia start # Start the service
collia remove # Uninstall: stops the service and removes the binary, configuration, data, logs and service registration
Uninstalling (collia remove, also available as collia uninstall) stops the service first, then removes the systemd unit, binary, configuration, local data and logs. Leftover collia daemon processes not tracked by systemd are terminated as well, so nothing keeps running from a deleted binary.
Directories & Files
Binary: /usr/sbin/collia
Configuration: /etc/collia/config.yml
Logs: /data/beacon/logs/collia/collia.log
Local data: /data/beacon/collia/storage/
Collia connects to Beacon through a reverse gRPC tunnel, so the target host needs no open inbound ports — only access to the Beacon control channel (Unix Socket by default for single-node; port 17000 in multi-node mode). Once installed, the host appears in the Agent selector on the Monitor page and shows as online under Settings → Probe Management.
03
FAQ
Answers to frequently asked questions about deployment and usage.
Q
What environment do I need before installing?
A
The OS must be Linux (x86_64 or arm64), with Docker 20 or later (20.10.14+ recommended), Docker Compose 2.0.0 or later, and at least 1 CPU core / 1 GB memory / 5 GB disk (2 GB memory recommended). Install, upgrade and uninstall require root or sudo.
Q
How do I update to the latest version?
A
Run the one-click upgrade command: bash -c "$(curl -fsSL https://beacon.amuluze.com/release/latest/manager.sh)" -- update (auto-discovers the latest stable release); use -- upgrade BEACON_VERSION=vX.Y.Z for betas or a specific version. The upgrade preserves the data encryption and authentication keys in .env and rolls back automatically if a health check fails.
Q
What are the initial account and password?
A
With manager.sh, the initial admin account is admin and the password is randomly generated per instance by the installer, shown when installation completes, and stored in .env with 0600 permissions; for manual installation use the BEACON_BOOTSTRAP_ADMIN_PASSWORD you set in .env. A password change is mandatory at first login.
Q
Do Agents upgrade automatically?
A
Yes. Agents enable automatic updates by default after installation and upgrade to the collia version bundled in the Server image on reconnect. Administrators can disable automatic updates under "Settings → Probe Management" and upgrade selected online Agents manually on that page. Disabling only stops automatic scheduling; the toggle is unavailable when deployment-level gating is off.
Q
How do I get technical support?
A
Report requirements and issues via GitHub Issues or email 314901758@qq.com; you can also follow our WeChat official account for updates.
Support
Describe the problem, version and reproduction steps in GitHub Issues and we will follow up as soon as possible.