Skip to content
Back to blog

Magichosting

Installing Pterodactyl or Pelican Panel: in one click or by hand

E
Elias Bieber
Estimated reading time: 4 min

Pterodactyl and Pelican manage many game servers from a web interface. What you need for the installation and how the Autoinstaller does the work for you.

PterodactylPelicanGame serverDockerLinux

What Pterodactyl and Pelican do

Pterodactyl is an open-source panel for managing many game servers from a web interface: users get their own servers, start and stop them, upload files via SFTP and see the console in the browser. It consists of two parts: the panel (web interface with PHP and a database) and Wings, the service that starts every game server in its own Docker container.

Pelican is a fork of Pterodactyl continued by former Pterodactyl developers. The principle of panel and Wings stays the same, the interface is more modern. At MagicHosting you install the Pelican Panel in one click; Pterodactyl you set up by hand with this guide.

Requirements

  • A KVM server: – Wings needs Docker with its own kernel. On a KVM VM this works like on your own hardware; in containers without their own kernel, Wings runs into limits.
  • Debian 12 or Ubuntu 22.04/24.04: as a freshly installed operating system.
  • Enough resources: The panel and Wings need about 1–2 GB RAM; the rest belongs to your game servers. For several Minecraft or Rust servers, 6 vCores and 16 GB RAM are a good start.
  • A domain: for HTTPS, for example panel.your-domain.com and node.your-domain.com, each with an A record pointing to your server's IPv4.

Option 1: Pelican Panel in one click

  1. Open your KVM server in the dashboard and switch to the Autoinstaller tab.
  2. Choose Pelican Panel and start the installation. The Autoinstaller sets up Docker and starts the panel as a container.
  3. Then open http://YOUR-SERVER-IP/installer and follow the web installer: environment, database and your admin account. The first start with database migration can take a few minutes.
  4. Back up the APP_KEY: the installation log shows how to read it with docker compose -f /opt/pelican/docker-compose.yml logs panel | grep 'Generated app key:'. Without this key, stored data can't be decrypted after a restore.

Option 2: Pterodactyl by hand

Dependencies

The panel needs PHP 8.x with the usual extensions (cli, gd, mysql, mbstring, bcmath, xml, curl, zip, fpm), MariaDB, Redis, Nginx and Composer. Which versions are currently supported is listed in the Pterodactyl documentation under "Panel Installation" – always follow the current state there.

Download and set up the panel

First create a database panel and a dedicated user in MariaDB. Then:

bash
mkdir -p /var/www/pterodactyl && cd /var/www/pterodactyl
curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/latest/download/panel.tar.gz
tar -xzvf panel.tar.gz && chmod -R 755 storage/* bootstrap/cache/
cp .env.example .env
COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --optimize-autoloader
php artisan key:generate --force
php artisan p:environment:setup
php artisan p:environment:database
php artisan migrate --seed --force
php artisan p:user:make
chown -R www-data:www-data /var/www/pterodactyl/*

Finally, add the cron job * * * * * php /var/www/pterodactyl/artisan schedule:run >> /dev/null 2>&1, create the queue worker as a systemd service (pteroq) and configure Nginx with a Let's Encrypt certificate – the templates are in the documentation. How a reverse proxy with a certificate works in general is shown in Nginx as a reverse proxy with Let's Encrypt.

Install Wings

bash
curl -sSL https://get.docker.com/ | CHANNEL=stable bash
systemctl enable --now docker
mkdir -p /etc/pterodactyl
curl -L -o /usr/local/bin/wings "https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64"
chmod u+x /usr/local/bin/wings

In the panel, create a new node under "Nodes". The "Configuration" tab contains the ready-made config.yml, which belongs in /etc/pterodactyl/config.yml. Then start Wings as a systemd service and assign the IP address and ports for your game servers to the node under "Allocation".

Firewall and ports

PortPurposeOpen to
80, 443 (TCP)Panel in the browsereveryone
8080 (TCP)Wings API (panel ↔ node)everyone or only the panel
2022 (TCP)SFTP for game server fileseveryone
Game portse.g. 25565 Minecraft, 30120 FiveMeveryone

Only open the ports you actually assign – our guide UFW without lockouts shows how. Note: Docker sets its own firewall rules, so container ports can be reachable even without a UFW rule. With us, PletX with 8 Tbit/s of filter capacity protects all ports against DDoS attacks.

Frequently asked questions

Pterodactyl or Pelican – which should I choose?

For a fresh start Pelican is a good choice and installs in one click with us. If you want to keep using existing Pterodactyl installations, themes or extensions, stay with Pterodactyl. Check the current release status of either before going live.

Can I run the panel and Wings on the same server?

Yes, for most communities that's the simplest route. With many game servers, you can later separate the panel and nodes and attach additional servers as nodes.

Why doesn't a game server start?

Often an allocation (port) is missing, the node has too little RAM or storage, or Wings can't reach the panel. The server console and journalctl -u wings show the cause.

How much does a server for Pterodactyl cost?

That depends on your game servers. You'll find recommended sizes with live prices on Pterodactyl & Pelican server; all servers run prepaid without automatic renewal.

Was this post helpful?

MagicHosting – Hosting with real value

Hosting pays off with MagicHosting: fair pricing, current deals and operation in SkyLink RZ. Servers, domains and personal support – no hidden costs.

  • Current limited offers from our server exchange
  • Affordable domains with transparent pricing and great offers
  • Powerful DDoS protection for maximum availability
  • Personal support when you have questions or issues