nginx下载地址
http://nginx.org/en/download.html
安装nginx需要先安装依赖包:
yum -y install gcc-c++ pcre-devel zlib zlib-devel openssl-devel
2.yum源相关包及配置
http://docs.linuxtone.org/soft/repo/
3.php下载地址
http://www.php.net/releases/ 下载php版本,5.4以前的版本需要另外下载对应的php-fpm,和php放在同一目录下。
安装php需要先安装依赖包:libxml2-devel
yum -y install libxml2-devel
原文地址:http://summerflowers.blog.51cto.com/5202033/1708890