Back to all guides
Game Servers

How to Install Pterodactyl Panel on Ubuntu 24.04

5 read2026-04-10

Pterodactyl is a free, open-source game server management panel built with PHP, React, and Go. This guide explains how to install both the Panel and the Wings daemon on a single host.

1. Prerequisites

  • A fresh Ubuntu 24.04 server setup.
  • A registered domain (e.g., panel.yourdomain.com) pointed to your server's public IP address via an A record.
  • Root access (type sudo -i after logging in).

2. Firewall and Initial Setup

Before starting, ensure your firewall allows web traffic:

bash
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 8080/tcp
sudo ufw allow 2022/tcp

3. Automated Panel Installation

While you can install dependencies like Nginx, PHP 8.3, and MariaDB manually, the official community script is much safer.

bash
bash <(curl -s https://pterodactyl-installer.se)

Follow these prominent prompts:

  1. Select Install the Panel (Option 0 usually).
  2. For database details, define a strong password (do not leave empty).
  3. Set your FQDN (Fully Qualified Domain Name) to your exact domain.
  4. Select Yes when asked whether to configure Let's Encrypt SSL/HTTPS.

4. Automated Wings Installation

Wings is the system service that speaks to Docker to spin up the actual game servers. Let's install Docker and Wings. Run the script again:

bash
bash <(curl -s https://pterodactyl-installer.se)

Select the Install Wings option. It will automatically set up Docker and pull the daemon binary.

5. Node Configuration

You must now link your Wings daemon to your Web Panel:

  1. Log into your new web panel using the credentials you created.
  2. Go to Admin Control Panel -> Locations -> Create a new location (e.g. "Germany").
  3. Go to Nodes -> Create New. Assign it to the location, define the FQDN again, and set memory limits matching your VPS.
  4. Click on your newly created Node, go to the Configuration tab, and click Generate Token.
  5. Copy the one-line command it gives you (it starts with cd /etc/pterodactyl && sudo pterodactyl-node config...) and run it in your server's terminal.

Finally, start Wings:

bash
sudo systemctl enable --now wings
sudo systemctl status wings

Your node should now show a green heart in the Panel, signifying it is ready to host servers!

KVM Game VPS

Ready for your own game server?

Launch your own gaming project on our high-performance KVM VPS with maximum AMD Ryzen single-core power, ultra-fast NVMe storage, and real Layer 3/4/7 DDoS protection (PletX & SmartNet). 100% prepaid with no contract lock-in.

AMD Single-Core Power
Datacenter NVMe SSD
4+ Tbps DDoS Protection
100% Prepaid (No Contract)