A LAMP stack package is composed for hosting websites and apps. In this case, Apache, MySQL/MariaDB, and PHP packages are installed on the Linux system. PhpMyAdmin is a free and open source organization that manages MySQL and MariaDB databases. In this article, we will explain a fresh Install LAMP Stack with PhpMyAdmin in Ubuntu 18.04.1 LTS Bionic Beaver.
Follow the below Steps to Install LAMP Stack with PhpMyAdmin in Ubuntu 18.04.1 LTS:
To install LAMP Stack, the Ubuntu 18.04 server should be installed. It also requires access to the server via SSH and requires root user privileges or sudo commands to execute all the commands.
Install Apache Web Server:
To update the software packages first, use ‘sudo apt update‘ command.
$ sudo apt update
Now use the following command to install Apache Web Server.
$ sudo apt install apache2
Read More - https://www.itsmarttricks.com/install-lamp-stack-with-phpmyadmin-in-ubuntu-18-04-1/