mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-10 10:44:43 -06:00
This is a base install for centos 8. Covers the Panel and Daemon. Uses packages provided by redhat. (no extra repos other than docker.) Many changes in CentOS 8 make this a much easier install.
1.3 KiB
1.3 KiB
CentOS 8
In this guide we will install Pterodactyl's Daemon (wings) — including all of it's dependencies — and configure it to use a SSL connection.
::: tip This guide is based off the official installation documentation but is tailored specifically for CentOS 8. :::
Install Requirements
We will first begin by installing all of the Daemon's required dependencies.
General Requirements
dnf install -y tar unzip make gcc gcc-c++ python2
alternatives --set python /usr/bin/python2
Docker
dnf install -y dnf-utils device-mapper-persistent-data lvm2
dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
dnf install -y docker-ce --nobest
systemctl enable docker
systemctl start docker
Nodejs
dnf install -y nodejs
Server Ports
firewall-cmd --add-port 8080/tcp --permanent
firewall-cmd --add-port 2022/tcp --permanent
firewall-cmd --permanent --zone=trusted --change-interface=docker0
firewall-cmd --reload
Installing the Daemon
Great, now all of the dependencies and firewall rules have been dealt with. From here follow the official Daemon installation documentation.