當前位置:生活全書館 >

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-hant/dianzi/r69ykp.html