1、安装MySql server/client
sudo apt-get install mysql-server mysql-client
2、安装Apache2
sudo apt-get install apache2
3、测试
在任一浏览器地址栏中,输入 127.0.0.1,显示如下信息表示web服务器配置成功。
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
4、安装Php5
sudo apt-get install php5 libapache2-mod-php5
/etc/init.d/apache2 restart #安装完需要重启
参考自:
http://www.360doc.com/content/13/0418/10/9192936_279160252.shtml
http://blog.chinaunix.net/uid-26495963-id-3173291.html