Skip to main content

Install Pterodactyl

This guide explains how to install the Pterodactyl panel on your VPS.

Prerequisites​

  • VPS with minimum 2 GB RAM
  • Debian 11/12 or Ubuntu 20.04/22.04
  • Domain name pointing to your VPS

Automatic installation​

Use the automatic installation script:

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

Follow the on-screen instructions.

Manual installation​

1. Dependencies​

apt -y install software-properties-common curl apt-transport-https ca-certificates gnupg

2. PHP 8.1​

add-apt-repository ppa:ondrej/php -y
apt update
apt -y install php8.1 php8.1-{cli,gd,mysql,pdo,mbstring,tokenizer,bcmath,xml,fpm,curl,zip}

3. Composer​

curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

4. Database​

apt install mariadb-server -y
mysql -u root -p
CREATE USER 'pterodactyl'@'127.0.0.1' IDENTIFIED BY 'your_password';
CREATE DATABASE panel;
GRANT ALL PRIVILEGES ON panel.* TO 'pterodactyl'@'127.0.0.1';
EXIT;

5. Download the Panel​

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/

Continue with the official Pterodactyl documentation.

warning

Pterodactyl installation is complex. If you have difficulties, contact our support.