标签:nginx安装
yum –y install pcre pcre-devel
yum –y install openssl openssl-devel
yum –y install gcc
mkdir –p /home/nginx/tools
cd /home/nginx/tools
wget http://nginx.org/download/nginx-1.6.3.tar.gz
useradd nginx –s /sbin/nologin –M
tar xf nginx-1.6.3.tar.gz
cd nginx-1.6.3
./configure --user=nginx --group=nginx--prefix=/application/nginx --with-http_stub_status_module --with-http_ssl_module
make
make install
ln -s /application/nginx-1.6.3/application/nginx/
ls -l /application/nginx/
标签:nginx安装
原文地址:http://10553403.blog.51cto.com/10543403/1784932