当前位置:生活全书馆 >

IT科技

> apache安装方法 apache安装与配置

apache安装方法 apache安装与配置

产品型号: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

标签: apache 配置 安装
  • 文章版权属于文章作者所有,转载请注明 https://shqsg.com/zh-hans/dianzi/r69ykp.html