I'm trying to install phpmyadmin on my new server, following this guide:
apt-get install phpmyadmin
service apache2 restart
If you are sure that you do have lamp-stack just open up your terminal and type edit
and paste the following at the end of file
You can also visit https://help.ubuntu.com/community/phpMyAdmin for more details.