Http 伺服器架設

先前作業

  1. 使用super user

2.getenforce->Disabled

3.systemctl status firewalld —>inactive

4.netstat -tunlp | grep xxx 檢查開啟的port

5.rpm -qa | grep httpd

6.yum install httpd -y

7.systemctl status httpd

8.systemctl start httpd

9.netstat -tunlp | grep httpd

1.進入資料夾並創建檔案

Untitled

2.不同主機傳送HTML檔並開啟