1. cd /etc/apache2/sites-available 2.vim 000-default.conf 3.修改路径 ServerAdmin webmaster@localhost DocumentRoot /var/www/html/iBook2.0(展示首页) 4.重启Apache service apache2 restart