[code language=”bash”]
# Apacheを起動
systemctl start httpd
# Apacheの自動起動を有効化
systemctl enable httpd
# ファイヤーウォールの設定を見る
firewall-cmd –list-all
# httpの通信を有効化する
firewall-cmd –add-service=http –zone=public
[/code]
[code language=”bash”]
# Apacheを起動
systemctl start httpd
# Apacheの自動起動を有効化
systemctl enable httpd
# ファイヤーウォールの設定を見る
firewall-cmd –list-all
# httpの通信を有効化する
firewall-cmd –add-service=http –zone=public
[/code]