Pterodactyl
Guide d'installation de pterodactyl
Dépendances
OS supportés: Ubuntu 18.04, 20.04, 22.04 Debian 9, 10, 11 CentOS 7, 8 VPS KVM compatible DOCKER UNIQUEMENT !
1) Avant d'installer pterodactyl, mettez à jour votre machine:
apt update && apt upgrade -y (Debian & Ubuntu)
yum update && yum upgrade -y (AlmaLinux, FedoraOS, OpenSUSE & Centos)
2) Installation des paquets requis:
apt install sudo
sudo apt install wget curl bash
Installation de Pterodactyl
Installation automatique: Le script suivant est un script codé et très connu, il permet d'installer Pterodactyl automatiquement sans rentrer les commandes une par une.
Installation du panel + wings
3) Lancez le script d'installation:
bash <(curl -s https://pterodactyl-installer.se)
4) Choisissez 2 puis appuyez sur la touche entrée:
* [0] Install the panel
* [1] Install Wings
* [2] Install both [0] and [1] on the same machine (wings script runs after panel)
* [3] Install 0.7 version of panel (unsupported, no longer maintained!)
* [4] Install 0.6 version of daemon (works with panel 0.7, no longer maintained!)
* [5] Install both [3] and [4] on the same machine (daemon script runs after panel)
* [6] Install panel with canary version of the script (the versions that lives in master, may be broken!)
* [7] Install Wings with canary version of the script (the versions that lives in master, may be broken!)
* [8] Install both [5] and [6] on the same machine (wings script runs after panel)
* Input 0-8: 2
5) Appuyez 3 fois de suite sur entrée:
######################################################################
* Pterodactyl panel installation script @ v0.6.0
*
* Copyright (C) 2018 - 2021, Vilhelm Prytz, <[email protected]>
* https://github.com/vilhelmprytz/pterodactyl-installer
*
* This script is not associated with the official Pterodactyl Project.
*
* Running debian version 10.
* Latest pterodactyl/panel is v1.4.2
######################################################################
* debian 10 is supported.
########################################################################
* Database configuration.
* This will be the credentials used for communication between the MySQL
* database and the panel. You do not need to create the database
* before running this script, the script will do that for you.
* Database name (panel):
* Username (pterodactyl):
* Password (press enter to use randomly generated password):
6) Écrivez Europe/Paris
puis appuyez sur entrée:
List of valid timezones here https://www.php.net/manual/en/timezones.php
Select timezone [Europe/Stockholm]: Europe/Paris
7) Entrez deux fois votre e-mail puis appuyez sur entrée:
Provide the email address that will be used to configure Let's Encrypt and Pterodactyl: [email protected]
Email address for the initial admin account: [email protected]
8) Choisissez un nom d'utilisateur puis appuyez sur entrée:
Username for the initial admin account: example
9) Mettez votre prénom puis appuyez sur entrée:
First name for the initial admin account: example
10) Mettez votre nom de famille puis appuyez sur entrée:
Last name for the initial admin account: example
11) Choisissez un mot de passe puis appuyé sur entrez:
Vous ne pouvez pas appuyez sur la touche effacer. Cela ne fonctionnera pas, veuillez donc à ne pas faire de fautes dans votre mot de passe.
Password for the initial admin account: *********
12) Si vous souhaitez mettre un nom de domaine, faites une règle de type A vers l'IP de votre machine. Si vous souhaitez juste mettre une IP, écrivez l'IP de votre machine. Ensuite, entrez votre nom de domaine ou votre IP puis appuyez sur entrée:
Si vous entrez une IP vous ne pourrez pas avoir de certificat SSL !
Set the FQDN of this panel (panel.example.com): example.com
13) Mettez N
puis appuyez sur votre touche entrée:
Do you want to automatically configure UFW (firewall)? (y/N): N
14) Si vous avez mis l'IP de votre machine à l'étape 13, mettez N
, Si vous avez mis un nom de domaine, mettez Y
. Appuyez ensuite sur entrée:
WARNING: Let's Encrypt requires port 80/443 to be opened! You have opted out of the automatic firewall configuration; use this at your own risk (if port 80/443 is closed, the script will fail)!
WARNING: You cannot use Let's Encrypt with your hostname as an IP address! It must be a FQDN (e.g. panel.example.org).
Do you want to automatically configure HTTPS using Let's Encrypt? (y/N): Y
15) Mettez Y
puis appuyez sur entrée:
This script will perform a HTTPS request to the endpoint https://checkip.pterodactyl-installer.se
The official check-IP service for this script, https://checkip.pterodactyl-installer.se
- will not log or share any IP-information with any third-party.
If you would like to use another service, feel free to modify the script.
I agree that this HTTPS request is performed (y/N): Y
16) Mettez Y
puis appuyez sur entrée:
* DNS verified!
##############################################################
* Pterodactyl panel v1.4.2 with nginx on debian
* Database name: panel
* Database user: pterodactyl
* Database password: (censored)
* Timezone: Europe/Paris
* Email: [email protected]
* User email: [email protected]
* Username: example
* First name: example
* Last name: example
* User password: (censored)
* Hostname/FQDN: example.com
* Configure Firewall? false
* Configure Let's Encrypt? true
* Assume SSL? false
##############################################################
* Initial configuration completed. Continue with installation? (y/N): y
17) Une fois l'installation du panel faite, mettez N
puis appuyez sur entrée:
######################################################################
* Pterodactyl Wings installation script @ v0.6.0
*
* Copyright (C) 2018 - 2021, Vilhelm Prytz, <[email protected]>
* https://github.com/vilhelmprytz/pterodactyl-installer
*
* This script is not associated with the official Pterodactyl Project.
*
* Running debian version 10.
* Latest pterodactyl/wings is v1.4.3
######################################################################
* debian 10 is supported.
* Note: this script will not start Wings automatically (will install systemd service, not start it).
* Note: this script will not enable swap (for docker).
##########################################
* Note: If you installed the Pterodactyl panel on the same machine, do not use this option or the script will fail!
* Would you like to install MariaDB (MySQL) server on the daemon as well? (y/N): N
18) Mettez N
puis appuyez sur entrée:
Do you want to automatically configure UFW (firewall)? (y/N):
19) Mettez N
puis appuyez sur entrée:
WARNING: Let's Encrypt requires port 80/443 to be opened! You have opted out of the automatic firewall configuration; use this at your own risk (if port 80/443 is closed, the script will fail)!
WARNING: You cannot use Let's Encrypt with your hostname as an IP address! It must be a FQDN (e.g. node.example.org).
Do you want to automatically configure HTTPS using Let's Encrypt? (y/N): N
20) Mettez Y
puis appuyez sur entrée:
Proceed with installation? (y/N): y
21) Rendez vous ensuite sur l'IP ou le nom de domaine de votre machine puis connectez vous avec les identifiants définis plus tôt:

