Tutoriel-Installation-Pterodactyl

Anthony

Administrateur
Membre du personnel

💻 Tutoriel-Installation-Pterodactyl​

Installation des Prérequis​

apt update
apt full-upgrade
apt install bash curl wget sudo
apt update

Installation du panel & Wings​


Installation de Phpmyadmin:​

cd /var/www/pterodactyl/public/ && mkdir phpmyadmin && cd phpmyadmin/ && wget https://files.phpmyadmin.net/phpMyAdmin/5.2.0/phpMyAdmin-5.2.0-all-languages.zip && unzip phpMyAdmin-5.2.0-all-languages.zip && mv phpMyAdmin-5.2.0-all-languages/* /var/www/pterodactyl/public/phpmyadmin

Configuration de MySQL:​

sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf ( changer l'ip 127.0.0.1 par 0.0.0.0 )
service mariadb restart
service mysql restart mysql


Création de la base de données:​

mysql

CREATE DATABASE phpmyadmin DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
GRANT ALL ON phpmyadmin.* TO 'phpmyadmin'@'localhost' IDENTIFIED BY 'MOTDEPASSE';
create user admin@'%' identified by 'MOTDEPASSE';
grant all privileges on *.* to admin@'%' with grant option;
flush privileges;
exit;

Firewall:​

ufw allow 3306
 
Dernière édition:
Haut