This commit is contained in:
Dane Everitt 2020-11-08 15:35:43 -08:00
commit 670253bc85
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
18 changed files with 9654 additions and 243 deletions

View File

@ -83,15 +83,15 @@ module.exports = {
]
},
{
title: 'Daemon Installation',
title: 'Wings Installation',
collapsable: false,
children: [
'/community/installation-guides/daemon/centos7.md',
'/community/installation-guides/daemon/centos8.md',
'/community/installation-guides/daemon/debian9.md',
'/community/installation-guides/daemon/debian10.md',
'/community/installation-guides/daemon/ubuntu1804.md',
'/community/installation-guides/daemon/ubuntu2004.md',
'/community/installation-guides/wings/centos7.md',
'/community/installation-guides/wings/centos8.md',
'/community/installation-guides/wings/debian9.md',
'/community/installation-guides/wings/debian10.md',
'/community/installation-guides/wings/ubuntu1804.md',
'/community/installation-guides/wings/ubuntu2004.md',
]
},
{
@ -171,6 +171,7 @@ module.exports = {
'/installing',
'/upgrading',
'/migrating',
'/configuration',
]
}
]

View File

@ -1,47 +0,0 @@
# CentOS 7
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.
[[toc]]
::: tip
This guide is based off the [official installation documentation](/daemon/installing.md) but is tailored specifically for CentOS 7.
:::
## Install Requirements
We will first begin by installing all of the Daemon's [required](/daemon/installing.md#dependencies) dependencies.
### General Requirements
```bash
yum install -y tar unzip make gcc gcc-c++ python
```
### Docker
```bash
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install -y docker-ce
systemctl enable docker
systemctl start docker
```
### Nodejs
```bash
curl --silent --location https://rpm.nodesource.com/setup_10.x | bash -
yum install -y nodejs
```
### Server Ports
```bash
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](/daemon/installing.md#installing-daemon-software).

View File

@ -1,49 +0,0 @@
# Debian 10
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.
[[toc]]
::: tip
This guide is based off the [official installation documentation](/daemon/installing.md) but is tailored specifically for Debian 10.
:::
## 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 python-dev curl gnupg
```
### Docker
```bash
## install apt tools
apt install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common
## Import the docker gpg key
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
## Add the docker stable repo
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
## Install docker
apt update -y
apt install -y docker-ce
systemctl enable docker
systemctl start docker
```
### Nodejs
```bash
## Install nodejs repo
curl -sL https://deb.nodesource.com/setup_10.x | bash -
## Install nodejs
apt install -y nodejs
```
## Installing the Daemon
Great, now all of the dependencies have been dealt with. From here follow the [official Daemon installation documentation](/daemon/installing.md#installing-daemon-software).

View File

@ -1,49 +0,0 @@
# Debian 9
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.
[[toc]]
::: tip
This guide is based off the [official installation documentation](/daemon/installing.md) but is tailored specifically for Debian 9.
:::
## 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 python-dev curl gnupg
```
### Docker
```bash
## install apt tools
apt install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common
## Import the docker gpg key
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
## Add the docker stable repo
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
## Install docker
apt update -y
apt install -y docker-ce
systemctl enable docker
systemctl start docker
```
### Nodejs
```bash
## Install nodejs repo
curl -sL https://deb.nodesource.com/setup_10.x | bash -
## Install nodejs
apt install -y nodejs npm
```
## Installing the Daemon
Great, now all of the dependencies have been dealt with. From here follow the [official Daemon installation documentation](/daemon/installing.md#installing-daemon-software).

View File

@ -1,34 +0,0 @@
# Ubuntu 18.04
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.
[[toc]]
::: tip
This guide is based off the [official installation documentation](/daemon/installing.md) but is tailored specifically for Ubuntu 18.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

@ -1,34 +0,0 @@
# Ubuntu 20.04
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.
[[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,35 @@
# CentOS 7
In this guide we will install Pterodactyl's Wings v0.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](/wings/installing.md) but is tailored specifically for CentOS 7.
:::
## Install Requirements
We will first begin by installing all of Wings' [required](/wings/installing.md#dependencies) dependencies.
### Docker
```bash
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install -y docker-ce
systemctl enable docker
systemctl start docker
```
### Server Ports
```bash
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 Wings
Great, now all of the dependencies and firewall rules have been dealt with. From here follow the [official Wings installation documentation](/wings/installing.md#installing-wings-2).

View File

@ -1,21 +1,14 @@
# 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.
In this guide we will install Pterodactyl's Wings v0.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 CentOS 8.
This guide is based off the [official installation documentation](/wings/installing.md) but is tailored specifically for CentOS 8.
:::
## Install Requirements
We will first begin by installing all of the Daemon's [required](/daemon/installing.md#dependencies) dependencies.
### General Requirements
```bash
dnf install -y tar unzip make gcc gcc-c++ python2
alternatives --set python /usr/bin/python2
```
We will first begin by installing all of the Wings' [required](/wings/installing.md#dependencies) dependencies.
### Docker
@ -30,12 +23,6 @@ systemctl enable docker
systemctl start docker
```
### Nodejs
```bash
dnf install -y nodejs
```
### FirewallD changes
```bash
firewall-cmd --add-port 8080/tcp --permanent
@ -45,5 +32,5 @@ 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](/daemon/installing.md#installing-daemon-software).
## Installing the Wings
Great, now all of the dependencies and firewall rules have been dealt with. From here follow the [official Wings installation documentation](/wings/installing.md#installing-wings-2).

View File

@ -0,0 +1,34 @@
# Debian 10
In this guide we will install Pterodactyl's Wings v0.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](/wings/installing.md) but is tailored specifically for Debian 10.
:::
## Install Requirements
We will first begin by installing all of Wings' [required](/wings/installing.md#dependencies) dependencies.
### Docker
```bash
## install apt tools
apt install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common
## Import the docker gpg key
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
## Add the docker stable repo
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
## Install docker
apt update -y
apt install -y docker-ce
systemctl enable docker
systemctl start docker
```
## Installing the Wings
Great, now all of the dependencies have been dealt with. From here follow the [official Wings installation documentation](/wings/installing.md#installing-wings-2).

View File

@ -0,0 +1,34 @@
# Debian 9
In this guide we will install Pterodactyl's Wings v0.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](/wings/installing.md) but is tailored specifically for Debian 9.
:::
## Install Requirements
We will first begin by installing all of Wings' [required](/wings/installing.md#dependencies) dependencies.
### Docker
```bash
## install apt tools
apt install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common
## Import the docker gpg key
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
## Add the docker stable repo
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
## Install docker
apt update -y
apt install -y docker-ce
systemctl enable docker
systemctl start docker
```
## Installing the Wings
Great, now all of the dependencies have been dealt with. From here follow the [official Wings installation documentation](/wings/installing.md#installing-wings-2).

View File

@ -0,0 +1,23 @@
# Ubuntu 18.04
In this guide we will install Pterodactyl's Wings v0.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](/wings/installing.md) but is tailored specifically for Ubuntu 18.04.
:::
## Install Requirements
We will first begin by installing all of Wings' [required](/wings/installing.md#dependencies) dependencies.
### Docker
```bash
apt install -y docker.io
systemctl enable docker
systemctl start docker
```
## Installing the Wings
Great, now all of the dependencies and firewall rules have been dealt with. From here follow the [official Wings installation documentation](/wings/installing.md#installing-wings-2).

View File

@ -0,0 +1,23 @@
# Ubuntu 20.04
In this guide we will install Pterodactyl's Wings v0.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](/wings/installing.md) but is tailored specifically for Ubuntu 20.04.
:::
## Install Requirements
We will first begin by installing all of Wings' [required](/wings/installing.md#dependencies) dependencies.
### Docker
```bash
apt install -y docker.io
systemctl enable docker
systemctl start docker
```
## Installing the Wings
Great, now all of the dependencies and firewall rules have been dealt with. From here follow the [official Wings installation documentation](/wings/installing.md#installing-wings-2).

9440
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,7 @@
"autoprefixer": "^9.0.1",
"cssnano": "^4.0.3",
"lodash": "^4.17.13",
"postcss-import": "^12.0.0",
"postcss-import": "^12.0.1",
"precss": "^4.0.0",
"tailwindcss": "^1.0.0"
},

View File

@ -93,7 +93,16 @@ Now that all of the files have been downloaded we need to configure some core as
::: tip Database Configuration
You will need a database setup and a user with the correct permissions created for that database before
continuing any further. If you are unsure how to do this, please have a look at [Setting up MySQL](/tutorials/mysql_setup.html).
continuing any further. See below to quickly create a user and database for your Pterodactyl panel, if you are unsure how to do this or want more information, please have a look at [Setting up MySQL](/tutorials/mysql_setup.html).
```
$ mysql -u root -p
mysql> CREATE USER 'pterodactyl'@'localhost' IDENTIFIED WITH mysql_native_password BY 'A secure password';
mysql> CREATE DATABASE panel;
mysql> GRANT ALL ON panel.* TO 'pterodactyl'@'localhost' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
```
:::
First we will copy over our default environment settings file, install core dependencies, and then generate a

View File

@ -28,7 +28,7 @@ to `somePassword`.
USE mysql;
# Remember to change 'somePassword' below to be a unique password specific to this account.
CREATE USER 'pterodactyl'@'127.0.0.1' IDENTIFIED BY 'somePassword';
CREATE USER 'pterodactyl'@'127.0.0.1' IDENTIFIED WITH mysql_native_password BY 'somePassword';
```
### Create a database
@ -76,6 +76,13 @@ FLUSH PRIVILEGES;
### Allowing external database access
Chances are you'll need to allow external access to this MySQL instance in order to allow servers to connect to it. To do this, open `my.cnf`, which varies in location depending on your OS and how MySQL was installed.
Once opened, you'll want to change `bind-address=` to be `bind-address=0.0.0.0` which will allow connections on all interfaces, and thus, external connections.
More recent versions of MySQL have moved the default configuration to `mysql.conf.d/mysqld.cnf` or for MariaDB installations the default configuration should be in `50-server.cnf`. *However*, `my.cnf` has been changed to update the default configurations so you don't edit your default configuration files (this is now considered bad practice)!
If you open `my.cnf`, you'll want to add the lines:
```
[mysqld]
bind-address=0.0.0.0
```
This will override the default MySQL configuration, which by default will only accept requests from lo. Updating this will allow connections on all interfaces, and thus, external connections.
If your Node and Daemon are on the same machine, and you won't be needing external access, you can also use the `docker0` interface IP address, rather than `127.0.0.1`. This IP address can be found by running `ip addr | grep docker0`, and it likely looks something like `172.x.x.x`.

View File

@ -0,0 +1,31 @@
# Additional Configuration
[[toc]]
::: warning
These are advanced configurations for Wings. You risk breaking Wings and making containers unusable if
you configure something incorrectly. Proceed only if you know what each configuration value does.
:::
## Private Registries
These settings can be used to authenticate against (private) docker registries when pulling images.
### Available Keys
| Setting Key | Default Value | Notes |
|-------------|---------------|-------|
| name | null | Registry address |
| username | null | Registry username |
| password | null | Registry password |
### Usage Example
```yml
docker:
registries:
registry.example.com:
username: "registryusername"
password: "registrypassword"
```

View File

@ -5820,7 +5820,7 @@ postcss-image-set-function@^3.0.1:
postcss "^7.0.2"
postcss-values-parser "^2.0.0"
postcss-import@^12.0.0:
postcss-import@^12.0.1:
version "12.0.1"
resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-12.0.1.tgz#cf8c7ab0b5ccab5649024536e565f841928b7153"
integrity sha512-3Gti33dmCjyKBgimqGxL3vcV8w9+bsHwO5UrBawp796+jdardbcFl4RP5w/76BwNL7aGzpKstIfF9I+kdE8pTw==