當前位置:生活全書館 >

IT科技

> 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安裝成功了。

總結:

1. yum install -y httpd

2. systemctl start httpd

標籤: apache 安裝
  • 文章版權屬於文章作者所有,轉載請註明 https://shqsg.com/dianzi/1ewxp.html