# CentOS 8

In this guide we will install Pterodactyl's Daemon v0.6.X — including all of it's dependencies — and configure it to use a SSL connection.


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

# FirewallD changes

firewall-cmd --add-port 8080/tcp --permanent
firewall-cmd --add-port 2022/tcp --permanent
firewall-cmd --permanent --zone=trusted --change-interface=pterodactyl0
firewall-cmd --zone=trusted --add-masquerade --permanent
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.