Casper-RS avatar
Made by Casper-RS

Panel Installation

This page guides you through installing the Pterodactyl Panel using the official installer.
Follow each step carefully.

1

Run the installer

Start the installation by running the following command as root:

bash <(curl -s https://pterodactyl-installer.se/)
What does this installer do?

This script installs all required dependencies such as PHP, Nginx, database support and configures the Pterodactyl Panel automatically.

How to login as root again?

You can enter as root user, by typing su root.
Then enter your set password and press enter.

2

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.

3

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!
4

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.

5

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.

6

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.
7

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.

This must be the proxied (orange cloud) panel record you have setup before.
Make sure to replace yourdomain.com with your purchased domain name. For example: panel.casper-rs.dev
8

Firewall & HTTPS

After the FQDN, it will ask to configure a firewall, type y and press enter.

9

HTTPS (SSL configuration)

Do not generate a certificate here.
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.

10

HTTPS Confirmation

Sometimes you will be prompted that the fetched ip address does not match your server ip.
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.

Next step: Configure the panel to use SSL

Continue with configuring so the website uses the CloudFlare certificate.