A LAMP (Linux, Apache, MySQL, PHP) stack is a common server setup used for hosting web content. This guide shows you how to setup a LAMP stack on a CentOS 7 server or virtual machine.
1. To begin please update your system:
sudo yum update;
2. To install the required packages run:
yum install httpd mariadb-server php php-pear php-mysql;