1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-09-18 15:14:43 -04:00

Update MariaDB on CentOS/RHEL to 10.6

This commit is contained in:
TommyTran732 2021-09-26 00:18:25 -04:00
parent ee9d651671
commit f7b0f3ee30
No known key found for this signature in database
GPG Key ID: 8825C3851DC29C20

View File

@ -291,13 +291,14 @@ EOF
bash -c 'cat > /etc/yum.repos.d/mariadb.repo' <<-'EOF' bash -c 'cat > /etc/yum.repos.d/mariadb.repo' <<-'EOF'
[mariadb] [mariadb]
name = MariaDB name = MariaDB
baseurl = http://yum.mariadb.org/10.5/centos7-amd64 baseurl = http://yum.mariadb.org/10.6/centos8-amd64
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1 gpgcheck=1
EOF EOF
yum -y install epel-release yum -y install epel-release
yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm dnf -y install http://rpms.remirepo.net/enterprise/remi-release-8.rpm
yum -y install policycoreutils-python yum-utils libsemanage-devel yum -y install policycoreutils-python yum-utils libsemanage-devel
yum-config-manager --enable remi yum-config-manager --enable remi
yum-config-manager --enable remi-php80 yum-config-manager --enable remi-php80