赞
踩
wget -O /etc/yum.repos.d/CentOS-Base.repo http://files.tttidc.com/centos6/Centos-6.repo
wget -O /etc/yum.repos.d/epel.repo http://files.tttidc.com/centos6/epel-6.repo
yum makecache
yum -y install gcc zlib zlib-devel pcre pcre-devel openssl openssl-devel
wget http://nginx.org/download/nginx-1.10.1.tar.gz
tar -zxvf nginx-1.10.1.tar.gz
cd nginx-1.10.1
在 nginx-1.10.1 目录下执行configure配置进行编译
./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。