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.
Supports newest version of Pterodactyl! This script is one of the only ones that has a well-functioning Switch Domains feature.
Supported operating systems.
Operating System | Version | Supported | PHP |
---|---|---|---|
Ubuntu | from 18.04 to 22.04 | :white_check_mark: | 8.1 |
Debian | from 11 to 12 | :white_check_mark: | 8.1 |
CentOS | centos 7 | :white_check_mark: | 8.1 |
Rocky Linux | no supported versions | :x: | :x: |
:warning: 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 | :white_check_mark: |
Apache | :white_check_mark: |
LiteSpeed | :x: |
Caddy | :x: |
Copyright 2022-2023, Malthe K, me@malthe.cc
Created and maintained by Malthe K.
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.
The recommended way to use this script.
bash <(curl -s https://raw.githubusercontent.com/guldkage/Pterodactyl-Installer/main/installer.sh)
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)
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.
You can use my autoinstall command generator to install Pterodactyl and Wings with 1 command.
<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>