Install the hub
The hub is one file. Its web UI is built in, and it installs, checks, backs up and removes itself. Linux (x86_64, ARM64) with systemd is supported. Windows works on a best-effort basis.
The authoritative guide, with every option, is docs/install/hub.md.
Where to run it
Section titled “Where to run it”The hub must have an address that every probe can reach outbound, for example a cloud VPS or a server with a public address. The client networks themselves need no inbound rules: probes connect to the hub, never the other way round.
Install it today: build from source
Section titled “Install it today: build from source”Blentinel is pre-alpha and no release is published on GitHub yet, so the current path is to build from source, copy the output to the server and install it as a service:
sudo ./hub install # Linux, from publish/hub-<date>/app/On Windows, in an elevated PowerShell: .\hub.exe install.
Once a release is published: the signed installer
Section titled “Once a release is published: the signed installer”The repository includes an installer script, hub.sh, that is attached to each GitHub release. It downloads SHA256SUMS, checks its Ed25519 signature against the release keys written into the script, downloads the hub for the machine (x86_64 or aarch64) and the signed probe release, checks each against its signed SHA-256, and runs hub install. If any check fails, nothing is installed. It needs curl or wget, openssl, sha256sum and tar.
Prefer downloading the script, reading it and checking it before running it as root:
curl -fsSLO https://github.com/mrjimmybob/blentinel/releases/latest/download/hub.shcurl -fsSLO https://github.com/mrjimmybob/blentinel/releases/latest/download/SHA256SUMSless hub.sh # about 100 linesgrep ' hub.sh$' SHA256SUMS | sha256sum -c -sudo sh hub.shChecking against SHA256SUMS confirms the script matches the release’s list of checksums; the script then checks that list’s signature itself before installing anything.
The project’s docs also give the one-line form, curl -fsSL …/hub.sh | sudo sh, which runs the same checks but gives you no chance to read the script first.
What it sets up
Section titled “What it sets up”| Linux | Windows | |
|---|---|---|
| Program | /opt/blentinel/hub/hub | C:\Program Files\Blentinel\Hub\hub.exe |
| Config | /etc/blentinel/blentinel_hub.toml | C:\ProgramData\Blentinel\Hub\blentinel_hub.toml |
| Data (database, keys, TLS files, backups) | /var/lib/blentinel (0700) | C:\ProgramData\Blentinel\Hub |
| Service | systemd unit blentinel-hub, user blentinel | Windows service BlentinelHub |
A first install listens on all interfaces: port 3000 (plain HTTP, probe endpoints only) and 3443 (HTTPS: the web UI, and probes). Open both in the firewall. Probes must be able to reach the hub on one of them.
First login
Section titled “First login”Open the address the installer printed. The browser warns about the self-signed certificate the first time: compare its fingerprint with the one in the hub’s log, then accept it. Set up Blentinel asks for the setup code and creates the first Owner. Then add users, add a company and a site, and install a probe.
To use your own certificate, a reverse proxy, or a certificate from Let’s Encrypt, see docs/install/https.md.
Looking after it
Section titled “Looking after it”hub status # service, ports, database, probes, certificate expiry, pending setup codehub doctor # checks, with what to do about each problemsudo hub backupThe hub backs itself up every day (03:00 UTC, keeping the last 7 by default; change it on the admin page) and before every database upgrade. A backup contains the hub’s private key: keep it like the key itself.