在RockyLinux 8上安装Nginx 1.20(AppStream)
首先
利用Application Stream(AppStream)在RockyLinux8上安裝Nginx1.20
原文:Nginx的各種安裝方法和EOL總結
支援 (zhī
如果采用这种方法引入,根据Red Hat企业Linux应用程序流生命周期-Red Hat客户门户的消息,预计2023年11月将是EOL。
之后可能不会对报告的漏洞或问题进行处理。
登录
安装
# cat /etc/redhat-release
Rocky Linux release 8.8 (Green Obsidian)
# yum module list nginx
Last metadata expiration check: 0:00:03 ago on Fri Jul 7 04:36:43 2023.
Rocky Linux 8 - AppStream
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 common [d] nginx webserver
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
# yum install -y @nginx:1.20
... 略
各种确认 (Gè
# which nginx
/usr/sbin/nginx
# nginx -v
nginx version: nginx/1.20.1
# yum module info nginx:1.20
Last metadata expiration check: 0:00:33 ago on Fri Jul 7 04:44:31 2023.
Name : nginx
Stream : 1.20 [e] [a]
Version : 8060020220510152709
Context : d63f516d
Architecture : x86_64
Profiles : common [d] [i]
Default profiles : common
Repo : appstream
Summary : nginx webserver
Description : nginx 1.20 webserver module
Requires : platform:[el8]
Artifacts : nginx-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.src
: nginx-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64
: nginx-all-modules-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.noarch
: nginx-debuginfo-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64
: nginx-debugsource-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64
: nginx-filesystem-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.noarch
: nginx-mod-devel-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64
: nginx-mod-http-image-filter-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64
: nginx-mod-http-image-filter-debuginfo-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64
: nginx-mod-http-perl-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64
: nginx-mod-http-perl-debuginfo-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64
: nginx-mod-http-xslt-filter-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64
: nginx-mod-http-xslt-filter-debuginfo-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64
: nginx-mod-mail-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64
: nginx-mod-mail-debuginfo-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64
: nginx-mod-stream-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64
: nginx-mod-stream-debuginfo-1:1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive