.png)
CentOS 8에 Nginx 1.18 설치(AppStream)
소개
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
# 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