Install
This page gets you from zero to a running control plane. There are two paths: the WILDZERG release bundle (production) and a from-source development build.
Path A — WILDZERG release bundle (production)
WILDZERG is provisioned by the wild blueprint (runit + podman + OpenResty). The release bundle is distributed by Spacebeam to licensed operators; the blueprint repository is https://git.zergs.net/spacebeam/wild (access is provisioned with your license).
- Obtain the bundle the signed Sol/Luna/Mango images, the wild checkout, and your license/enrollment material.
- Prepare the host Debian 13, podman, runit, a data disk mounted at
/fun, and the firewall posture from the deployment guide. - Provision follow the WILDZERG runbook. It covers secrets, Mango migrations, Sol config, worker enrollment, TLS, and readiness.
- Verify
curl -fsS http://127.0.0.1:21434/health(or the public health endpoint) andzerg statusagainst the API.
The wild blueprint is the authority for production; do not use the archived systemd model in docs/installation.md.
Path B — From-source development build
Prerequisites
| Dependency | Version | For |
|---|---|---|
| Erlang/OTP | Erlang/OTP 29.1+ (OTP 30+ is the forward aim; OTP 28 is not a support target) | Sol |
| rebar3 | 3.20+ | Sol build |
| LuaJIT | 2.1 | Luna and the CLI |
| gcc / build-essential | C11+ | Native FFI and CLI build |
| libcurl dev headers | 7.68+ | CLI link |
| ncurses dev headers | 6.0+ | Luna TUI |
| Python | 3.11+ | Mango (optional for a Sol-only smoke) |
| Node.js | 20 | Limon (optional) |
Build and start Sol
(cd server && rebar3 compile)
(cd server && rebar3 shell)
Sol listens on http://127.0.0.1:21434 by default. Leave the shell running.
Build the CLI
bash zerg-cli/build/build.sh
export PATH="$PWD/zerg-cli:$PATH"
zerg status
Expected: Status: ok.
Optional: start Mango
Mango is required for token auth, RBAC, and team/identity operations. For a Sol-only dev smoke, loopback access works; for an auth-on deployment, start Mango and run its migrations before pointing Sol at it. See Mango configuration.
Optional: start Limon
(cd limon && npm install && npm run dev)
Limon is the operations console; it talks to Sol and Mango over HTTP/WS.
Verify the install
[ ] rebar3 compile exits 0.
[ ] Sol logs the HTTP listener on port 21434.
[ ] zerg status returns Status: ok.
[ ] zerg doctor returns healthy (if the diagnostics command is available in your build).
[ ] A locally-spawned worker registers (zerg spawn --count 1 then zerg agents).
Common first-run failures
| Symptom | Cause | Fix |
|---|---|---|
registration_hmac_failed | A worker connected without a verified credential | Provision an enrollment key, or use a Sol-spawned worker (minted automatically). The dev-only anonymous escape requires an explicit Sol lever and is CRITICAL-logged. |
connection refused on 21434 | Sol is not running, or the bind address is not loopback | Check the Sol log and the http config; the default is loopback. |
zerg: command not found | The CLI build directory is not on PATH | export PATH="$PWD/zerg-cli:$PATH". |
| Mango 503 on login | Mango is down, migrating, or unreachable | Check Mango health and its database; Sol refuses non-loopback plaintext Mango in production. |