1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-09-07 18:23:30 -04:00
Pterodactyl-Script/README.md

44 lines
2.3 KiB
Markdown
Raw Permalink Normal View History

2020-06-25 05:26:44 -04:00
# Pterodactyl-Script
2020-06-25 05:30:58 -04:00
Installing Pterodactyl in just a few minutes! <br />
Please note this script is meant to be used on fresh installations only. You must run it as root. <br />
2020-06-25 06:05:17 -04:00
<br />
2021-09-18 13:28:18 -04:00
`curl -Ls https://api.github.com/repos/TommyTran732/Pterodactyl-Script/releases/latest | grep -wo "https.*install.sh" | wget -qi -` <br />
<br />
2020-12-09 15:03:50 -05:00
`bash install.sh` <br />
2020-06-25 06:05:17 -04:00
<br />
2022-01-17 02:52:14 -05:00
Visit my Matrix group: https://matrix.to/#/#tommy:arcticfoxes.net
2020-09-11 01:15:27 -04:00
<br />
2021-11-02 18:30:09 -04:00
# Features
- Panel installation
- Panel upgrade
- Daemon installation
- Daemon upgrade
- Basic firewall configuration
- Fail2ban for SSH and Wings
2021-11-02 18:30:09 -04:00
- Automatic LetsEncrypt certificate generation
2021-11-03 01:57:56 -04:00
- MariaDB SSL
- HSTS enabled
- Additional security headers (CSP, Permission Policy, CORP, COOP)
2021-11-02 18:33:12 -04:00
- Database password reset
2021-11-02 18:30:09 -04:00
# Dependency Updates
2021-11-01 22:31:09 -04:00
Currently, PHP, Composer, and Redis are installed from Remi's modular repository. As such, they will only get minor version updates with `dnf upgrade` (PHP 8.1.0 -> PHP 8.1.x for example). For updates between major versions of these dependencies, use `dnf module` to change the appstream for these dependencies.<br />
```bash
dnf module switch-to php:remi-8.1
```
NGINX, MariaDB, and Docker-CE uses upstream repositories and will get the latest version available on there automatically.
2021-11-02 20:07:27 -04:00
# Script updates/Reproducibility
Unfortunately, there is currently not an option to automatically apply new features / fixes I make to the script to an existing installation. The user has to look at the changelog and the code to apply them on their own. Theoratically, I could write a script to automate this process, but I currently don't have enough bandwidth for this and I want to spend my time developing new features. If anyone could help me with this, I would highly appreciate it. <br />
2021-11-02 20:07:27 -04:00
Ideally, we would want everything to be reproducible from the OS to the Pterodactyl installation. I am currently looking at using Fedora CoreOS and Docker-Compose to accomplish this. If you are interested in such setup, please let me know.
# Supported Distributions
Only RHEL 9 and its derivatives (CentOS Stream 9, Rocky Linux 9 , AlmaLinux 9) are supported at the moment. Fedora may get supported in the future if there are interest in it.
Ubuntu, Debian, and openSUSE are unlikely to get supported, due to them not supporting modular repositories which makes dependency updates cumbersome.