1安装apache
yum install httpd httpd-devel -y
2开启服务器
systemctl start httpd.service
3开机自启
systemctl enable httpd.service
4关闭防火墙
5端口访问
6修改vi /etc/httpd/conf/httpd.conf,替换
7查看selinux
也可以不修改,放入/var/www/html路径下
8访问(自己写个简单的html界面测试即可)
1安装apache
yum install httpd httpd-devel -y
2开启服务器
systemctl start httpd.service
3开机自启
systemctl enable httpd.service
4关闭防火墙
5端口访问
6修改vi /etc/httpd/conf/httpd.conf,替换
7查看selinux
也可以不修改,放入/var/www/html路径下
8访问(自己写个简单的html界面测试即可)