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:
parent
9c52039286
commit
5a6e14ef9f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user