Ubuntu 11.10下安装Apache2 PHP5 MySQL
1.Installing MySQL 5
apt-get install mysql-server mysql-client
2.Installing Apache2
apt-get install apache2
3.Installing PHP5
apt-get install php5 libapache2-mod-php5
refer http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-11.10-lamp