mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-12 09:21:59 -06:00
Update CentOS 7
This commit is contained in:
parent
83b2cec227
commit
85bda064ca
@ -1,15 +1,15 @@
|
|||||||
# CentOS 7
|
# CentOS 7
|
||||||
In this guide we will install Pterodactyl v0.7.X — including all of it's dependencies — and configure our webserver
|
In this guide we will install Pterodactyl v1.X — including all of it's dependencies — and configure our webserver
|
||||||
to serve it using SSL.
|
to serve it using SSL.
|
||||||
|
|
||||||
[[toc]]
|
[[toc]]
|
||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
This guide is based off the [official installation documentation](/panel/getting_started.md) but is tailored specifically for CentOS 7.
|
This guide is based off the [official installation documentation](/panel/1.0/getting_started.md) but is tailored specifically for CentOS 7.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## Install Requirements and Additional Utilities
|
## Install Requirements and Additional Utilities
|
||||||
We will install all of Pterodactyl's [required](/panel/getting_started.md#dependencies) dependencies and a few aditional utilities.
|
We will install all of Pterodactyl's [required](/panel/1.0/getting_started.md#dependencies) dependencies and a few aditional utilities.
|
||||||
|
|
||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
@ -25,11 +25,11 @@ yum install -y policycoreutils policycoreutils-python selinux-policy selinux-pol
|
|||||||
```bash
|
```bash
|
||||||
## Install Repos
|
## Install Repos
|
||||||
cat <<EOF > /etc/yum.repos.d/mariadb.repo
|
cat <<EOF > /etc/yum.repos.d/mariadb.repo
|
||||||
# MariaDB 10.2 CentOS repository list - created 2017-07-14 12:40 UTC
|
# MariaDB 10.5 CentOS repository list - created 2017-07-14 12:40 UTC
|
||||||
# http://downloads.mariadb.org/mariadb/repositories/
|
# http://downloads.mariadb.org/mariadb/repositories/
|
||||||
[mariadb]
|
[mariadb]
|
||||||
name = MariaDB
|
name = MariaDB
|
||||||
baseurl = http://yum.mariadb.org/10.2/centos7-amd64
|
baseurl = http://yum.mariadb.org/10.5/centos7-amd64
|
||||||
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
|
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
EOF
|
EOF
|
||||||
@ -37,7 +37,7 @@ EOF
|
|||||||
## Get yum updates
|
## Get yum updates
|
||||||
yum update -y
|
yum update -y
|
||||||
|
|
||||||
## Install MariaDB 10.2
|
## Install MariaDB 10.5
|
||||||
yum install -y MariaDB-common MariaDB-server
|
yum install -y MariaDB-common MariaDB-server
|
||||||
|
|
||||||
## Start maraidb
|
## Start maraidb
|
||||||
@ -45,7 +45,7 @@ systemctl start mariadb
|
|||||||
systemctl enable mariadb
|
systemctl enable mariadb
|
||||||
```
|
```
|
||||||
|
|
||||||
### PHP 7.3
|
### PHP 7.4
|
||||||
We recommend the remi repo to get the latest php packages.
|
We recommend the remi repo to get the latest php packages.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -53,12 +53,12 @@ We recommend the remi repo to get the latest php packages.
|
|||||||
yum install -y epel-release http://rpms.remirepo.net/enterprise/remi-release-7.rpm
|
yum install -y epel-release http://rpms.remirepo.net/enterprise/remi-release-7.rpm
|
||||||
yum install -y yum-utils
|
yum install -y yum-utils
|
||||||
yum-config-manager --disable remi-php54
|
yum-config-manager --disable remi-php54
|
||||||
yum-config-manager --enable remi-php73
|
yum-config-manager --enable remi-php74
|
||||||
|
|
||||||
## Get yum updates
|
## Get yum updates
|
||||||
yum update -y
|
yum update -y
|
||||||
|
|
||||||
## Install PHP 7.3
|
## Install PHP 7.4
|
||||||
yum install -y php php-common php-fpm php-cli php-json php-mysqlnd php-mcrypt php-gd php-mbstring php-pdo php-zip php-bcmath php-dom php-opcache
|
yum install -y php php-common php-fpm php-cli php-json php-mysqlnd php-mcrypt php-gd php-mbstring php-pdo php-zip php-bcmath php-dom php-opcache
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -152,4 +152,4 @@ The default Redis install is perfectly fine for the panel. If you have Redis alr
|
|||||||
[running another Redis instance](https://community.pivotal.io/s/article/How-to-setup-and-run-multiple-Redis-server-instances-on-a-Linux-host).
|
[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
|
## 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).
|
Excellent, we now have all of the required dependencies installed and configured. From here, follow the [official Panel installation documentation](/panel/1.0/getting_started.md#download-files).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user