ServerPanel Latest release 1.2.8

Install in one command

Put ServerPanel on your server

Run one line on a fresh Ubuntu server. It installs the newest release, starts the panel and opens its port. Then you finish the setup in your browser.

curl -fsSL https://get.serverpanel.top/install | sudo sh

No curl on the server? Use wget -qO- https://get.serverpanel.top/install | sudo sh

Ubuntu 22.04 · 24.04 · 26.04 LTS Root or a sudo user About 2 minutes

Installation steps

From a new server to a working control panel in four steps.

  1. Get a fresh server

    Any VPS or dedicated server works. A new server is best, because the setup wizard installs Apache, MySQL and PHP on it.

    • Ubuntu 22.04, 24.04 or 26.04 LTS
    • 1 GB of memory or more, and a public IP address
    • SSH access as root, or as a user who can use sudo
    ssh root@your-server-ip
  2. Run the installer

    Paste the command into the server's terminal. When you're logged in as root, sudo is optional.

    curl -fsSL https://get.serverpanel.top/install | sudo sh
    • Checks the system and installs curl, tar and Python if they're missing
    • Downloads the newest release and checks its SHA-256 checksum
    • Installs it into /opt/serverpanel as the server-panel service, which starts at boot
    • Opens the panel's port 2002 in the firewall and prints the address to open
  3. Open the panel

    The installer ends with your server's address. Open it in your browser:

    [INFO]   ServerPanel is installed and running
      Open the panel : http://203.0.113.10:2002
      Log in with    : root, or a user in the sudo group, and that account's password

    Log in with the server account's own password. Many cloud servers ship without one. If yours does, set one first with sudo passwd root.

  4. Finish the setup in your browser

    The setup wizard opens on your first login. It installs the web server stack in 3 to 10 minutes, and you can leave the page while it runs.

    • Apache with rewrite, proxy, headers and SSL
    • MySQL with basic hardening, and PHP with the common extensions
    • The firewall turned on, allowing SSH, HTTP, HTTPS and the panel

    Then add your domains, databases and PHP versions from the panel.

Options

Put options after sh -s --. You can combine them.

Use another port

The panel listens on 2002 unless you choose another port.

curl -fsSL https://get.serverpanel.top/install | sudo sh -s -- --port 8443

Install a specific version

The installer uses the newest release unless you ask for another one.

curl -fsSL https://get.serverpanel.top/install | sudo sh -s -- --version 1.2.8

Choose the folder

The default is /opt/serverpanel.

curl -fsSL https://get.serverpanel.top/install | sudo sh -s -- --dir /srv/serverpanel

Read the script first

Download the script, read it, then run it.

curl -fsSL https://get.serverpanel.top/install -o install.sh
less install.sh
sudo sh install.sh

Good to know

Three things that save time on a new server.

Cloud firewalls

The installer opens port 2002 on the server itself. If your provider puts a security group or cloud firewall in front of it, allow TCP 2002, 80 and 443 there too.

Plain HTTP

The panel runs on http:// on its own port. On its Firewall page you can allow that port only from the addresses you work from.

Safe to run again

Running the installer again keeps the current installation and makes sure it's running. To update, use the panel's Updates page, which makes a backup and rolls back if something fails.

After installation

The panel runs as a systemd service. These commands manage it from the terminal.

sudo /opt/serverpanel/start-panel.sh status      # is it running?
sudo /opt/serverpanel/start-panel.sh restart     # restart it
sudo /opt/serverpanel/start-panel.sh logs        # follow its output
sudo /opt/serverpanel/start-panel.sh uninstall   # remove the service, keep the files