This short guide demonstrates how to install Apache, PHP, MySQL as LAMP server on Ubuntu Linux.
sudo apt-get install mysql-server mysql-client apache2 install php5 libapache2-mod-php5
sudo apt-get install php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
sudo /etc/init.d/apache2 restart
Tools which can be installed are phpMyAdmin and MySQL Workbench:
sudo add-apt-repository ppa:olivier-berten/misc
sudo apt-get update
sudo apt-get install mysql-workbench-gpl phpmyadmin