How to install Linux, Apache, MariaDB, PHP (LAMP) on CentOS 7

In this tutorial we will show you how to install Linux, Apache, MySQL, PHP (LAMP) on CentOS 7 VPS.
What is LAMP?

The acronym LAMP refers to first letters of the four components of a solution stack, composed entirely of free and open-source software, suitable for building high-availability heavy-duty dynamic web sites, and capable of serving tens of thousands of requests simultaneously.