Nginx
Nginx部署
1 CentOS 6(yum源)
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
2 nginx-1.10.1.tar.gz
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