Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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).

  1. Obtain the bundle the signed Sol/Luna/Mango images, the wild checkout, and your license/enrollment material.
  2. Prepare the host Debian 13, podman, runit, a data disk mounted at /fun, and the firewall posture from the deployment guide.
  3. Provision follow the WILDZERG runbook. It covers secrets, Mango migrations, Sol config, worker enrollment, TLS, and readiness.
  4. Verify curl -fsS http://127.0.0.1:21434/health (or the public health endpoint) and zerg status against 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

DependencyVersionFor
Erlang/OTPErlang/OTP 29.1+ (OTP 30+ is the forward aim; OTP 28 is not a support target)Sol
rebar33.20+Sol build
LuaJIT2.1Luna and the CLI
gcc / build-essentialC11+Native FFI and CLI build
libcurl dev headers7.68+CLI link
ncurses dev headers6.0+Luna TUI
Python3.11+Mango (optional for a Sol-only smoke)
Node.js20Limon (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

SymptomCauseFix
registration_hmac_failedA worker connected without a verified credentialProvision 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 21434Sol is not running, or the bind address is not loopbackCheck the Sol log and the http config; the default is loopback.
zerg: command not foundThe CLI build directory is not on PATHexport PATH="$PWD/zerg-cli:$PATH".
Mango 503 on loginMango is down, migrating, or unreachableCheck Mango health and its database; Sol refuses non-loopback plaintext Mango in production.

Next

First agent Deployment Configuration