Install Apache2, PHP5, MYSQL, phpmyadmin ON UBUNTU

Step 1 : Install Apache2
1.Use Synaptic Package Manager -> Apache2
2. sudo pico /etc/apache2/conf.d/fqdn
3. type :   ServerName    localhost(or IP)
------------------------------------------------------------
Step 2 : Install PHP5

1.Use Synaptic Package Manager -> PHP5
2. sudo a2enmod php5
3. sudo gedit /etc/php5/apache2/php.ini
4. Change the memory_limit to 256 or 512

------------------------------------------------------------
Step 3 : Install MYSQL
1. sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
------------------------------------------------------------
Step 4 : Install phpmyadmin
1.Use Synaptic Package Manager -> phpmyadmin
2. sudo gedit /etc/apache2/apache2.conf
3. type the following code at bottom page
Include /etc/phpmyadmin/apache.conf