虚拟主机配置

mkdir –p /var/www/virtual

cd /var/www/ virtual

wget –O index.html vim /etc/httpd/conf/httpd.conf

documentroot /var/www/virtual

servername www5.example.com

useradd andy 

setfacl -m u:andy:rwx /var/www/virtual

su andy

touch /var/www/virtual/11.html

systemctl restart httpd && systemctl enable httpd