CentOS Stream8にhttpdをインストールする方法

OSバージョンの確認
# cat /etc/redhat-release
CentOS Stream release 8

1.httpdパッケージの確認
# dnf list | grep httpd

centos-logos-httpd.noarch                              82.0-2.el8                                        appstream
httpd.x86_64                                           2.4.37-30.module_el8.3.0+462+ba287492.0.1         appstream
httpd-devel.x86_64                                     2.4.37-30.module_el8.3.0+462+ba287492.0.1         appstream
httpd-filesystem.noarch                                2.4.37-30.module_el8.3.0+462+ba287492.0.1         appstream
httpd-manual.noarch                                    2.4.37-30.module_el8.3.0+462+ba287492.0.1         appstream
httpd-tools.x86_64                                     2.4.37-30.module_el8.3.0+462+ba287492.0.1         appstream
keycloak-httpd-client-install.noarch                   1.0-2.el8                                         appstream
libmicrohttpd.i686                                     1:0.9.59-2.el8                                    baseos
libmicrohttpd.x86_64                                   1:0.9.59-2.el8                                    baseos
python3-keycloak-httpd-client-install.noarch           1.0-2.el8

 

2.httpdパッケージのインストール
# dnf -y install httpd httpd-tools httpd-devel httpd-manual

3.httpdインストール後の確認
# dnf list installed | grep httpd

centos-logos-httpd.noarch                          82.0-2.el8                                    @appstream
httpd.x86_64                                       2.4.37-30.module_el8.3.0+462+ba287492.0.1     @appstream
httpd-devel.x86_64                                 2.4.37-30.module_el8.3.0+462+ba287492.0.1     @appstream
httpd-filesystem.noarch                            2.4.37-30.module_el8.3.0+462+ba287492.0.1     @appstream
httpd-manual.noarch                                2.4.37-30.module_el8.3.0+462+ba287492.0.1     @appstream
httpd-tools.x86_64                                 2.4.37-30.module_el8.3.0+462+ba287492.0.1     @appstream

 

CentOS

Posted by arkgame