This evening I really want to say 10 thousand million rough sentences. I did this lamp configuration one night, But I encountered permission issues and compilation problems. I am about to crash. Later, I searched for it on the search engine and finally found a very dummies configuration method:
First install lamp, a command:
Sudo apt-Get install apache2 PhP5 libapache2-mod-php5 mysql-server libapache2-mod-auth-mysql php5-mysql phpMyAdmin
(The above section allows you to install all the software you need !)
During this period, you are required to enter the root user password of the MySQL database, and select the server type [Apache] And phpMyAdmin.
Restart Apache after installation. Command: sudo/etc/init. d/apache2 restart
You also need to link the installed phpMyAdmin and run the command: ln-S/usr/share/phpMyAdmin under/var/www /.
Lamp has been installed.