centos-8-安装
更改密码 :
sudo passwd
我以root身份登录:
更新 :
yum update
安装Apache:
dnf install httpd
安装防火墙:
dnf install httpd
启动防火墙:
systemctl enable firewalld --now
允许http和https服务:
firewall-cmd --permanent --add-service=http
firewall-cmd --permanent --add-service=https
firewall-cmd --reload
启动Apache:
systemctl enable httpd --now
->我检查是否有网页转到
启用EPEL和Remi存储库:
dnf install -y https://dl.fedoraproject.org/