Update system components yumupdate-y install required toolkit yum-yinstallgccgcc-c ++ autoconflibjpeglibjpeg-devellibpnglibpng-develfreetypefreetype-devellibxml2libxml2-develzlibzlib-
Update System components
Yum update-y
Install the required Toolkit
Yum-y install gcc-c ++ autoconf libjpeg-devel libpng-devel freetype-devel libxml2 libxml2-devel zlib-devel glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses- devel curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn-devel openssl-devel openldap-devel nss_ldap openldap-clients openldap-servers
Install nginx. because the listed sources do not have nginx, we need to download the nginx additional package.
Rpm-Uvh http://download.Fedora.RedHat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Yum-y install nginx
Chkconfig nginx on
Install php + mysql
Yum-y install php mysql-server mysql-devel php-mysql php-cgi php-mbstring php-gd php-fastcgi
Chkconfig mysqld on
Run the preceding command to install the lnmp environment. Upload website files