Hızlı NGINX Kurulumu

Merhaba,

php sürümü bağımlılıklar içersinde eski olduğu için kaldırıyoruz “https://access.redhat.com/solutions/6139612”

[root@localhost ~]# dnf module disable php

bize gerekeni yüklüyoruz

[root@localhost ~]# dnf module enable php:7.4

mevcutta olanı kaldırmadan yenisini kuramayız

[root@localhost ~]# dnf module reset nginx

mevcut sürümlerin içerisinden bize lazım olanı alıyoruz

[root@localhost ~]# dnf module list nginx
Oracle Linux 8 Application Stream (x86_64)
Name Stream Profiles Summary
nginx 1.14 [d] common [d] nginx webserver
nginx 1.16 common [d] nginx webserver
nginx 1.18 common [d] nginx webserver
nginx 1.20 common [d] nginx webserver
nginx 1.22 [e] common [d] nginx webserver

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

[root@localhost ~]# dnf module enable nginx:1.22

ve kurulumu tamamlıyoruz

dnf install nginx
systemctl enable nginx
systemctl start nginx
dnf list installed nginx # nginx.x86_64 1:1.22.1-1.module+el8.8.0+20355+6d9c8a63.1 @rhel-8-for-x86_64-appstream-rpms
curl localhost
..." <h1>Red Hat Enterprise Linux <strong>Test Page</strong></h1>"...

WordPress.com’da Blog Oluşturun.