Permalink
Browse files

add rhel5 install_nginx

  • Loading branch information...
1 parent 80970b3 commit 2df181b15a95d8d805a488ec1f0e9b9187b48852 @huacnlee committed Dec 14, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 rhel5/install_nginx
View
@@ -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.