This page guides you through installing the Pterodactyl Panel using the official installer. Follow each step carefully.
Start the installation by running the following command as root:
root
bash <(curl -s https://pterodactyl-installer.se/)
This script installs all required dependencies such as PHP, Nginx, database support and configures the Pterodactyl Panel automatically.
You can enter as root user, by typing su root. Then enter your set password and press enter.
su root
The install script will ask you what to install. When prompted, press 0 and hit enter. This installs only the panel for the website. Wings will be installed later.
0
Now it will prompt to install a database, a database setup is crucial for saving minecraft plugin data. For example, luckperms can be connected to a database, to save all your ranks.
panel
casper
After creating your database, it will prompt what timezone you are in. Enter your timezone in the format Continent/City. For example: Europe/Amsterdam. Then press enter.
Continent/City
After entering the timezone, you need to give an email. This email will be used to recover the pterodactyl panel for whenever you lose it. Then press enter.
Now, we are going to create the inital admin acccount.
Now, it will ask you what the Fully Qualified Domain Name (FQDN) should be. We will enter the URL that we configured via CloudFlare earlier in this documentation. If you followed this tutorial, our proxied (orange cloud) A-record was called panel. In that case, the FQDN you need to enter would be panel.yourdomain.com. Then press enter.
panel.yourdomain.com
panel.casper-rs.dev
After the FQDN, it will ask to configure a firewall, type y and press enter.
y
Now it will ask to configure HTTPS and generate a new certificate. It is important to not do this! We have setup CloudFlare in the beginning. CloudFlare will hide our IP, and so we do not want the install script to generate a certificate for us. When prompted to configure HTTPS, type n. Right after, it will ask to assume SSL. For this question press y and hit enter. When asked to assume SSL, type y and press enter.
n
If you followed all the steps in the Cloudflare documentation, just press y and hit enter.
Continue with configuring so the website uses the CloudFlare certificate.