参考:
http://jingyan.baidu.com/article/9158e0006581d1a2541228b5.html
下载完成yaaw-master并放在/var/www/目录下后
需要设置Apache2实现web访问
sudo vi /etc/apache2/apache2.conf
增加以下配置,主要是配置别名。。。
应该是这样的
# Global configuration
#为了防止最后开启apache2服务的时候会提示DNS出错
ServerName localhost
#默认目录
DirectoryIndex index.html index.htm index.php
#创建虚拟目录,创建名为yaaw的虚拟目录,它对应的物理路径是/var/www/yaaw-master
Alias /yaaw /var/www/yaaw-master