install.ledgerworks.systems

Linux endpoint federation-join bootstrap distribution (per LINUX_CONNECTOR_v1).

One-line install

curl -fsSL https://install.ledgerworks.systems/linux | sudo bash

Prompts for endpoint identifier, federation OAuth token, and federation DSN. Generates an Ed25519 keypair, installs systemd connector units, runs the 11-phase join, and enables the 5-min heartbeat timer.

What it does

  1. Detect distro (Ubuntu / Debian / Rocky / RHEL / AlmaLinux / Arch / Alpine).
  2. Install OS packages (python3 venv + psycopg2 + git + jq + ssh-keygen).
  3. Generate per-endpoint Ed25519 signing key (mode 600; /opt/_secrets/<endpoint_id>/).
  4. Deposit federation OAuth credentials.
  5. Fetch + SHA-256-verify the connector tarball.
  6. Install connector.service + connector.timer systemd units.
  7. Run connector.py first join (phases 6-10: federation.lookup INSERT, federation.machines UPSERT, doctrine #3 detector registration, signed first heartbeat, telemetry verify).
  8. Enable connector.timer for ongoing 5-min heartbeat.

Fail-closed guarantees

Artifacts

Versioned replay

Every publish appends a new version. Previous versions accessible at /v/<version>/linux (per feedback_no_destroy_doctrine).