1. sudo apt-get install apache2 apache
2 . cd /etc/apache2/sites-enabled/vim
3. sudo gvim 000-default.conf浏览器
4. 取消#ServerName www.example.com的注释rest
改成ServerName localhost:80 get
5. service apache2 restart # 或者是start it
6. 打开浏览器 OKservice