mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-22 18:41:32 -05:00
Update install.sh
This commit is contained in:
parent
6f7e5ebb93
commit
0dd4861955
13
install.sh
13
install.sh
@ -270,7 +270,7 @@ 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 boost-program-options
|
dnf -y install epel-release
|
||||||
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
|
||||||
@ -279,7 +279,6 @@ repositories_setup(){
|
|||||||
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 boost-program-options
|
|
||||||
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
|
||||||
@ -287,12 +286,12 @@ repositories_setup(){
|
|||||||
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
|
||||||
yum -y install yum-utils tuned
|
dnf -y install yum-utils tuned
|
||||||
tuned-adm profile latency-performance
|
tuned-adm profile latency-performance
|
||||||
yum -y upgrade
|
dnf -y upgrade
|
||||||
yum -y autoremove
|
dnf -y autoremove
|
||||||
yum -y clean packages
|
dnf -y clean packages
|
||||||
yum -y install curl bind-utils cronie
|
dnf -y install curl bind-utils cronie
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user