mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-09 05:01:33 -05:00
Update install.sh
This commit is contained in:
parent
0dd4861955
commit
d523143230
@ -270,23 +270,22 @@ repositories_setup(){
|
|||||||
dnf -y module enable nginx:mainline/common
|
dnf -y module enable nginx:mainline/common
|
||||||
dnf -y module enable mariadb:14/server
|
dnf -y module enable mariadb:14/server
|
||||||
elif [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rocky" ]; then
|
elif [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rocky" ]; then
|
||||||
dnf -y install epel-release
|
dnf -y install epel-release dnf-utils
|
||||||
dnf -y install http://rpms.remirepo.net/enterprise/remi-release-8.rpm
|
dnf -y install http://rpms.remirepo.net/enterprise/remi-release-8.rpm
|
||||||
dnf config-manager --set-enabled remi
|
dnf config-manager --set-enabled remi
|
||||||
dnf -y module enable php:remi-8.0
|
dnf -y module enable php:remi-8.0
|
||||||
dnf -y module enable nginx:mainline/common
|
|
||||||
curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
|
curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
|
||||||
dnf config-manager --set-enabled mariadb
|
dnf config-manager --set-enabled mariadb
|
||||||
elif [ "$lsb_dist" = "rhel" ]; then
|
elif [ "$lsb_dist" = "rhel" ]; then
|
||||||
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
|
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
|
||||||
dnf -y install http://rpms.remirepo.net/enterprise/remi-release-8.rpm
|
dnf -y install http://rpms.remirepo.net/enterprise/remi-release-8.rpm
|
||||||
|
dnf -y install dnf-utils
|
||||||
dnf config-manager --set-enabled remi
|
dnf config-manager --set-enabled remi
|
||||||
dnf -y module enable php:remi-8.0
|
dnf -y module enable php:remi-8.0
|
||||||
dnf -y module enable nginx:mainline/common
|
|
||||||
curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
|
curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
|
||||||
dnf config-manager --set-enabled mariadb
|
dnf config-manager --set-enabled mariadb
|
||||||
fi
|
fi
|
||||||
dnf -y install yum-utils tuned
|
dnf -y install tuned
|
||||||
tuned-adm profile latency-performance
|
tuned-adm profile latency-performance
|
||||||
dnf -y upgrade
|
dnf -y upgrade
|
||||||
dnf -y autoremove
|
dnf -y autoremove
|
||||||
|
Loading…
Reference in New Issue
Block a user