Quick reference
Hyperion docs
A one-page overview for operators: install, configure, run and script a Hyperion node or cluster. Distilled from the project README, runbook and CLI reference.
The full Hyperion manualStart here, install and update, step-by-step guides, troubleshooting and reference. docs.hyperion.nechodom.cz βIntroduction
Hyperion is a self-hosted, multi-node hosting control panel for Debian, written in Rust. One agent on each server, one web UI on the master. It provisions PHP, static and reverse-proxy sites end to end (Linux user, nginx vhost, PHP-FPM pool, database, TLS, WordPress) in one transaction that rolls back if any step fails β then runs the day-to-day of a small hosting business: backups and off-site copies, WordPress updates and repairs, a per-site WAF and firewall, monitoring, and paid care plans with monthly customer reports.
Two processes per server
hyperion-agentβ runs as root and owns all system state (users, directories, nginx vhosts, FPM pools, databases, certificates, FTP, cron, backups, firewall). Listens on/run/hyperion.sock(mode 0660, grouphyperion-admin) and, on workers, on:9443for signed RPC from the master.hyperion-webβ master only. Serves the UI, the setup wizard and/api/v1; runs unprivileged and owns the audit log, web users, session ledger, node registry and the Ed25519 master signing key.hctlβ the CLI: local over the Unix socket, orhctl remoteover the HTTP API.hyperionis a small wrapper that addsupdate,setup-link,statusandlogs.
Install
Master β fresh Debian 12 or 13, as root
curl -fsSL https://raw.githubusercontent.com/nechodom/hyperion/main/packaging/install/install-master.sh | sudo bashThe installer asks no questions. It checks that ports 80, 443 and 8443 are free, installs nginx, postfix and a few base tools, downloads the pre-built release binaries (checked against SHA256SUMS; it builds from source on non-x86_64 or if the download fails), writes /etc/hyperion/*.toml and the systemd units, and prints a one-time setup link with a setup code and the certificate fingerprint.
Setup wizard
- The admin account (12+ character password) and mandatory two-factor auth.
- Software to install β PHP 8.1β8.4, MariaDB, PostgreSQL, vsftpd, phpMyAdmin, Redis β with live progress per component.
- Hostname, time zone and the Let's Encrypt contact.
- The panel's own domain and certificate.
- Outgoing mail and off-site S3 backups.
For automation, set HYPERION_ADMIN_PASS (and optionally HYPERION_COMPONENTS) and the installer does everything without the wizard. Re-running the script is safe.
Add a worker node
In the UI, open Nodes β Generate invite and paste the printed one-liner on another Debian server. It enrolls in about 30 seconds and appears on the Nodes page.
Update
sudo hyperion updateOr use the Nodes page. The update waits for running jobs (backups, imports, installs) to finish, rolls back automatically if the new build doesn't come up, and only re-installs the components this server uses. While the panel restarts, its address shows an "updatingβ¦" page that returns by itself. Auto-update is available as an opt-in. Schema migrations ship inside the binary and apply on startup.
Build from source
git clone https://github.com/nechodom/hyperion && cd hyperion
cargo build --release --workspace
# β target/release/{{hyperion-agent,hyperion-web,hctl}}Configuration
The installer writes all of this for you; this is the manual-deploy reference from the runbook.
/etc/hyperion/agent.toml
[agent]
socket_path = "/run/hyperion.sock"
socket_group = "hyperion-admin"
state_db = "/var/lib/hyperion/state.db"
secrets_dir = "/etc/hyperion/secrets"
log_path = "/var/log/hyperion/agent.log"
home_root = "/home"
[acme]
directory_url = "https://acme-v02.api.letsencrypt.org/directory"
contact_email = "you@example.com" # required for LE
challenge_dir = "/var/lib/hyperion/acme-challenges"Per-node settings that the cluster settings sync doesn't carry β for example [integrity] new_layers_live, which switches the integrity scanner's newer checks from silent pilot to live β go in each node's own agent.toml.
systemd unit
The agent runs as root under systemd. The shipped unit (packaging/systemd/hyperion-agent.service) drops ProtectSystem so /usr stays writable on systemd 257 (the agent installs packages), and protects the boot partitions instead.
[Service]
Type=simple
ExecStart=/usr/sbin/hyperion-agent --config /etc/hyperion/agent.toml
Restart=on-failure
RestartSec=3s
NoNewPrivileges=true
ReadOnlyPaths=-/boot -/efi
ProtectHome=false
ProtectKernelTunables=true
ProtectKernelModules=true
PrivateTmp=true
LogsDirectory=hyperion
RuntimeDirectory=hyperion
LimitNOFILE=65536/run/hyperion.sock (group hyperion-admin). Membership is full control of the node β add only users who should have it.Sites
"Add a website" is type-first: WordPress, plain PHP, static, or a reverse proxy to Node.js, Python, Docker or any upstream. Linux user, PHP-FPM pool, database, vhost and certificate are created in one transaction; a failure undoes the finished steps.
$ hctl hosting create example.com --alias www.example.com --php 8.3 --db mariadb
$ hctl hosting create static.example.com
$ hctl hosting create app.example.com --proxy http://127.0.0.1:3000
$ hctl hosting set-php example.com 8.4
$ hctl hosting suspend example.com --reason "unpaid invoice 2026-10"- PHP 8.1β8.4 side by side with per-site settings; builds hit by known advisories are flagged. MariaDB or PostgreSQL with one-click phpMyAdmin relayed through the panel β never exposed on the network.
- Let's Encrypt over HTTP-01 (also behind Cloudflare) and DNS-01 wildcards that renew themselves through acme-dns CNAME delegation. A preview address on the node's wildcard certificate lets you check a site before DNS moves.
- Git deploy from GitHub with a push webhook, a file manager, cron editor, log viewer, several FTP/FTPS logins per site and key-only chrooted SFTP.
- Lifecycle β suspend/resume, expiry with auto-suspend, a trash with restore, and move, copy or export to another node. Profiles stay linked to their sites and can be re-applied.
- Limits β kernel disk quotas with notify-or-suspend, bandwidth alerts, and PHP memory and workers that rise when a site needs them and settle back after quiet days.
WordPress
- An Updates page sorts every site by what it needs (keyless, against WordPress.org); minor and patch updates can apply automatically after a backup.
- Site health reproduces a fatal error, names the plugin and offers to park it. Repair: permission check with a real write probe, core checksum repair, and reinstall behind a successful backup.
- Integrity and malware scan run by the agent with no wp-cli and no site code executed; findings that can't be judged wait as "to review".
Backups
- Scheduled and on-demand backups (files + database dump), retention per site, per profile or per care plan.
- Off-site to S3 with client-side
ageencryption (several targets, own retention) or FTP / FTPS / SFTP with keep-newest. The local copy can be dropped once the off-site copy is verified. - Before every automatic update a full backup is taken; it's deleted 24 hours later if every update went in cleanly, kept if one failed.
- restic snapshots per site with diff, restore and keep-for-N-days. Leftover backups finds archives of sites already deleted.
- Restore everything, only the database or only the files; restore into a new domain with WordPress URLs rewritten; upload a
.tar.gzto restore.
$ hctl backup now example.com
$ hctl backup list example.com
$ hctl backup restore example.com 42 --mode db --yesMail, monitoring & care plans
Site mail goes through the server's own postfix with per-site DKIM signing, SPF checks and a per-site mail log, plus a server-wide email log with delivery verdicts. Hyperion does not host mailboxes or DNS zones.
Monitoring and notifications
Live CPU, memory, swap, disk, pressure (PSI) and network gauges, per-site resource use, HTTP uptime checks, OOM kills, a read-only root filesystem, pending OS updates and needed reboots. An optional read-only Docker module watches Compose stacks. Alerts from every node reach a notification centre and go out by e-mail and Slack.
Care plans
For agencies that sell maintenance: care packages bundle backups, updates, checks, monitoring, the firewall (Standard, Strict, OWASP Core Rule Set) and brute-force protection into a paid plan enforced on its sites. A monthly checklist per site, Slack messages that say what to invoice, and monthly customer reports β updates, backups, uptime, load speed, Core Web Vitals β in English, Czech or any language you translate.
Multi-node cluster
The master holds the UI, audit log and node registry. Workers run an agent the master drives over signed RPC β an Ed25519 envelope over HTTPS on port 9443, optionally over a private network with certificate pinning. Node responses are authenticated too.
- Load-aware placement of new sites and a node switcher on every page.
- Move and copy between nodes with live progress β files, database and the site's settings.
- Remote node updates from the master.
$ hctl node list
$ hctl node drain node-7f3a --reason "disk replacement Friday"
$ hctl node update --apt --hyperion --followImport from another panel
Move sites off HestiaCP or CloudPanel, off any host running WordPress, or between two Hyperion servers. The Import page (admin) has four ways in:
- Command β run a small static exporter on the old server; its upload resumes after a dropped connection, no inbound SSH needed.
- SSH β Hyperion connects with a key that's used for that one run and then deleted.
- WordPress plugin β install it on the old site, paste the code Hyperion generates and keep the tab open while it sends the site in pieces. Needs nothing from the host beyond WordPress.
- Hyperion β import from another Hyperion node.
Hyperion reads the source panel's own state (Hestia *.conf, CloudPanel's SQLite). A dry run shows what would be created, skipped or in conflict; an existing domain is never overwritten. WordPress comes across with wp-config.php repointed.
$ hctl hosting import-panel --source cloudpanel --dry-runREST API
A scriptable HTTP API at /api/v1 for provisioning and running the cluster from CI, cron or your own tools.
- Auth β a Bearer key created in Administration β API keys. Its capabilities can't exceed its owner's and are re-checked on every call, so locking or demoting the owner takes effect immediately.
- Hardening β optional per-key IP allowlist and rate limit (
429withRetry-After). - Contract β
GET /api/v1/openapi.jsonis a generated OpenAPI 3 document;/api/v1/docsshows it in a self-hosted viewer. - Conventions β lists return
{ items, next_cursor, total }; slow operations return202 { job_id, status }that you poll at/api/v1/jobs/:id; errors come as a JSON envelope.
Example
$ curl -X POST https://panel.example.com/api/v1/hostings \
-H "Authorization: Bearer hyp_β¦" \
-d '{{"domain":"new.example.com","php":"8.3"}}'
HTTP/1.1 202 Accepted
{{ "job_id": "01K5β¦", "status": "accepted" }}hctl remote
hctl remote --url https://panel.example.com --key hyp_β¦ login
hctl remote list --state active | jq '.items[].domain'
hctl remote create --domain new.example.com --php 8.3
hctl remote backup new.example.com --waitEndpoint reference
All paths are prefixed with /api/v1. The list is read live from the handler source.
CLI β hctl
On the node, hctl talks to the agent over its Unix socket, so it keeps working when the panel is down, you're locked out of it, or the firewall only lets SSH in. No command takes a password on the command line; --json works everywhere.
$ hctl info
$ hctl hosting list --state suspended
$ hctl wp integrity-scan example.com
$ hctl dkim verify example.com
$ hctl audit verify
# locked out of the panel
$ sudo hctl user unlock admin
$ sudo hctl user disable-2fa admin
$ sudo hctl firewall disable-drop --yesEvery command, with examples, is in the CLI reference.
Security
#![forbid(unsafe_code)]in every crate, Argon2id passwords, Ed25519-signed session cookies with a revocation ledger, and roles re-checked on every request.- Two-factor auth β mandatory for admins β with backup codes and a list of signed-in devices you can sign out. Custom roles from individual capabilities.
- WAF per site (Standard / Strict, per-rule overrides) plus an opt-in OWASP Core Rule Set tier on ModSecurity v3; the Protection page shows what was blocked.
- Brute-force protection on nftables ban sets for the panel, SSH, FTP, mail and WordPress logins, with escalation; a panel-managed firewall with optional default-drop that always keeps the panel and cluster ports open.
- Per-site GeoIP and bot blocking, wp-admin IP allowlists and HTTP basic auth.
- Every site is its own Linux user; privileged file operations in a webroot resolve symlinks component by component, and secrets never appear on a command line.
- Audit log β a BLAKE3 hash chain with per-node verification, search and CSV export.
$ hctl audit verifyTroubleshooting
- Permission denied on socket β make sure your user is in
hyperion-adminand you've started a new shell since theusermod -aGchange. useradd: not in sudoersβ the agent is meant to run as root through systemd. If running from a shell, prefix withsudo.- nginx fails
nginx -tβ the agent restores the backup vhost on failure; checkjournalctl -u hyperion-agent -e. - MariaDB socket auth β Debian default uses unix_socket auth for root. If you changed it, add credentials to
/root/.my.cnf.
Logs
# structured agent log (JSON Lines)
sudo tail -f /var/log/hyperion/agent.log
# service journal
journalctl -u hyperion-agent -eManual production deploy, MariaDB hardening, removal and more.