amazon-linux-extrasにひっそりと追加されてた、「httpd_modules」

未実装だよ!ちゃんと中身が入ったらちゃんと書くよ!

httpd_modulesを発見

ある時、amazon-linux-extrasを見てみたら、httpd_modulesなるものが追加されているのに気が付きました。

[root@xxxxxxxxxxxx ~]# amazon-linux-extras list
  0  ansible2                 available  [ =2.4.2  =2.4.6 ]
  1  emacs                    available  [ =25.3 ]
  2  httpd_modules            available  [ =1.0 ]
  3  memcached1.5             available  [ =1.5.1 ]
  4  nginx1.12                available  [ =1.12.2 ]
  5  postgresql9.6            available  [ =9.6.6  =9.6.8 ]
  6  postgresql10             available  [ =10 ]
  7  python3                  available  [ =3.6.2 ]
  8  redis4.0                 available  [ =4.0.5  =4.0.10 ]
  9  R3.4                     available  [ =3.4.3 ]
 10  rust1                    available  \
        [ =1.22.1  =1.26.0  =1.26.1  =1.27.2 ]
 11  vim                      available  [ =8.0 ]
 12  golang1.9                available  [ =1.9.2 ]
 13  ruby2.4                  available  [ =2.4.2  =2.4.4 ]
 14  nano                     available  [ =2.9.1 ]
 15  php7.2                   available  \
        [ =7.2.0  =7.2.4  =7.2.5  =7.2.8 ]
 16  lamp-mariadb10.2-php7.2  available  \
        [ =10.2.10_7.2.0  =10.2.10_7.2.4  =10.2.10_7.2.5
          =10.2.10_7.2.8 ]
 17  libreoffice              available  [ =5.0.6.2_15 ]
 18  gimp                     available  [ =2.8.22 ]
 19  docker=latest            enabled    \
        [ =17.12.1  =18.03.1  =18.06.1 ]
 20  mate-desktop1.x          available  [ =1.19.0  =1.20.0 ]
 21  GraphicsMagick1.3        available  [ =1.3.29 ]
 22  tomcat8.5                available  [ =8.5.31  =8.5.32 ]
 23  epel                     available  [ =7.11 ]

これは!いろいろと足りてなかったモジュールたちが補完されるのか!

早速中身をチェックしてみようとしたところ・・・。

[root@xxxxxxxxxxxxxxx ~]# amazon-linux-extras info httpd_modules
[root@xxxxxxxxxxxxxxx ~]# 

・・・?

[root@xxxxxxxxxxxxxxx ~]# amazon-linux-extras install httpd_modules
Topic httpd_modules does not install packages automatically.
Use "repoquery --repoid=httpd_modules --query --all" to list packages.
  0  ansible2                 available  [ =2.4.2  =2.4.6 ]
  1  emacs                    available  [ =25.3 ]
  2  httpd_modules=latest     enabled    [ =1.0 ]
  3  memcached1.5             available  [ =1.5.1 ]
  4  nginx1.12                available  [ =1.12.2 ]
  5  postgresql9.6            available  [ =9.6.6  =9.6.8 ]
  6  postgresql10             available  [ =10 ]
  7  python3                  available  [ =3.6.2 ]
  8  redis4.0                 available  [ =4.0.5  =4.0.10 ]
  9  R3.4                     available  [ =3.4.3 ]
 10  rust1                    available  \
        [ =1.22.1  =1.26.0  =1.26.1  =1.27.2 ]
 11  vim                      available  [ =8.0 ]
 12  golang1.9                available  [ =1.9.2 ]
 13  ruby2.4                  available  [ =2.4.2  =2.4.4 ]
 14  nano                     available  [ =2.9.1 ]
 15  php7.2                   available  \
        [ =7.2.0  =7.2.4  =7.2.5  =7.2.8 ]
 16  lamp-mariadb10.2-php7.2  available  \
        [ =10.2.10_7.2.0  =10.2.10_7.2.4  =10.2.10_7.2.5
          =10.2.10_7.2.8 ]
 17  libreoffice              available  [ =5.0.6.2_15 ]
 18  gimp                     available  [ =2.8.22 ]
 19  docker=latest            enabled    \
        [ =17.12.1  =18.03.1  =18.06.1 ]
 20  mate-desktop1.x          available  [ =1.19.0  =1.20.0 ]
 21  GraphicsMagick1.3        available  [ =1.3.29 ]
 22  tomcat8.5                available  [ =8.5.31  =8.5.32 ]
 23  epel                     available  [ =7.11 ]

enabledになったけどなにも入ってこない。中身みてみる。

[root@xxxxxxxxxxxxx ~]# vim /etc/yum.repos.d/amzn2-extras.repo
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[amzn2extra-httpd_5f_modules-source]
enabled = 0
name = Amazon Extras source repo for httpd_modules
mirrorlist = http://amazonlinux.$awsregion.$awsdomain/$releasever/extras/httpd_modules/latest/SRPMS/mirror.list
gpgcheck = 1
priority = 10

[amzn2extra-httpd_5f_modules-debuginfo]
enabled = 0
name = Amazon Extras debuginfo repo for httpd_modules
mirrorlist = http://amazonlinux.$awsregion.$awsdomain/$releasever/extras/httpd_modules/latest/debuginfo/$basearch/mirror.list
gpgcheck = 1
priority = 10

[amzn2extra-httpd_5f_modules]
enabled = 1
name = Amazon Extras repo for httpd_modules
mirrorlist = http://amazonlinux.$awsregion.$awsdomain/$releasever/extras/httpd_modules/latest/$basearch/mirror.list
gpgcheck = 1
priority = 10

前提で何か入れろってことかと思ったけど、試しにlamp-mariadb10.2-php7.2で環境整えても同じ結果。

多分まだ中身が来ていない。

来たら詳細は書いてこうと思います。