はじめに
Application Stream(AppStream)を利用してCentOS8にNginx 1.18をインストール
参考:RHEL8のパッケージ構成 - BaseOSとApplication Stream - 赤帽エンジニアブログ
第4章 新機能 Red Hat Enterprise Linux 8 | Red Hat Customer Portal
サポート
本手法で導入した場合、Red Hat Enterprise Linux 8 Application Streams Life Cycle - Red Hat Customer Portalより、2022-11がEOLだと思われる。
それ以降に報告された脆弱性や不具合への対応は実施されない可能性がある。
なおCentOS Linux 8が2021-12にEOLを迎えるため、それ以降の更新を受けるためにはCentOS Stream8を含めた他ディストリビューションへの移行が必要。
LOG
インストール
# cat /etc/redhat-release
CentOS Linux release 8.3.2011
# yum module install nginx:1.18
... 略
各種確認
# which nginx
/usr/sbin/nginx
# nginx -v
nginx version: nginx/1.18.0
# yum module info nginx:1.18
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:01:26 ago on Tue Dec 8 11:01:21 2020.
Name : nginx
Stream : 1.18 [e] [a]
Version : 8030020200722172754
Context : 30b713e6
Architecture : x86_64
Profiles : common [d] [i]
Default profiles : common
Repo : appstream
Summary : nginx webserver
Description : nginx 1.18 webserver module
Requires : platform:[el8]
Artifacts : nginx-1:1.18.0-2.module_el8.3.0+430+f2605aab.src
: nginx-1:1.18.0-2.module_el8.3.0+430+f2605aab.x86_64
: nginx-all-modules-1:1.18.0-2.module_el8.3.0+430+f2605aab.noarch
: nginx-debuginfo-1:1.18.0-2.module_el8.3.0+430+f2605aab.x86_64
: nginx-debugsource-1:1.18.0-2.module_el8.3.0+430+f2605aab.x86_64
: nginx-filesystem-1:1.18.0-2.module_el8.3.0+430+f2605aab.noarch
: nginx-mod-http-image-filter-1:1.18.0-2.module_el8.3.0+430+f2605aab.x86_64
: nginx-mod-http-image-filter-debuginfo-1:1.18.0-2.module_el8.3.0+430+f2605aab.x86_64
: nginx-mod-http-perl-1:1.18.0-2.module_el8.3.0+430+f2605aab.x86_64
: nginx-mod-http-perl-debuginfo-1:1.18.0-2.module_el8.3.0+430+f2605aab.x86_64
: nginx-mod-http-xslt-filter-1:1.18.0-2.module_el8.3.0+430+f2605aab.x86_64
: nginx-mod-http-xslt-filter-debuginfo-1:1.18.0-2.module_el8.3.0+430+f2605aab.x86_64
: nginx-mod-mail-1:1.18.0-2.module_el8.3.0+430+f2605aab.x86_64
: nginx-mod-mail-debuginfo-1:1.18.0-2.module_el8.3.0+430+f2605aab.x86_64
: nginx-mod-stream-1:1.18.0-2.module_el8.3.0+430+f2605aab.x86_64
: nginx-mod-stream-debuginfo-1:1.18.0-2.module_el8.3.0+430+f2605aab.x86_64
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive