This commit is contained in:
Dane Everitt 2020-05-17 18:44:52 -07:00
commit 3fe4e3faff
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
8 changed files with 157 additions and 5 deletions

View File

@ -75,6 +75,7 @@ module.exports = {
'/community/installation-guides/panel/debian9.md',
'/community/installation-guides/panel/debian10.md',
'/community/installation-guides/panel/ubuntu1804.md',
'/community/installation-guides/panel/ubuntu2004.md',
]
},
{
@ -86,6 +87,7 @@ module.exports = {
'/community/installation-guides/daemon/debian9.md',
'/community/installation-guides/daemon/debian10.md',
'/community/installation-guides/daemon/ubuntu1804.md',
'/community/installation-guides/daemon/ubuntu2004.md',
]
},
{

View File

@ -1,5 +1,5 @@
# CentOS 7
In this guide we will install Pterodactyl's Daemon (wings) — including all of it's dependencies — and configure it
In this guide we will install Pterodactyl's Daemon 0.6.X — including all of it's dependencies — and configure it
to use a SSL connection.
[[toc]]

View File

@ -1,5 +1,5 @@
# 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.
In this guide we will install Pterodactyl's Daemon 0.6.X — including all of it's dependencies — and configure it to use a SSL connection.
[[toc]]

View File

@ -1,5 +1,5 @@
# Debian 10
In this guide we will install Pterodactyl's Daemon (wings) — including all of it's dependencies — and configure it
In this guide we will install Pterodactyl's Daemon 0.6.X — including all of it's dependencies — and configure it
to use a SSL connection.
[[toc]]

View File

@ -1,5 +1,5 @@
# Debian 9
In this guide we will install Pterodactyl's Daemon (wings) — including all of it's dependencies — and configure it
In this guide we will install Pterodactyl's Daemon 0.6.X — including all of it's dependencies — and configure it
to use a SSL connection.
[[toc]]

View File

@ -1,5 +1,5 @@
# Ubuntu 18.04
In this guide we will install Pterodactyl's Daemon (wings) — including all of it's dependencies — and configure it
In this guide we will install Pterodactyl's Daemon 0.6.X - including all of it's dependencies — and configure it
to use a SSL connection.
[[toc]]

View File

@ -0,0 +1,35 @@
# Ubuntu 20.04
In this guide we will install Pterodactyl's Daemon 0.6.X — 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](/daemon/installing.md) but is tailored specifically for Ubuntu 20.04.
:::
## Install Requirements
We will first begin by installing all of the Daemon's [required](/daemon/installing.md#dependencies) dependencies.
### General Requirements
```bash
apt install -y zip unzip tar make gcc g++ python
```
### Docker
```bash
apt install -y docker.io
systemctl enable docker
systemctl start docker
```
### Nodejs
```bash
apt install -y nodejs npm
```
## Installing the Daemon
Great, now all of the dependencies and firewall rules have been dealt with. From here follow the [official Daemon installation documentation](/daemon/installing.md#installing-daemon-software).

View File

@ -0,0 +1,115 @@
# Ubuntu 20.04
In this guide we will install Pterodactyl 0.7.X — including all of it's dependencies — and configure our webserver to serve it using SSL.
[[toc]]
::: tip
This guide is based off the [official installation documentation](/panel/getting_started.md) but is tailored specifically for Ubuntu 20.04.
:::
## Install Requirements
We will first begin by installing all of Pterodactyl's [required](/panel/getting_started.md#dependencies) dependencies.
### MariaDB
```bash
## Get apt updates
apt update -y
## Install MariaDB
apt install -y mariadb-common mariadb-server mariadb-client
## Start MariaDB
systemctl start mariadb
systemctl enable mariadb
```
### PHP
```bash
## Get apt updates
apt update -y
## Install PHP 7.4
apt install -y php7.4 php7.4-cli php7.4-gd php7.4-mysql php7.4-mbstring php7.4-bcmath php7.4-xml php7.4-fpm php7.4-curl php7.4-zip
```
### Nginx
```bash
apt install -y nginx
```
### Redis
```bash
apt install -y redis-server
systemctl start redis-server
systemctl enable redis-server
```
### Additional Utilities
#### Certbot
```bash
apt install -y certbot
```
#### Composer
```bash
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
```
## Server Configuration
This following section covers the configuration of parts of the server to run the panel.
### Configuring MariaDB
The fastest way to set up MariaDB is to use the `mysql_secure_installation` command and follow prompts
```bash
mysql_secure_installation
```
The following are safe defaults.
Change to your own secure password
`Set root password? [Y/n] Y`
Get rid of users that could access the db by default
`Remove anonymous users? [Y/n] Y`
Keep root off the external interfaces
`Disallow root login remotely? [Y/n] Y`
Extra databases that aren't needed
`Remove test database and access to it? [Y/n] Y`
Clears and sets all the changes made
`Reload privilege tables now? [Y/n] Y`
All done! If you've completed all of the above steps, your MariaDB installation should now be secure.
#### Adding MariaDB user
To add your first user to the database, see our tutorial on [setting up MySQL](/tutorials/mysql_setup.md).
### Setup PHP
The default php-fpm configuration is fine to use and can be started and then enabled on the system using the
commands below.
```bash
systemctl enable php7.4-fpm
systemctl start php7.4-fpm
```
### Nginx
Please check our [tutorial](/tutorials/creating_ssl_certificates.md) on generating SSL certificates for more information.
#### SSL Configuration
<<< @/.snippets/webservers/nginx-php7.4.conf{5,11,26-27}
### Redis Setup
The default Redis install is perfectly fine for the panel. If you have Redis already in use you may want to look into
[running another Redis instance](https://community.pivotal.io/s/article/How-to-setup-and-run-multiple-Redis-server-instances-on-a-Linux-host).
## Installing the Panel
Excellent, we now have all of the required dependencies installed and configured. From here, follow the [official Panel installation documentation](/panel/getting_started.md#download-files).