mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-12-28 01:31:34 -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
|
||||
|
||||
# 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 dnf install -y nginx
|
||||
|
||||
@ -38,7 +38,7 @@ sudo dnf install -y nginx
|
||||
sudo dnf install -y certbot
|
||||
|
||||
# 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://rpms.remirepo.net/enterprise/remi-release-9.rpm
|
||||
sudo dnf module install -y php:remi-8.3/common
|
||||
@ -49,4 +49,4 @@ unpriv curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash
|
||||
sudo dnf install -y MariaDB-server
|
||||
|
||||
# Run NGINX Setup script
|
||||
unpriv curl -LsS https://raw.githubusercontent.com/TommyTran732/NGINX-Configs/main/setup.sh | sudo bash
|
||||
unpriv curl -LsS https://raw.githubusercontent.com/TommyTran732/NGINX-Configs/main/setup.sh | sudo bash
|
||||
|
Loading…
Reference in New Issue
Block a user