Installing the controller
One command installs everything: Node.js, Caddy for HTTPS, the panel as a service, and your Owner account.
Before you start
- A fresh 64-bit Intel or AMD (x86_64) server running Debian 12 / 13 or Ubuntu 22.04 / 24.04, with 2 vCPUs and 2 GB of memory, and root access.
- A domain name for the panel, such as
panel.example.com, with a DNS A record pointing at the server’s IP address. The installer gets a free HTTPS certificate for it. Without a domain you can still try the panel onhttp://<server IP>, unencrypted. - Ports 80 and 443 open in your provider’s firewall.
Run the installer
On the server, as root, swapping in your domain:
curl -fsSL https://vorticpanel.com/install.sh | sudo bash -s -- --domain panel.example.comcurl -fsSL https://vorticpanel.com/install.sh | sudo bash -s -- --no-domainIt downloads the newest release from vorticpanel.com, checks its signature against the release keys written into the script and its SHA-256, unpacks it in /root/vorticpanel-<version>, and runs that release’s own install.sh with the options you gave. To read the script first, open https://vorticpanel.com/install.sh.
Partway through it asks for your account, the first Owner:
- your name, email and company name (shown in the panel)
- a password of 12 characters or more
- a QR code: scan it with an authenticator app (Google Authenticator, Authy, 1Password…) and type the 6-digit code it shows
When it finishes, it prints the panel’s address. Open it and sign in. The panel then asks for your license key: paste the one from your account on vorticpanel.com, or follow its links to start the free 15-day trial or buy a license. Then go to First steps.
Installing by hand instead
The same release, downloaded yourself. Downloads in your account on vorticpanel.com lists the steps for the newest release under Install it by hand instead, each with a Copy button, as root on the server:
- Download the release.
- Check its SHA-256 (
sha256sum -cprintsOK). - Check the release key signed this version and that SHA-256 (it prints
Signed with the release key; it needs OpenSSL 3). - Unpack it.
- Run its installer:
cd /root && tar --no-same-owner -xzf vorticpanel-1.0.0.tar.gz && bash vorticpanel-1.0.0/install.sh --domain panel.example.com
If either check doesn’t print what it should, don’t install it: open a ticket.
What the installer does
| Step | Where |
|---|---|
| Installs Node.js 24, SQLite and Caddy | From Debian/Ubuntu, and NodeSource’s repository after checking its signing key; Caddy from Caddy’s GitHub release when the distribution has none |
Creates the panel user and copies the panel |
/opt/panel |
| Writes the settings | /etc/panel/controller.env (see Controller settings) |
Sets up the service, started at boot. It runs as the panel user with no privileges, can only write in /var/lib/panel, keeps its files to itself, and can’t reach the cloud metadata address (169.254.169.254) |
/etc/systemd/system/panel.service |
| Asks for the first Owner | Only on a fresh install |
| Sets up HTTPS with a free certificate, renewed automatically | /etc/caddy/Caddyfile |
Copies the database and secret.key every hour (see Backing up) |
/var/backups/panel, by panel-backup.timer |
| Sets up the update service, which runs as root and installs a new version when staff click Update to … (see Upgrading) | panel-update.service, started by panel-update.path |
Opens ports 80 and 443, if the ufw firewall is on |
|
| Checks the panel answers on its address | |
| Puts a firewall on the server: only SSH, 80 and 443 answer from outside (see The firewall) | panel-host-firewall.service |
The panel’s data lives in /var/lib/panel. Logs: journalctl -u panel -f.
Without a domain, the address is the server’s IPv4 address as api.ipify.org sees it, or else the first IPv4 address hostname -I lists. The installer stops if /var/lib/panel, /var/lib/panel/images or /var/backups/panel is a symbolic link.
Options
Options go after bash -s -- in the one command, or after install.sh when you run it from the release folder.
| Option | What it does |
|---|---|
--version X.Y.Z |
One command only: install that release instead of the newest. |
--domain NAME |
Serve the panel on https://NAME. Without it, a fresh install asks and an upgrade keeps the address it has. |
--no-domain |
Serve plain http://<server IP> on port 80. Not encrypted: for testing only. Nodes then enroll with PANEL_AGENT_INSECURE=1 (see Adding a node). |
--no-proxy |
Don’t install Caddy, for a server that already runs nginx or another web server. Give --domain with it, the address your web server serves. You point it at 127.0.0.1:8080 yourself: see Using your own web server. Upgrades remember it, updates from the panel included; --caddy goes back to Caddy (see Upgrading). |
--trusted-proxies LIST |
Proxies or a CDN in front of the panel (such as Cloudflare), comma-separated addresses or ranges like 173.245.48.0/20. The panel takes visitors’ addresses from their X-Forwarded-For, for sign-in limits and the audit log. Upgrades keep the list given before. |
--open-ports LIST |
More ports for this server’s firewall to let in, comma-separated, such as 25,587/tcp,53/udp (none clears them). Upgrades keep the list. |
--no-firewall |
Don’t put a firewall on this server. Upgrades remember it; --firewall turns it back on. |
--forget-old-addresses |
After moving the panel: stop answering nodes at its earlier addresses. Only once every node uses the new one. |
--allow-downgrade |
Install this release over a newer one, or, with the one command, one older than the oldest version still safe to run. Without it, the installer stops and changes nothing. The newer version’s database changes may not suit the older one: restoring a copy from before the upgrade is safer. |
To switch from testing to a domain later, see Moving to a domain and HTTPS.
The firewall
The installer closes every port on the controller except SSH, 80 and 443.
- SSH always stays open: port 22, whatever port
sshduses, and the port of any SSH session open while it runs. It can’t lock you out. - DNS (53) is opened too when PowerDNS (or BIND) runs on the controller.
- Ping (ICMP) and UDP 443 (HTTP/3) are let in as well.
- Anything else that was listening for the outside world is listed at the end of the install as now closed from outside. It still works from the server itself. Open what you need with
--open-ports, for example--open-ports 25for a mail server. - It only filters traffic to the server itself, in its own nftables table (
inet panel_host). Other firewalls, Docker and forwarded traffic are left alone. Where ufw or firewalld is already on, or the server is also a node, the installer leaves the firewall to them. - The rules are in
/etc/panel/host-firewall.nft, loaded at boot bypanel-host-firewall.service. To see them:nft list table inet panel_host.
The cloud provider’s own firewall, if it has one, still applies on top: 80 and 443 have to be open there too.
Moving to a domain and HTTPS
A panel installed with --no-domain runs on plain http://<server IP>. To move it to a domain with HTTPS, keeping every account, server and setting:
1. Point the domain at the controller. Add a DNS A record for it, such as panel.example.com, with the controller’s IP address. Check it from the controller (it should print that IP):
getent ahostsv4 panel.example.com
2. Run the installer again with --domain, on the controller, as root:
curl -fsSL https://vorticpanel.com/install.sh | sudo bash -s -- --domain panel.example.com
(Or from the release folder you installed from: bash /root/vorticpanel-<version>/install.sh --domain panel.example.com.)
If the domain doesn’t point at the controller yet, it stops and changes nothing. (For a domain behind a proxy such as Cloudflare, type y when it asks whether to carry on.) Then it sets PANEL_PUBLIC_URL=https://panel.example.com in /etc/panel/controller.env, has Caddy get a certificate for the domain, and checks that https://panel.example.com answers. Plain http:// to the domain is redirected to HTTPS. Sign in again at the new address.
3. The nodes follow. There’s nothing to run on them:
- The old address keeps answering nodes, so they stay online. People who go to it are sent to the new one.
- Each node’s agent updates itself (unless you turned off Update agents automatically on a node’s Settings tab; then press Update agent on each node).
- Once up to date, the agent checks that the new address is the same panel: it has to prove the panel’s key there (see How nodes know it’s your panel). Then the agent saves it in
/etc/panel-agent/agent.jsonand restarts. Servers on the node keep running. - If it can’t connect at the new address within 5 minutes, it goes back to the old one and tries again later. A node that can’t reach the new address at all (a firewall in the way, for example) stays on the old one.
- A node that reaches something at the new address that can’t prove the panel’s key (the DNS record or a proxy pointing somewhere else) refuses to move. It stays on the old address and checks again every 30 minutes; its Overview marks the new address as refused, and its Settings tab says why.
Each node’s page shows the Panel address it uses, marked old address until it has switched. This usually takes a few minutes. Nodes you enroll after the move use the domain, and don’t need PANEL_AGENT_INSECURE=1.
4. Optional: stop answering at the old address. Once every node’s page shows the new address, run the installer once more with --forget-old-addresses. The old addresses the panel keeps answering at are in PANEL_FORMER_URLS in /etc/panel/controller.env.
Nodes don’t follow a move from a domain back to plain http://. For that, the installer prints the command to run on each node.
Already set up by hand?
Run the installer anyway. It keeps your Owner, settings and data, and replaces the service and the Caddy configuration. An existing Caddyfile is kept as /etc/caddy/Caddyfile.before-panel.
If something goes wrong
| The installer says | What to do |
|---|---|
| Another program is using port 80 or 443 | Usually nginx or Apache. Stop it (systemctl disable --now nginx) and run the installer again, or use --no-proxy and your own web server. |
https://… doesn’t answer yet |
The panel is running, but the address isn’t reachable. Check the domain’s DNS points at the server (dig +short panel.example.com), and that ports 80 and 443 are open in your provider’s firewall. Caddy’s log: journalctl -u caddy -n 50. |
| … didn’t answer on 127.0.0.1:8080 within a minute | The panel didn’t start. journalctl -u panel -n 50 says why. On an upgrade, the old version is already back. |
| The release’s signature doesn’t check out, or the SHA-256 isn’t the release’s | Nothing was installed. Run the command again; if it keeps happening, tell support. |
| Couldn’t get the release | The server can’t reach vorticpanel.com. Check its DNS and outgoing HTTPS (curl -I https://vorticpanel.com). |
| … isn’t a domain name | Give a name like panel.example.com, not an IP address. To use the IP, run with --no-domain. |
| This server runs …, newer than … | The release is older than the panel already installed. Nothing was changed. Install the newest release instead. |
| … is older than …, the oldest version still safe to install | A signed release says that version shouldn’t be installed any more. Nothing was installed. Leave out --version to install the newest. If the site offers only an old version when you expected a newer one, tell support before installing anything. |
| NodeSource’s signing key … isn’t the one this installer expects | The key downloaded from NodeSource isn’t the one its packages are signed with. Node.js wasn’t installed from it. Run the installer again later; if it keeps happening, tell support. |
| openssl is too old to check the release’s signature | The server’s OpenSSL is older than version 3. Use one of the supported systems above. |
More in Troubleshooting.