インストール

# yum -y install httpd httpd-devel

サービス起動

# systemctl start httpd.service

サービス自動起動

# systemctl enable httpd.service

firewall設定変更

# 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 http


ドキュメントルート

/var/www/html

設定ファイル

/etc/httpd/conf/httpd.conf

※/etc/httpd/conf.d/以下にあるファイルも読み込まれる


添付ファイル: fileyum-apache.txt 881件 [詳細]

トップ   編集 凍結解除 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2018-01-26 (金) 11:46:13 (2275d)