From d99b241b70db1791b13c5d3f417b89c3f0366858 Mon Sep 17 00:00:00 2001 From: Tommy Date: Mon, 1 Nov 2021 21:32:08 -0400 Subject: [PATCH] Update install.sh --- install.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/install.sh b/install.sh index 9e179cb..c839723 100644 --- a/install.sh +++ b/install.sh @@ -290,8 +290,6 @@ EOF dnf config-manager --enable nginx-mainline fi 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 tuned-adm profile latency-performance 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 sh -c "DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated mariadb-server" else - if [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "rocky" ]; then - dnf -y install MariaDB-server MariaDB-client --disablerepo=AppStream - else - dnf -y install MariaDB-server - 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 + dnf -y module install mariadb:10.5/server + dnf -y module install php:remi-8.0 + dnf -y module install nginx + dnf -y install redis git policycoreutils-python-utils unzip wget expect jq php-mysql php-zip php-bcmath tar fi output "Enabling Services..."