It is recommended that you enable the most restrictive profile that will still allow the traffic you’ve configured. Since we haven’t configured SSL for our server yet, in this guide, we will only need to allow traffic on port 80. However, we will still still allow all traffic.

5. Install phpMyAdmin

5.1 Install phpmyadmin

$ sudo apt-get update
$ sudo apt-get install phpmyadmin

When prompted to choose the web server that will be automatically configured to run phpmyadmin, just click the ‘tab’ key then ‘OK’ to continue. There is no need to configure any of the 2 options listed (apache2 and lighttpd).

When promopted to configure database for phpmyadmin with dbconfig-common, choose ‘No’ (the database was already installed in step 3 above).