はじめに
Application Stream(AppStream)を利用してRHEL8に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だと思われる。
それ以降に報告された脆弱性や不具合への対応は実施されない可能性がある。
LOG
インストール
# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.3 (Ootpa)
# 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
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.
Last metadata expiration check: 0:01:21 ago on Fri Nov 6 14:20:28 2020.
Modular dependency problem:
Problem: module php:7.2:820181215112050:76554e01-0.x86_64 requires module(nginx:1.14), but none of the providers can be installed
- module nginx:1.14:820181214004940:9edba152-0.x86_64 conflicts with module(nginx:1.18) provided by nginx:1.18:8030020200529144723:30b713e6-0.x86_64
- module nginx:1.18:8030020200529144723:30b713e6-0.x86_64 conflicts with module(nginx:1.14) provided by nginx:1.14:820181214004940:9edba152-0.x86_64
- module nginx:1.14:8000020190830002848:f8e95b4e-0.x86_64 conflicts with module(nginx:1.18) provided by nginx:1.18:8030020200529144723:30b713e6-0.x86_64
- module nginx:1.18:8030020200529144723:30b713e6-0.x86_64 conflicts with module(nginx:1.14) provided by nginx:1.14:8000020190830002848:f8e95b4e-0.x86_64
- conflicting requests
Name : nginx
Stream : 1.18 [e] [a]
Version : 8030020200529144723
Context : 30b713e6
Architecture : x86_64
Profiles : common [d] [i]
Default profiles : common
Repo : rhel-8-for-x86_64-appstream-rpms
Summary : nginx webserver
Description : nginx 1.18 webserver module
Requires : platform:[el8]
Artifacts : nginx-1:1.18.0-2.module+el8.3.0+6830+4321f41c.src
: nginx-1:1.18.0-2.module+el8.3.0+6830+4321f41c.x86_64
: nginx-all-modules-1:1.18.0-2.module+el8.3.0+6830+4321f41c.noarch
: nginx-debuginfo-1:1.18.0-2.module+el8.3.0+6830+4321f41c.x86_64
: nginx-debugsource-1:1.18.0-2.module+el8.3.0+6830+4321f41c.x86_64
: nginx-filesystem-1:1.18.0-2.module+el8.3.0+6830+4321f41c.noarch
: nginx-mod-http-image-filter-1:1.18.0-2.module+el8.3.0+6830+4321f41c.x86_64
: nginx-mod-http-image-filter-debuginfo-1:1.18.0-2.module+el8.3.0+6830+4321f41c.x86_64
: nginx-mod-http-perl-1:1.18.0-2.module+el8.3.0+6830+4321f41c.x86_64
: nginx-mod-http-perl-debuginfo-1:1.18.0-2.module+el8.3.0+6830+4321f41c.x86_64
: nginx-mod-http-xslt-filter-1:1.18.0-2.module+el8.3.0+6830+4321f41c.x86_64
: nginx-mod-http-xslt-filter-debuginfo-1:1.18.0-2.module+el8.3.0+6830+4321f41c.x86_64
: nginx-mod-mail-1:1.18.0-2.module+el8.3.0+6830+4321f41c.x86_64
: nginx-mod-mail-debuginfo-1:1.18.0-2.module+el8.3.0+6830+4321f41c.x86_64
: nginx-mod-stream-1:1.18.0-2.module+el8.3.0+6830+4321f41c.x86_64
: nginx-mod-stream-debuginfo-1:1.18.0-2.module+el8.3.0+6830+4321f41c.x86_64
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive