[網絡安全學習篇附]:CentOS7 安裝httpd服務

CentOS7 安裝httpd服務

1、配置網絡

我的網卡ens33.

vi /etc/sysconfig/network-scripts/ifcfg-ens33

 安裝httpd服務

 yum install httpd -y

 開啓httpd服務

systemctl start httpd.service

查看80端口是否開啓

netstat -antpl

關閉防火牆

systemctl stop firewalld

測試:

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章