原创 基於CentOS7搭建Apache 的web虛擬主機

一、使用yum -y install httpd-tools httpd-manual安裝http服務 創建目錄 mkdir /etc/httpd/vhosts.d,然後創建虛擬主機: Vi /etc/httpd/vhosts.d