1.yum安装http
[root@localhost ~]# yum install httpd -y
2.启动http服务
[root@localhost ~]# systemctl start httpd.service
3.输入ip地址即可访问
1.yum安装http
[root@localhost ~]# yum install httpd -y
2.启动http服务
[root@localhost ~]# systemctl start httpd.service
3.输入ip地址即可访问