Pterodactyl
Check the system requirements before installation.
Before starting the installation process, make sure your domain nameservers/DNS are configured. Otherwise, you would not be able to access to the website.
Learn how to configure your domain nameservers/DNS here.
-
Download the LeaderOS Egg:
-
Create a New Nest:
- Navigate to Pterodactyl Panel > Admin Control > Nests.
- Click on the “Create New” button to initiate the nest creation process.
- Name the new nest “LeaderOS.”
-
Import the Bot Egg:
- In the Nests section, locate the newly created “LeaderOS” nest.
- Click on the “Import Egg” button.
- Select the LeaderOS Egg JSON file.
- Associate this egg with the “LeaderOS” nest.**
-
Set Up a New Server for the LeaderOS Software:
- Proceed to Pterodactyl Panel > Admin Control > Servers.
- Click on the “Create New” button to initiate server creation.
- Configure the necessary fields for the new server.
- Ensure to select the “LeaderOS” nest and the LeaderOS Egg.
- Enter your domain to “Service Variables” section.
-
Create New Database:
- Navigate to Pterodactyl Panel > Server > Manage > Databases.
- Click on the “New Database” button
- Enter database name and leave the “Connections From” field blank.
-
Configure your Nginx Reverse Proxy:
If you are using Cloudflare, you do not need to create an SSL certificate, so you need to reverse proxy over port 80. If you are not using Cloudflare, you will need to create an SSL certificate using Certbot and reverse proxy over port 443.
If you are using Cloudflare:
- Connect to the Pterodactyl Node via SSH.
- Run
sudo nano /etc/nginx/sites-enabled/YOURDOMAIN.COM
- Run Edit the nginx configuration below to your specifications. Only modify the fields specified with a comment line.
- YOUR_IP: Use the output of the following command:
hostname -I | awk '{print $1}'
- YOUR_PORT: Enter the port assigned to your server by Pterodactyl.
If you are not using Cloudflare:
- Connect to the Pterodactyl Node via SSH.
- Run
sudo apt update -y
- Run
sudo apt install -y certbot
- Run
sudo apt install -y python3-certbot-nginx
- Run
certbot certonly --nginx -d YOURDOMAIN.COM
- Run
sudo crontab -e
and add the line from below to the bottom of it for attempting renewal every day. 0 23 * * * certbot renew --quiet --deploy-hook "systemctl restart nginx"
- Run
sudo nano /etc/nginx/sites-enabled/YOURDOMAIN.COM
- Run Edit the nginx configuration below to your specifications. Only modify the fields specified with a comment line.
- YOUR_IP: Use the output of the following command:
hostname -I | awk '{print $1}'
- YOUR_PORT: Enter the port assigned to your server by Pterodactyl.
-
Visit Your Website
- Once you visit your website, it will direct you to the setup page for LeaderOS. Follow the guide to finish the setup.