Iomega0318 / 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

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.

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
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 βœ…
Debian 8 πŸ”΄
9 βœ…
10 βœ… *
CentOS 6 πŸ”΄
7 βœ…
8 βœ…

* Debian 10 is not listed as officially supported by Pterodactyl yet.

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

Allow HTTP/HTTPS connections for panel installation.

ufw allow http
ufw allow https

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

Contributing

Feel free to fork the project and send a PR! πŸ˜ƒ

About

:bird: Unofficial installation scripts for Pterodactyl Panel

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%