关闭→
当前位置:科普经验站>IT科技>apache安装方法 apache安装与配置

apache安装方法 apache安装与配置

科普经验站 人气:2.1W

产品型号:Thinkpad E15

系统版本:centos8

apache安装方法:

通过yum安装并启动apache服务

[root@xuegod63 ~]# yum install -y httpd

[root@xuegod63 ~]# systemctl start httpd

[root@xuegod63 ~]# iptables -F  #清空防火墙

打开浏览器,访问虚拟机的IP地址:http://192.168.1.63/

 

apache安装与配置 apache安装方法

可以访问,成功,说明apache安装成功了。

总结:

1. yum install -y httpd

2. systemctl start httpd

TAG标签:#安装 #apache #配置 #