1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-09 03:31:33 -05:00

Fix SC2046 for RHEL-9-LEMP.sh

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-07-26 07:47:43 -07:00 committed by GitHub
parent 9c52039286
commit 5a6e14ef9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,7 +30,7 @@ unpriv(){
sudo dnf remove hardened_malloc sudo dnf remove hardened_malloc
# Install NGINX # Install NGINX
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/yum.repos.d/nginx.repo | sudo tee /etc/yum.repos.d/nginx.repo unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/yum.repos.d/nginx.repo | sudo tee /etc/yum.repos.d/nginx.repo > /dev/null
sudo chmod 644 /etc/yum.repos.d/nginx.repo sudo chmod 644 /etc/yum.repos.d/nginx.repo
sudo dnf install -y nginx sudo dnf install -y nginx
@ -38,7 +38,7 @@ sudo dnf install -y nginx
sudo dnf install -y certbot sudo dnf install -y certbot
# Install PHP # Install PHP
sudo subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms 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://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 install -y https://rpms.remirepo.net/enterprise/remi-release-9.rpm
sudo dnf module install -y php:remi-8.3/common sudo dnf module install -y php:remi-8.3/common