#mkdir/var/www/yum_repo
1, Nginx Installation:
Download the centosx version of RPM file in Http://nginx.org/en/linux_packages.html#stable
Copy the downloaded nginx-release-centos-5-0.el5.ngx.noarch.rpm to the Yum_repo directory
#rpm-UVH nginx-release-centos-5-0.el5.ngx.noarch.rpm
#yum Install Nginx
2. mysql Installation:
Download the centosx version of RPM file in http://dev.mysql.com/downloads/repo/yum/
Copy the downloaded mysql-community-release-el5-5.noarch.rpm to the Yum_repo directory
#rpm-UVH mysql-community-release-el5-5.noarch.rpm
#Yum install-y mysql-server MySQL mysql-deve
3, PHP Installation:
Under the/var/www/yum_repo:
Centos 5.X #rpm-UVH http://mirror.webtatic.com/yum/el5/latest.rpm
CentOs 6.x
#rpm-UVH http://mirror.webtatic.com/yum/el6/latest.rpm
CentOs 7.X
#rpm-UVH https://mirror.webtatic.com/yum/el7/epel-release.rpm
#rpm-UVH https://mirror.webtatic.com/yum/el7/webtatic-release.rpm run yum install#yum install php55w php55w-cli Php55w-common php55w-gd php55w-ldap php55w-mbstring php55w-mcrypt php55w-mysql php55w-pdo
Note: If you want to upgrade to 5.6 the above 55w to 56w on it.
Install PHP FPM
#yum Install PHP55W-FPM
Note: If you want to upgrade to 5.6 the above 55w to 56w on it.
Yum Installation Nginx+php+mysql