HTTP服務搭建(二)

項目使用Apache服務器部署靜態網站 環境:關閉防火牆,關閉SeLinux(Rhel7.2) 這裏僅爲測試,沒有添加開機項(開機啓動爲:systemctl start httpd;systemctl enable httpd) systemctl stop firewalld setenforce 0 重點:默認的網站數據是存放在/var/www/html目錄中的,首頁名稱是index.html
相關文章
相關標籤/搜索