WatchAndyTW / pterodactyl-installer

:bird: Unofficial installation scripts for Pterodactyl Panel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐦 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 βœ… πŸ”΄ 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!

About

:bird: Unofficial installation scripts for Pterodactyl Panel

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%