RHEL 8にRedis 6をインストール（AppStream）

# はじめに

Application Stream(AppStream)を利用してRHEL8にRedis 6をインストール
参考：[RHEL8のパッケージ構成 - BaseOSとApplication Stream - 赤帽エンジニアブログ]( https://rheb.hatenablog.com/entry/rhel8_baseos_and_appstream)
　　　[第4章 新機能 Red Hat Enterprise Linux 8 \| Red Hat Customer Portal](https://access.redhat.com/documentation/ja-jp/red_hat_enterprise_linux/8/html/8.3_release_notes/new-features#enhancement_dynamic-programming-languages-web-and-database-servers)

## サポート

本手法で導入した場合、[Red Hat Enterprise Linux 8 Application Streams Life Cycle - Red Hat Customer Portal](https://access.redhat.com/node/4079021)より、2024-05がEOLだと思われる。
それ以降に報告された脆弱性や不具合への対応は実施されない可能性がある。

## LOG

### インストール

```shell-session
# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.4 (Ootpa)

# yum module list redis
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.
Last metadata expiration check: 0:10:31 ago on Wed May 19 11:30:09 2021.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
Name                                      Stream                                    Profiles                                      Summary
redis                                     5 [d]                                     common [d]                                    Redis persistent key-value database
redis                                     6

# yum module install redis:6
... 略
```

### 各種確認

```shell-session
# which redis-server
/usr/bin/redis-server

# redis-server -v
Redis server v=6.0.9 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=e874f7259751a389

# yum module info redis:6
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.
Last metadata expiration check: 0:13:16 ago on Wed May 19 11:30:09 2021.
Name             : redis
Stream           : 6 [e] [a]
Version          : 8040020201124072123
Context          : 9f9e2e7e
Architecture     : x86_64
Profiles         : common [d] [i]
Default profiles : common
Repo             : rhel-8-for-x86_64-appstream-rpms
Summary          : Redis persistent key-value database
Description      : redis 6 module
Requires         : platform:[el8]
Artifacts        : redis-0:6.0.9-2.module+el8.4.0+8841+0218d86b.src
                 : redis-0:6.0.9-2.module+el8.4.0+8841+0218d86b.x86_64
                 : redis-debuginfo-0:6.0.9-2.module+el8.4.0+8841+0218d86b.x86_64
                 : redis-debugsource-0:6.0.9-2.module+el8.4.0+8841+0218d86b.x86_64
                 : redis-devel-0:6.0.9-2.module+el8.4.0+8841+0218d86b.x86_64
                 : redis-doc-0:6.0.9-2.module+el8.4.0+8841+0218d86b.noarch

Name             : redis
Stream           : 6 [e] [a]
Version          : 8040020210512055424
Context          : 522a0ee4
Architecture     : x86_64
Profiles         : common [d] [i]
Default profiles : common
Repo             : rhel-8-for-x86_64-appstream-rpms
Summary          : Redis persistent key-value database
Description      : redis 6 module
Requires         : platform:[el8]
Artifacts        : redis-0:6.0.9-3.module+el8.4.0+10984+ed187465.src
                 : redis-0:6.0.9-3.module+el8.4.0+10984+ed187465.x86_64
                 : redis-debuginfo-0:6.0.9-3.module+el8.4.0+10984+ed187465.x86_64
                 : redis-debugsource-0:6.0.9-3.module+el8.4.0+10984+ed187465.x86_64
                 : redis-devel-0:6.0.9-3.module+el8.4.0+10984+ed187465.x86_64
                 : redis-doc-0:6.0.9-3.module+el8.4.0+10984+ed187465.noarch

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