一、安装Apache2
apt-get install apache2
打开 http://localhost/
提示成功
二、安装PHP5
apt-get install php5
apt-get install libapache2-mod-php5
/etc/init.d/apache2 restart
在/var/www/中编写测试文件test.php
<?php phpinfo(); ?>
打开 http://localhost/test.php
显示页面表示成功
三、安装MySql
apt-get install mysql-server
四、安装MYSQL Administrator
apt-get install mysql-admin
五、安装MYSQL for Apache HTTP Server
apt-get install libapache2-mod-auth-mysql
apt-get install php5-mysql
apt-get install phpmyadmin