prce安装
首先yum安装gcc编译环境
yum -y install gcc gcc-c++
进入安装包文件
编译安装./configure
make && make install
四个依赖包要有
yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel
./configure
make && make install
cd /usr/local/nginx/sbin 启动nginx
ps -ef|grep nginx 查看启动
/usr/local/nginx/sbin/nginx -V 查看版本