1
0
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:
Tommy 2021-11-01 21:32:08 -04:00 committed by GitHub
parent b4ac1bad97
commit d99b241b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -290,8 +290,6 @@ EOF
dnf config-manager --enable nginx-mainline dnf config-manager --enable nginx-mainline
fi fi
dnf config-manager --set-enabled remi dnf config-manager --set-enabled remi
dnf -y module enable php:remi-8.0
dnf -y module enable mariadb:10.5/server
dnf -y install tuned dnf -y install tuned
tuned-adm profile latency-performance tuned-adm profile latency-performance
dnf -y upgrade dnf -y upgrade
@ -307,13 +305,10 @@ install_dependencies(){
apt -y install php8.0 php8.0-{cli,gd,mysql,pdo,mbstring,tokenizer,bcmath,xml,fpm,curl,zip} nginx tar unzip git redis-server nginx git wget expect apt -y install php8.0 php8.0-{cli,gd,mysql,pdo,mbstring,tokenizer,bcmath,xml,fpm,curl,zip} nginx tar unzip git redis-server nginx git wget expect
sh -c "DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated mariadb-server" sh -c "DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated mariadb-server"
else else
if [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "rocky" ]; then dnf -y module install mariadb:10.5/server
dnf -y install MariaDB-server MariaDB-client --disablerepo=AppStream dnf -y module install php:remi-8.0
else dnf -y module install nginx
dnf -y install MariaDB-server dnf -y install redis git policycoreutils-python-utils unzip wget expect jq php-mysql php-zip php-bcmath tar
fi
dnf -y module install php:remi-8.0
dnf -y install redis nginx git policycoreutils-python-utils unzip wget expect jq php-mysql php-zip php-bcmath tar
fi fi
output "Enabling Services..." output "Enabling Services..."