摘要: LAMP(Ubuntu)环境配置 ubuntu下架构LAMP环境一、安装apache1. 命令:$sudo apt-get install apache2然后运行apache服务器命令:$sudo /etc/init.d/apache2 restart apache默认的开发文档的根目录是/var/www/,只要在浏览器中输入http://localhost/就能看到it works字样,否则安装出现问题,或则www 文件夹下没有index.html文件2. 配置apache终端使用命令打开配置文件apache2.conf $sudo gedit /etc/apache2/apache2.c. 阅读全文
posted @ 2013-03-28 21:18 boyz 阅读(308) 评论(0) 推荐(1) 编辑