1. Installation is not necessary to say, even the system can not be installed, simply laid off
2.APACHE2 Installation
// install sudo apt-get Install Apache2
After Apache installation is complete, the default Web site root directory is "/var/www/html", enter "ls/var/www/html" in the terminal window, and enter the "index.html" file in the root directory of the Web site, in IE browser "127.0.0.1"--Enter to open the page.
Attention:
The path to the first configuration file for Apache apache2.conf
In the terminal window, enter "Ls/etc/apache2"----and a "apache2.conf" configuration file.
The path to Apache's second configuration file 000-default.conf
In the terminal window, enter "ls/etc/apache2/sites-available"----and a "000-default.conf" configuration file.
sudo/etc/init.d//etc/init.d//etc/init.d/apache2 Restart
3. Installing PHP5
sudo apt-get install Php5sudo apt-get install libapache2-mod-php5 (according to my actual test, this step does not seem to be done, The previous step has been installed, but it is recommended that you copy//etc/init.d//var/www/testphp.php
4. Install MySQL
sudo apt-get install Mysql-server mysql-client
Then enter the password (OK)
Let Apache support MySQL
Open "Terminal Window", enter "sudo apt-get install Libapache2-mod-auth-mysql"----the installation is successful, Apache will support MySQL after installing this module.
Let PHP support MySQL
Open "Terminal Window", enter "sudo apt-get install Php5-mysql"----the installation is successful, PHP will support MySQL after installing this module.
Log in to MySQL
Open terminal window, enter "Mysql-u root-p" and enter the password for the "root" user in MySQL----and the login is successful.
5. Installing phpMyAdmin
Ubuntu installation and Web server configuration