(A little complex article, but works very fine after installing LA of LAMP : https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04)
(Easier article : https://www.tecmint.com/install-lamp-with-phpmyadmin-in-ubuntu-18-04/)
Setting up the L:Linux
we are assuming you are on a linux machine. Although it would be good,if you have an ssh
with you and have set up the machine to act as server with one of the firewalls.
More details Here