Panel Installation
This page guides you through installing the Pterodactyl Panel using the official installer.
Follow each step carefully.
Run the installer
Start the installation by running the following command as 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.
Select panel installation
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.
Create a database
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.
- First, choose a database name for example:
panel. Then hit enter. - Create a database user, for example:
casper. Then press enter. - Set a strong password, make sure to only use lower, capital and numeric characters!
Timezone
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.
Recovery email
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.
Initial admin account
Now, we are going to create the inital admin acccount.
- 1. Use the same email as before, then press enter.
- 2. Choose a username, this will be used to login on the website. Then press enter.
- 3. Set your first name. Then press enter.
- 4. Set your last name. Then press enter.
- 5. Create a strong password. For this, you can use special characters aswell. Then press enter.
Domain configuration (FQDN)
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.
Make sure to replace yourdomain.com with your purchased domain name. For example:
panel.casper-rs.dev
Firewall & HTTPS
After the FQDN, it will ask to configure a firewall, type y and press enter.
HTTPS (SSL configuration)
Cloudflare will handle HTTPS using the origin certificate.
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.
HTTPS Confirmation
Allthough this does not happen for every installation. If you do get the prompt, please follow the steps below.
If you followed all the steps in the Cloudflare documentation, just press
y and hit enter.