How to Install Pterodactyl Panel on Ubuntu 24.04
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 -iafter logging in).
2. Firewall and Initial Setup
Before starting, ensure your firewall allows web traffic:
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 8080/tcp
sudo ufw allow 2022/tcp3. Automated Panel Installation
While you can install dependencies like Nginx, PHP 8.3, and MariaDB manually, the official community script is much safer.
bash <(curl -s https://pterodactyl-installer.se)Follow these prominent prompts:
- Select Install the Panel (Option 0 usually).
- For database details, define a strong password (do not leave empty).
- Set your FQDN (Fully Qualified Domain Name) to your exact domain.
- 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 <(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:
- Log into your new web panel using the credentials you created.
- Go to Admin Control Panel -> Locations -> Create a new location (e.g. "Germany").
- Go to Nodes -> Create New. Assign it to the location, define the FQDN again, and set memory limits matching your VPS.
- Click on your newly created Node, go to the Configuration tab, and click Generate Token.
- 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:
sudo systemctl enable --now wings
sudo systemctl status wingsYour node should now show a green heart in the Panel, signifying it is ready to host servers!
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.