安装Apache yum -y install httpd //安装 systemctl start httpd //启动 systemctl enable httpd //开机自启 systemctl stop firewalld //关闭防火墙 setenforce 0 httpd -v //查看版本 部署论坛系统discuz sed -ri '/^SELINUX=/cSELINUX=disabled' /etc/selinux/config setenforce 0 systemctl stop firewalld.service systemctl di