1 安裝
yum install -y httpd
2 配置網(wǎng)頁
echo "8001">/home/www/html1/index.html
echo "8002">/home/www/html2/index.html
echo "8003">/home/www/html3/index.html
web配置
3 主配置文件
配置端口
虛擬主機配置
4 啟動與測試
測試1
8001
測試2
8002
測試3
8003
1 安裝
yum install -y httpd
2 配置網(wǎng)頁
echo "8001">/home/www/html1/index.html
echo "8002">/home/www/html2/index.html
echo "8003">/home/www/html3/index.html
web配置
3 主配置文件
配置端口
虛擬主機配置
4 啟動與測試
測試1
8001
測試2
8002
測試3
8003