1. install Apache + PHP + MySql
System --> administration --> Synaptic Package Manager --> edit --> MARK packages by task --> lamp server --> OK
If it is a Chinese node, it is
System -- System Management -- New Software Package Manager-edit -- use task tag group software package --
Lamp server (check) -- return to the previous window and click application. At this time, the system will automatically download and install the lamp environment package, which will soon be completed, in addition, every time the system is upgraded, the lamp environment will be upgraded to the latest version. Click it. enter 127.0.0.1 in your browser and you will see it works! It indicates that Apach has started to work. At this time, you can look at some PHP programs under the var/WWW directory in the system file directory. As for PHP editing under Ubuntu, in fact, the editor is very easy to use with notepad. After all, they are all open-source and support better.
This is simple. Your lamp environment has been installed in this way. It is as simple as Wamp, but this is lamp. This may be the simplest installation method! Of course, there are also a few issues. You need to know how to set the permissions for the WWW directory. Otherwise, you cannot copy files to the WWW directory. Who makes Linux very secure! Well, you only need to use commands like chgrp chmod with the root permission to change it, but this frees you from the complicated Installation Process in the lamp environment. Do you think it is good?
2. 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
Restart your computer
Http: // 127.0.0.1/PHPmyAdmin/
You can enter phpMyAdmin ~~