22) Rendez vous ensuite sur le panneau d'administration:

23) Une fois dans la partie admin, rendez vous dans la partie Locations
puis appuyez sur le bouton Create new
:


24) Mettez ensuite UniHeberg
dans la partie "Short Code" puis appuyez sur le bouton Create
:

25) Une fois crée, rendez vous dans la partie Nodes
puis appuyez sur le bouton Create new
:


26) Mettez les mêmes informations que sur l'image ci-dessous mais remplacez example.com
par votre nom de domaine. Puis appuyez sur "Create Node":
Si vous utilisez une IP, remplacez example.com
par votre IP et mettez la valeur "Communicate Over SSL"
sur "Use HTTP Connection"

27) Vous arriverez sur la page ci-dessous:


28) Rendez vous maintenant dans la partie Configuration
de votre node:


29) Cliquez sur le bouton Generate Token
puis copier le résultat obtenu et coller le dans le SSH de votre VPS/Dédié:

30) Faites maintenant ces deux commandes dans votre SSH:
systemctl start wings
systemctl enable wings
31) Vous devriez normalement voir le cœur de votre node en vert comme ci-dessous:

32) Vous pouvez maintenant vous rendre dans la partie Servers
puis faire Create new
pour créer votre premier serveur !
Dernière mise à jour