Requirements
Manual Installation
Section titled “Manual Installation”Required Dependencies
Section titled “Required Dependencies”- Pterodactyl panel v1.4 or above already installed on the same or different server
- PHP >= 8.2 and the following extensions:
BCMath,Ctype,Fileinfo,JSON,Mbstring,OpenSSL,PDO,MySQL,Tokenizer,XML,GD,cURL, andZip(FPMif using nginx) - Composer 2
- Web server (nginx is recommended)
- MySQL >= 5.7 or MariaDB >= 10.2 (MariaDB is recommended)
- Redis server
- SMTP server
Example Dependencies Installation
Section titled “Example Dependencies Installation”If you have already installed Pterodactyl panel on the same server, you usually need not install the dependencies again as Billing requires the same dependencies as it does.
Update apt
Section titled “Update apt”apt update -yCertbot
Section titled “Certbot”apt install -y certbot# Run this if you use Nginxsudo apt install -y python3-certbot-nginx# Run this if you use Apachesudo apt install -y python3-certbot-apacheDependency Installation
Section titled “Dependency Installation”# Add "add-apt-repository" commandapt -y install software-properties-common curl apt-transport-https ca-certificates gnupg
# Add additional repositories for PHP, Redis, and MariaDBLC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php
# Add Redis official APT repositorycurl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpgecho "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
# MariaDB repo setup script can be skipped on Ubuntu 22.04curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
# Update repositories listapt update
# Add universe repository if you are on Ubuntu 18.04apt-add-repository universe
# Install Dependenciesapt -y install php8.2 php8.2-{common,cli,gd,mysql,mbstring,bcmath,xml,fpm,curl,zip} mariadb-server nginx tar unzip git redis-serverComposer
Section titled “Composer”curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composerMariaDB
Section titled “MariaDB”apt install -y mariadb-common mariadb-server mariadb-client
systemctl start mariadbsystemctl enable mariadb
mysql_secure_installation
Change to your own secure passwordSet root password? [Y/n] Y
Get rid of users that could access the db by defaultRemove anonymous users? [Y/n] Y
Keep root off the external interfacesDisallow root login remotely? [Y/n] Y
Extra databases that aren't neededRemove test database and access to it? [Y/n] Y
Clears and sets all the changes madeReload privilege tables now? [Y/n] Yapt install -y redis-server
systemctl start redis-serversystemctl enable redis-serverSMTP Server
Section titled “SMTP Server”If you don’t have one, you may use Gmail SMTP server for free. https://www.hostinger.com/tutorials/how-to-use-free-google-smtp-server