Installing CentOS (6.X or 7.X):
Begin by downloading the LNMP package and completing the installation.
wget http://soft.vpser.net/lnmp/lnmp1.5.tar.gz -cO lnmp1.5.tar.gz && tar zxf lnmp1.5.tar.gz && cd lnmp1.5 && ./install.sh lnmp
If the wget command is not found, you can install it first by using the following:
yum install wget
During the LNMP installation, you have the option to select the MySQL version: