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:
parent
80a12f1ecc
commit
723278da21
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user