Add Installing Choosable Start Command for Pterodactyl

Arnaud Lier 2024-04-06 19:31:34 +00:00
parent 6911ce2c5a
commit 8d98616d7e

@ -0,0 +1,58 @@
# Prerequisites
For the sake of this tutorial, we will assume that Pterodactyl is already configured and installed. If this is not the case, here are some tutorials that may help you from other sources:
- [Pterodactyl](https://pterodactyl.io/project/introduction.html)
Please note that if you get a problem during a step, feel free to join our [Discord](https://discord.gg/RJ2A8yYS2m) to open a ticket.
## Checking content
In the ZIP file downloaded after the purchase, you will find one directory:
- `pterodactyl`: The files contained in this directory need to be uploaded to your Pterodactyl installation
If you are missing folders, download the add-on again.
# Installing Pterodactyl Side
## Installing Node.js and yarn
Execute these commands:
### Ubuntu and other Debian-based OS
```bash
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
apt install -y nodejs
```
### CentOS 7
```bash
curl -sL https://rpm.nodesource.com/setup_16.x | sudo -E bash -
sudo yum install -y nodejs yarn
```
### CentOS 8
```bash
curl -sL https://rpm.nodesource.com/setup_16.x | sudo -E bash -
sudo dnf install -y nodejs yarn
```
## Installing dependencies
In your bash shell, run these commands :
```bash
npm i -g yarn
cd /var/www/pterodactyl
yarn install
```
## Installing the addon
Follow the `PanelEdit_EN.txt` or the `PanelEdit_FR.txt` file contained in the ZIP file that you have downloaded.
The addon is now fully configured. You can use it perfectly.
# Configuration
This section will be done later, for now, please join our [Discord](https://discord.gg/RJ2A8yYS2m) and open a ticket.