From 723278da21b5461095e1d5a359c0e0f6c2be27f9 Mon Sep 17 00:00:00 2001 From: Tommy Date: Thu, 1 Aug 2024 13:15:12 -0700 Subject: [PATCH] Update RHEL-9-LEMP.sh Signed-off-by: Tommy --- sample-scripts/RHEL-9-LEMP.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sample-scripts/RHEL-9-LEMP.sh b/sample-scripts/RHEL-9-LEMP.sh index 773dd42..5025e94 100644 --- a/sample-scripts/RHEL-9-LEMP.sh +++ b/sample-scripts/RHEL-9-LEMP.sh @@ -34,12 +34,14 @@ unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Script sudo chmod 644 /etc/yum.repos.d/nginx.repo sudo dnf install -y nginx +# Install EPEL +sudo subscription-manager repos --enable "codeready-builder-for-rhel-9-$(arch)-rpms" +sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm + # Install certbot sudo dnf install -y certbot python3-certbot-nginx # Install PHP -sudo subscription-manager repos --enable "codeready-builder-for-rhel-9-$(arch)-rpms" -sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm sudo dnf install -y https://rpms.remirepo.net/enterprise/remi-release-9.rpm sudo dnf module install -y php:remi-8.3/common sudo systemctl enable --now php-fpm