Lamp Setup In Ubuntu
To install phpmyadmin in ubuntu follow as below
sudo apt-get install phpmyadmin
After installation open below config file
vi /etc/apache2/apache2.conf
Then add the following line to the end of the file.
Include /etc/phpmyadmin/apache.conf
Then restart apache
/etc/init.d/apache2 restart