π¦ pterodactyl-installer
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.
Features
- 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).
Help and support
For help and support regarding the script itself and not the official Pterodactyl project itself, you can join the Discord Chat.
Supported installations
List of supported installation setups for panel and daemon (installations supported by this installation script).
Supported panel operating systems and webservers
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 |
Supported daemon operating systems
Operating System | Version | Supported |
---|---|---|
Ubuntu | 14.04 | π΄ |
16.04 | β | |
18.04 | β | |
20.04 | β | |
Debian | 8 | π΄ |
9 | β | |
10 | β | |
CentOS | 6 | π΄ |
7 | β | |
8 | β |
Using the installation scripts
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.
Firewall setup
The installation scripts do not configure your firewall automatically.
Debian/Ubuntu
On Debian and Ubuntu, ufw
can be used. Install it using apt
.
apt install -y ufw
Panel
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.
Daemon
Allow 8080 and 2022.
ufw allow 8080
ufw allow 2022
Enable the firewall
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
CentOS
On CentOS, firewall-cmd
can be used.
Panel
Allow HTTP and HTTPS.
firewall-cmd --add-service=http --permanent
firewall-cmd --add-service=https --permanent
Daemon
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
Enable the firewall
Reload the firewall to enable the changes.
firewall-cmd --reload
Contributors β¨
Created and maintained by Vilhelm Prytz.
Special thanks to sam1370 and Linux123123 for helping on the Discord server!