/pterodactyl-installer

:bird: Unofficial installation scripts for Pterodactyl Panel

Primary LanguageShellGNU General Public License v3.0GPL-3.0

🐦 pterodactyl-installer

Build Status License: GPL v3 Discord made-with-bash

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 🔴 🔴
Debian 8 🔴 7.3
9 🔴 7.3
10 🔴 7.3
CentOS 6 🔴 🔴
7 🔴 7.3
8 🔴 7.2

Ubuntu 20.04 was recently released and is yet to be supported but will hopefully be supported soon.

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

Ubuntu 20.04 was recently released and is yet to be supported but will hopefully be supported soon.

Using the installation scripts

Using the Pterodactyl Panel installation script:

bash <(curl -s https://raw.githubusercontent.com/vilhelmprytz/pterodactyl-installer/master/install-panel.sh)

Using the Pterodactyl Daemon installation script:

bash <(curl -s https://raw.githubusercontent.com/vilhelmprytz/pterodactyl-installer/master/install-daemon.sh)

The script will guide you through the install.

Note: On some systems, it's required to be already logged in as root before executing the one-line command.

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 Linux1231233 for helping on the Discord server!