Michael Parker 7f4d34cb32 add centos 8
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.
2019-09-29 04:03:38 -04:00

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.

toc

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