1. Install the jdk6sudo add-Apt-repository "Deb http://archive.canonical.com/lucid partner" sudo apt-Get updatesudo apt-Get install sun-java6-jdk
Then you need to set the default JavaProgramSudo Update-alternatives -- config Java follow the prompts to enter the corresponding options, specify as JDK 6
2. Install Lamp
Sudo apt-Get install tasksel
Task tag group
Sudo tasksel install lamp-Server
During installation, MySQL requires a password for the account, which is irrelevant to the operating system.
3. Install phpMyAdmin
PhpMyAdmin is a good application for online MySQL management. You can install it like this:
Sudo apt-Get install phpMyAdmin
By default, it is stored in/etc/phpMyAdmin folder.
Add the following sentence to/etc/apache2/apache2.conf:
Include/etc/PHPmyAdmin/Apache. conf and restart the computer http: // 127.0.0.1/PHPmyAdmin/to access phpMyAdmin ~~