/Pterodactyl-Installer-c7

An easy script to install and delete Pterodactyl. It could not be easier!

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Pterodactyl Installer

With this script you can easily install, update or delete Pterodactyl Panel. Everything is gathered in one script. Use this script if you want to install, update or delete your services quickly. The things that are being done are already listed on Pterodactyl, but this clearly makes it faster since it is automatic.

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.

If you find any errors, things you would like changed or queries for things in the future for this script, please write an "Issue". 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 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 10 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

Copyright

Please do not say you created this script. You may create a fork for this Pterodactyl-Installer, but I would appreciate this github being linked to.

Support

No support is offered for this script. 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. Debian based systems only.

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.

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