1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-12-21 22:31:59 -05:00

Update RHEL-9-LEMP.sh

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-08-01 13:15:12 -07:00 committed by GitHub
parent 80a12f1ecc
commit 723278da21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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