Unofficial scripts for installing Pterodactyl on both Panel & Daemon.
Read more about Pterodactyl here. This script is not associated with the official Pterodactyl Project.
This project is available at GitHub with read-only forks available at GitLab and Bitbucket.
- Automatic installation of the Pterodactyl panel (dependencies, database, cronjob, nginx).
- Automatic installation of the Pterodactyl daemon (Docker, NodeJS, systemd).
- Panel: (optional) automatic configuration of Let's Encrypt.
- Panel: (optional) automatic configuration of UFW (firewall for Ubuntu/Debian).
For help and support regarding the script itself and not the official Pterodactyl project itself, you can join the Discord Chat.
List of supported installation setups for panel and daemon (installations supported by this installation script).
Operating System | Version | nginx support | Apache support | PHP Version |
---|---|---|---|---|
Ubuntu | 14.04 | 🔴 | 🔴 | |
16.04 | ✅ | 🔴 | 7.2 | |
18.04 | ✅ | 🔴 | 7.2 | |
20.04 | ✅ | 🔴 | 7.4 | |
Debian | 8 | ✅ | 🔴 | 7.3 |
9 | ✅ | 🔴 | 7.3 | |
10 | ✅ | 🔴 | 7.3 | |
CentOS | 6 | 🔴 | 🔴 | |
7 | ✅ | 🔴 | 7.3 | |
8 | ✅ | 🔴 | 7.2 |
Operating System | Version | Supported |
---|---|---|
Ubuntu | 14.04 | 🔴 |
16.04 | ✅ | |
18.04 | ✅ | |
20.04 | ✅ | |
Debian | 8 | 🔴 |
9 | ✅ | |
10 | ✅ | |
CentOS | 6 | 🔴 |
7 | ✅ | |
8 | ✅ |
To use the installation scripts, simply run this command as root. The script will ask you whether you would like to install just the panel, just the daemon or both.
bash <(curl -s https://raw.githubusercontent.com/vilhelmprytz/pterodactyl-installer/master/install.sh)
Note: On some systems, it's required to be already logged in as root before executing the one-line command (where sudo
is in front of the command does not work).
Here is a YouTube video that illustrates the installation process.
The installation scripts do not configure your firewall automatically.
On Debian and Ubuntu, ufw
can be used. Install it using apt
.
apt install -y ufw
The script can automatically open the ports for SSH (22), HTTP (80) and HTTPS (443). The installer script should ask whether you'd like it to configure UFW automatically or not.
Allow 8080 and 2022.
ufw allow 8080
ufw allow 2022
Make sure to also enable SSH (or allow SSH from your IP only, depending on your setup).
ufw allow ssh
Enable the firewall.
ufw enable
On CentOS, firewall-cmd
can be used.
Allow HTTP and HTTPS.
firewall-cmd --add-service=http --permanent
firewall-cmd --add-service=https --permanent
Allow 8080 and 2022.
firewall-cmd --add-port 8080/tcp --permanent
firewall-cmd --add-port 2022/tcp --permanent
firewall-cmd --permanent --zone=trusted --change-interface=docker0
Reload the firewall to enable the changes.
firewall-cmd --reload
Created and maintained by Vilhelm Prytz.
Special thanks to sam1370 and Linux123123 for helping on the Discord server!