CentOS Stream9へApache HTTPD SERVERとPHP 8.1をインストール

dnf update
reboot
firewall-cmd –add-port=80/tcp –permanent
firewall-cmd –add-port=443/tcp –permanent
firewall-cmd –remove-service=cockpit –permanent
firewall-cmd –remove-service=dhcpv6-client –permanent
firewall-cmd –reload
timedatectl set-timezone Asia/Tokyo

dnf -y install httpd-devel
dnf -y install mod_ssl

dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm
dnf module install php:remi-8.1

systemctl restart httpd

コメント

タイトルとURLをコピーしました