Update Installing Automatic phpMyAdmin for Pterodactyl

Arnaud Lier 2024-03-31 17:13:31 +00:00
parent 2cf1c90aa2
commit b2447a11b6

@ -21,21 +21,21 @@ If you are missing folders, download the addon again.
Execute these commands : Execute these commands :
### Ubuntu and Debian : ### Debian, Ubuntu and derivatives
```bash ```bash
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash - curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
apt install -y nodejs apt install -y nodejs
``` ```
### CentOS 7 : ### CentOS 7
```bash ```bash
curl -sL https://rpm.nodesource.com/setup_16.x | sudo -E bash - curl -sL https://rpm.nodesource.com/setup_16.x | sudo -E bash -
sudo yum install -y nodejs yarn sudo yum install -y nodejs yarn
``` ```
### CentOS 8 : ### CentOS 8, Fedora, RHEL and derivatives
```bash ```bash
curl -sL https://rpm.nodesource.com/setup_16.x | sudo -E bash - curl -sL https://rpm.nodesource.com/setup_16.x | sudo -E bash -
@ -45,17 +45,17 @@ sudo dnf install -y nodejs yarn
## Installing dependencies ## Installing dependencies
In your SSH terminal, run these commands : In your SSH terminal, run these commands :
```bash ```shell
npm i -g yarn npm i -g yarn
cd /var/www/pterodactyl cd /var/www/pterodactyl
yarn install yarn install
``` ```
## Installing the addon ## Installing the addon
Follow the PanelEdit_EN.txt or the PanelEdit_FR.txt file contained in the .zip file that you have downloaded. Follow the `PanelEdit_EN.md` or the `PanelEdit_FR.md` file contained in the ZIP file that you have downloaded.
# Installing phpMyAdmin side # Installing phpMyAdmin side
Like Pterodactyl side, upload all the files of the folder `phpmyadmin` of the .zip that you have downloaded in the folder of your phpMyAdmin installation. Like Pterodactyl side, upload all the files of the folder `phpmyadmin` of the ZIP that you have downloaded in the folder of your phpMyAdmin installation.
Then, you will need to modify configuration for the host in `config.inc.php` by adding these lines: Then, you will need to modify configuration for the host in `config.inc.php` by adding these lines:
```PHP ```PHP
$cfg['Servers'][$i]['auth_type'] = 'signon'; $cfg['Servers'][$i]['auth_type'] = 'signon';