Install ownpanel

One command installs the panel, the web server and the mail service as system services on a fresh server, and prints how to open the panel.

What you need

  • A server with Debian 12+ or Ubuntu 22.04+, systemd, amd64 or arm64.
  • A public IPv4 or IPv6 address, and ports 80 and 443 reachable from the Internet.
  • Root access.
  • A domain you control, for your sites and, if you like, for the panel itself.
  • To build sites on the server (in the nightly build for now): Debian 12+ or Ubuntu 24.04+ and at least 12 GB of free disk space. Without it everything else works, and the panel says why builds are not available.
  • For e-mail: port 25 open in both directions (many providers block it on new servers until you ask) and a reverse name for the server's address. See E-Mail.

Run the installer

curl -fsSL https://raw.githubusercontent.com/danielgtmn/ownpanel/main/install.sh | sudo bash

It downloads the latest stable release, checks it against the release's checksums, installs the panel, the mail service and Caddy as system services. When it is done it prints:

  • the address to open, https://<your server's address>/. The panel has no domain yet, so it uses a self signed certificate: accept the browser's warning once.
  • the one time setup code. Enter it in the panel, create the first administrator and follow the setup steps for the panel's domain and the server's addresses.

To set everything up front, pass options:

curl -fsSL https://raw.githubusercontent.com/danielgtmn/ownpanel/main/install.sh | sudo bash -s -- --panel-domain panel.example.com --server-ip 203.0.113.5

--channel nightly follows the build of every merged change instead of stable releases. There it sets up the isolated environment for building sites, which --no-builds leaves out. All options are on the wiki page Installation.

The installer on this site

This site serves the installer of the latest stable release (v0.2.0) at ownpanel.dev/install.sh. It is the file from that release, so it always matches the release it installs:

curl -fsSL https://ownpanel.dev/install.sh | sudo bash

The command above, from the repository, uses the newest installer instead. Both download releases only from GitHub and check them against the release's checksums. For --channel nightly use the one from the repository.

Prefer to read a script before running it as root? Download it first:

curl -fsSLO https://ownpanel.dev/install.sh && less install.sh && sudo bash install.sh

Updates

In the panel under Settings → Updates: one button installs the new release, with a backup first and an automatic rollback if the new version does not start. Updates can also run on their own in a nightly time window. On the server, sudo /usr/local/lib/ownpanel/update.sh does the same, and running the installer again upgrades too.

Uninstall

Run the installer with --uninstall: it removes ownpanel and keeps the data in/var/lib/ownpanel. --purge deletes the data too.

Before you rely on it

ownpanel is early. The installer and updates have been tested on one real server (Ubuntu 24.04, amd64) and in containers. Try it on a throwaway server first, and read Security for what is protected and what is not.

Back to the overview