VaultPanel
Tutorials

How to Install VaultPanel on Ubuntu or Debian

A step-by-step guide to installing the VaultPanel Linux server control panel on a fresh Ubuntu or Debian server, verifying the installer and creating the owner account.

By VaultPanel TeamPublished 3 min read

The VaultPanel setup page for creating the owner account with the setup token

VaultPanel installs on one server, the panel's own, and manages that server and any others you connect. This guide takes you from a fresh server to a running panel with an owner account, in about the time it takes to make a coffee.

What you need

  • A fresh server running Ubuntu 22.04, 24.04 or 26.04 LTS, or Debian 12 or 13, with systemd and apt.
  • Root access.
  • 2 GB of memory or more is recommended. The installer warns below roughly 900 MB.
  • Free ports: 8090 for the panel (you can change it with --port), plus 8091, 3307 and 6379 on 127.0.0.1 for the panel's own services, and 3306 if the installer sets up MariaDB for your sites.

Your websites will also need ports 80 and 443 once NGINX is installed, and Let's Encrypt must be able to reach port 80 to issue certificates. The full list is on the system requirements page.

Step 1: Update the system

As root, update the server and install the tools the installer needs:

apt update && apt -y upgrade && apt -y install curl wget sudo

Step 2: Download, verify and run the installer

The installer is published at installer.vaultpanel.net with every release, together with its SHA-256 checksum. The command downloads it, checks it, and only runs it if the checksum matches:

curl -sS https://installer.vaultpanel.net/v2/install.sh -o install.sh; \
echo "<checksum from github.com/VaultPanel/packages> install.sh" | \
sha256sum -c && sudo DB_ENGINE=MARIADB_12.3 bash install.sh

The checksum changes with each release, so copy the complete command with the current one from the installation guide or github.com/VaultPanel/packages.

Choosing the database for your websites and apps

DB_ENGINE chooses the MariaDB server the installer sets up for your websites and apps. The versions depend on your system:

SystemDB_ENGINE values (newest first)
Ubuntu 26.04 LTSMARIADB_12.3, MARIADB_11.8
Ubuntu 24.04 LTSMARIADB_12.3, MARIADB_11.4, MARIADB_10.11
Ubuntu 22.04 LTSMARIADB_11.4, MARIADB_10.11, MARIADB_10.6
Debian 13MARIADB_12.3, MARIADB_11.8
Debian 12MARIADB_12.3, MARIADB_11.4, MARIADB_10.11

Without DB_ENGINE, a new install gets the newest MariaDB for its system. DB_ENGINE=NONE installs no database server; you can add one later from the panel. This database is separate from the panel's own, which runs in Docker on 127.0.0.1:3307.

What the installer does

In a few minutes, the installer:

  1. Installs Node.js 22 system-wide and Docker with Docker Compose (reusing an existing Docker).
  2. Installs the MariaDB you chose for websites and apps.
  3. Adds VaultPanel's signed package repository, after checking its key's fingerprint, and installs the vaultpanel package.
  4. Creates the unprivileged vaultpanel user and writes new random secrets.
  5. Makes a self-signed certificate so the panel serves HTTPS from the first start.
  6. Starts the panel's own MariaDB and Redis in Docker, bound to 127.0.0.1.
  7. Installs the vaultpanel and vaultpanel-worker systemd services, sandboxed and running as the unprivileged user.
  8. Schedules a daily backup of the panel and adds the vaultpanel server command.

Running the installer again is safe: it keeps your settings and data and installs a newer package if there is one.

Step 3: Note the address and setup token

When it finishes, the installer prints the panel's address, a one-time setup token and the certificate's SHA-256 fingerprint. Lost them? sudo vaultpanel shows the address, and sudo vaultpanel setup-token shows the token until the owner account exists.

Step 4: Open the panel and create the owner

Open the address in your browser. Because the certificate is self-signed, the browser warns once: check that the fingerprint it shows matches the one the installer printed, then continue.

Paste the setup token, and create the owner account with your name, email and password. The token stops working once the owner exists.

The server the panel runs on is already connected and shows as This server. You never run an agent install command for it.

Next steps

  • Give the panel a domain for a certificate browsers trust: System > Panel Domain. See Panel HTTPS and domain.
  • Turn on two-factor sign-in for your account.
  • Create your first website with a free Let's Encrypt certificate, or deploy an app from Git.
  • Connect more servers with the agent install command shown in Servers > Add server. They only need 64-bit Linux with systemd, curl and outbound HTTPS to the panel.

To update later, run sudo vaultpanel update. It backs the panel up first, and sudo vaultpanel rollback reverses the last update.

Take Control of Your Infrastructure.

Install VaultPanel on your own Ubuntu or Debian server and manage websites, apps and servers from one panel. Free to use.