Panel Installation
This page guides you through installing the Pterodactyl Panel using the official installer.
Follow each step carefully.
Step 1
Run the installer
Section titled “Run the installer”Start the installation by running the following command as
root:Terminal window 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.Step 2
Select panel installation
Section titled “Select panel installation”The install script will ask you what to install.
When prompted, press0and hit enter.This installs only the panel for the website. Wings will be installed later.
Step 3
Create a database
Section titled “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!
- First, choose a database name for example:
Step 4
Timezone
Section titled “Timezone”After creating your database, it will prompt what timezone you are in.
Enter your timezone in the formatContinent/City. For example: Europe/Amsterdam.
Then press enter.Step 5
Recovery email
Section titled “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.Step 6
Initial admin account
Section titled “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.
Step 7
Domain configuration (FQDN)
Section titled “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 bepanel.yourdomain.com. Then press enter.Step 8
Firewall & HTTPS
Section titled “Firewall & HTTPS”After the FQDN, it will ask to configure a firewall, type
yand press enter.Step 9
HTTPS (SSL configuration)
Section titled “HTTPS (SSL configuration)”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 pressyand hit enter.
When asked to assume SSL, typeyand press enter.Step 10
HTTPS Confirmation
Section titled “HTTPS Confirmation”If you followed all the steps in the Cloudflare documentation, just press
yand hit enter.