linux centOS7 安装apache

  在终端以root权限运行以下命令: yum install httpd -y 启动Apache systemctl start httpd 设置开机启动 systemctl enable httpd firewall设置允许远程登录: firewall-cmd --permanent --add-service=http systemctl restart firewalld 测试Apach
相关文章
相关标签/搜索