#author("2018-01-20T16:41:27+09:00","","") **インストール [#rc98c9e8] # yum -y install httpd httpd-devel #region("ログ") 完了しました! #endregion **サービス起動 [#kb595dc8] # systemctl start httpd.service **サービス自動起動 [#c5b305ff] # systemctl enable httpd.service **firewall設定変更 [#zbc8e923] # firewall-cmd --zone=public --list-services ssh dhcpv6-client # firewall-cmd --zone=public --add-service=http --permanent # firewall-cmd --reload # firewall-cmd --zone=public --list-services ssh dhcpv6-client &color(red){http}; ---- **ドキュメントルート [#wb843e65] /var/www/html **設定ファイル [#dce30f35] /etc/httpd/conf/httpd.conf /etc/httpd/conf.d/以下にあるファイルも読み込まれる