Easy LAMP + PHPMyAdmin Setup in minutes

If you use ubuntu and want to setup a quick LAMP server (actually just AMP as you should have Ubuntu installed already) with phpmyadmin then you are in for a treat. Try:

tasksel install lamp-server && apt-get install phpmyadmin


This will ask you for mysql root password, password for maintenance of mysql db, phpmyadmin web server (which would be apache2 in our case) and once the command finishes, you would be up and running.

Don’t forget to set Apache Server Name by:

echo "ServerName localhost" | sudo tee /etc/apache2/conf.d/fqdn

To remove LAMP stack and phpmyadmin you will have to remove:

apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 php5-common php5-mysql phpmyadmin

Some day i will post a detailed guide about LAMP + PHPMyAdmin + Git/SVN.

Tags: , , , , , , , ,

Leave a Comment