Skip to content

Commit

Permalink
add rhel5 install_nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Dec 14, 2012
1 parent 80970b3 commit 2df181b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rhel5/install_nginx
@@ -0,0 +1,8 @@
sudo yum install pcre pcre-devel
curl -O http://nginx.org/download/nginx-1.2.6.tar.gz
tar zxf nginx-1.2.6.tar.gz
cd nginx-1.2.6
./configure --with-http_ssl_module --with-http_realip_module --with-http_stub_status_module --with-http_gzip_static_module --with-file-aio
make
sudo make install
echo "Nginx has successed installed to /usr/local/nginx"

0 comments on commit 2df181b

Please sign in to comment.