Open3
Amazon Linux 2023 で apache 起動
Amazon Linux 2 からの移行スクラップ。
install apache
dnf update -y
dnf upgrade -y
dnf install httpd
systemctl start httpd
systemctl enable httpd
disable selinux
getenforce
rpm -q grubby
grubby --update-kernel ALL --args selinux=0
reboot
getenforce
setting httpd
touch /var/www/html/index.html
chown apache:apache -R /var/www/html/
systemctl restart httpd