Author: globaldj
Subjects: IT, Programming
datePublished:25 July 2018
Subjects: IT, Programming
datePublished:25 July 2018
How to install LAMP on Ubuntu?
LAMP stack is a group of open source software used to get web servers up and running. The acronym stands for Linux, Apache, MySQL, and PHP. Since the virtual private server is already running Ubuntu, the linux part is taken care of. Here is how to install the rest.
Install Apache2
sudo apt-get update
sudo apt-get install apache2
sudo apt-get install apache2
Install MYSQL
sudo apt-get install mysql-server
Install PHP
sudo apt install php libapache2-mod-php php-mysql
Restart apache so that all of the changes take effect:
sudo service apache2 restart