cat /etc/redhat-release
Rocky Linux release 8.6 (Green Obsidian)
dnf install httpd
systemctl start httpd
systemctl enable httpd
Firewallの設定を行い80番ポートのアクセスを許可する
firewall-cmd --add-port=80/tcp --zone=public --permanent
firewall-cmd --reload
cat /etc/redhat-release
Rocky Linux release 8.6 (Green Obsidian)
dnf install httpd
systemctl start httpd
systemctl enable httpd
Firewallの設定を行い80番ポートのアクセスを許可する
firewall-cmd --add-port=80/tcp --zone=public --permanent
firewall-cmd --reload
コメント