Skip to content

guldkage/Pterodactyl-Installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pterodactyl Installer

With this script you can easily install, update or delete Pterodactyl Panel. Everything is gathered in one script.

Please note that this script is made to work on a fresh installation. There is a good chance that it will fail if it is not a fresh installation. The script must be run as root.

Read about Pterodactyl here. This script is not associated with the official Pterodactyl Project.

Features

Supports newest version of Pterodactyl! This script is one of the only ones that has a well-functioning Switch Domains feature.

  • Install Panel
  • Install Wings
  • Install Panel & Wings
  • Install PHPMyAdmin
  • Uninstall PHPMyAdmin
  • Switch Pterodactyl Domains
  • Uninstall Panel
  • Uninstall Wings
  • Autoinstall [ONLY NGINX & BETA]

Supported OS & Webserver

Supported operating systems.

Operating System Version Supported PHP
Ubuntu from 18.04 to 22.04 8.1
Debian from 11 to 12 8.1
CentOS centos 7 8.1
Rocky Linux no supported versions

⚠️ Be aware of using CentOS 7. It is EOL and there will not be added support in this script for any newer CentOS version. If you are running CentOS and you want to use this script, you should switch to a new distro, such as Debian or Ubuntu.

Webserver Supported
NGINX
Apache
LiteSpeed
Caddy

Contributors

Copyright 2022-2023, Malthe K, [email protected]
Created and maintained by Malthe K.

Support

The script has been tested many times without any bug fixes, however they can still occur.
If you find errors, feel free to open an "Issue" on GitHub.

Interactive/Normal installation

The recommended way to use this script.

bash <(curl -s https://raw.githubusercontent.com/guldkage/Pterodactyl-Installer/main/installer.sh)

Raspbian

Only for raspbian users. They might need a extra < in the beginning.

bash < <(curl -s https://raw.githubusercontent.com/guldkage/Pterodactyl-Installer/main/installer.sh)

Autoinstall / Developer Installation

Only use this if you know what you are doing! You can now install Pterodactyl using 1 command without having to manually type anything after running the command.

[BETA] Generate Autoinstall Command

You can use my autoinstall command generator to install Pterodactyl and Wings with 1 command.

Required fields

<fqdn> = What you want to access your panel with. Eg. panel.domain.ltd
<ssl> = Whether to use SSL. Options are true or false.
<email> = Your email. If you choose SSL, it will be shared with Lets Encrypt.
<username> = Username for admin account on Pterodactyl
<firstname> = First name for admin account on Pterodactyl
<lastname> = Lastname for admin account on Pterodactyl
<password> = The password for the admin account on Pterodactyl
<wings> = Whether you want to have Wings installed automatically as well. Options are true or false.

You must be precise when using this script. 1 typo and everything can go wrong. It also needs to be run on a fresh version of Ubuntu or Debian.

bash <(curl -s https://raw.githubusercontent.com/guldkage/Pterodactyl-Installer/main/autoinstall.sh)  <fqdn> <ssl> <email> <username> <firstname <lastname> <password> <wings>