Navigate to the Apache document root at /var/www/html.
$ cd /var/www/html
Select a source package for the latest phpMyAdmin release from https://www.phpmyadmin.net/downloads. To download the file directly to your instance, copy the link and paste it into a wget command, as in this example:
Delete the phpMyAdmin-latest-all-languages.tar.gz tarball.
$ rm phpMyAdmin-latest-all-languages.tar.gz
(Optional) If the MySQL server is not running, start it now.
$ sudo service mysqld start
In a web browser, type the URL of your phpMyAdmin installation. This URL is the public DNS address (or the public IP address) of your instance followed by a forward slash and the name of your installation directory. For example:
http://my.public.dns.amazonaws.com/phpMyAdmin