Aller au contenu principal

Installer Pterodactyl

Ce guide vous explique comment installer le panel Pterodactyl sur votre VPS.

Prérequis​

  • VPS avec minimum 2 Go RAM
  • Debian 11/12 ou Ubuntu 20.04/22.04
  • Nom de domaine pointant vers votre VPS

Installation automatique​

Utilisez le script d'installation automatique :

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

Suivez les instructions à l'écran.

Installation manuelle​

1. Dépendances​

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. Base de données​

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

5. Télécharger le 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/

Continuez avec la documentation officielle Pterodactyl.

attention

L'installation de Pterodactyl est complexe. En cas de difficulté, contactez notre support.