Pterodactyl Installation Guide
Pterodactyl is an open-source game server management panel built with PHP, React, and Go.This guide covers Panel + Wings (Daemon) installation on a fresh Ubuntu 22.04 / 24.04 server.
Prerequisites
Before you begin, ensure you have:| Requirement | Description |
|---|---|
| OS | Ubuntu 22.04+ (root or sudo access) |
| Web Server | NGINX (recommended) |
| Database | MariaDB or MySQL |
| PHP | 8.2 or newer with required extensions |
| Redis | Installed and running |
| Docker | Required for Wings |
| Domain | Example: panel.example.com |
| SSL | Let’s Encrypt or manual |
Install System Dependencies
Step 1: Configure MariaDB
Log into MySQL and create a database + user:Step 2: Install the Panel
Configure Environment
Open.env and edit database + app settings:
Set Permissions
Step 3: NGINX Configuration
Create new site config:Step 4: Secure with SSL
Install Certbot and generate certificates:Step 5: Setup Cron & Queue
Add to crontab:Step 6: Install Wings (Daemon)
Install Docker
Install Wings
Configure Wings
In your Panel → Nodes → Configuration, copy the generated YAML config and paste it into:Create Systemd Service
Step 7: Access Panel
Open your browser and go to:Troubleshooting
| Problem | Solution |
|---|---|
| 502 Bad Gateway | Check php8.2-fpm service and NGINX config |
| Database connection failed | Verify .env credentials |
| Wings not connecting | Check node token and domain SSL |
| Permission errors | Ensure correct file ownership (www-data) |
References
- Official Pterodactyl Docs
- Panel Installation Guide
- Wings Installation Guide
- Docker Installation Docs
Tip: For faster installs, check out pterodactyl-installer (unofficial).
Your panel is now live! Login at your domain, connect nodes, and start deploying game servers.
