Monday, August 26, 2013

Easy Steps to Nginx Installation

Follow these Steps Blindly !

1. yum install svn pcre-devel openssl-devel zlib

2. cd /usr/local/src

3. wget
4. svn checkout nginx-upstream-jvm-route-read-only
5. tar -xzvf nginx..tar.gz

6. cd nginx.

7. patch -p0 < /path/to/nginx-upstream-jvm-route-read-only/jvm_route.patch

8. ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/ --lock-path=/var/run/nginx.lock --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_sub_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_gzip_static_module --with-http_ssl_module --with-debug --add-module=/usr/local/src/nginx-upstream-jvm-route-read-only/

9. make

10. make install

11. save this file to "/etc/init.d/nginx"

12. chmod ug+x /etc/init.d/nginx

1 comment:

  1. Tech support is made up of individuals who speak clear English and Web Hosting Hub provides jobs for American's, and they do it at a budget price. garcinia supplements


About Me

My photo
Greetings Friend! I am Linux scholar, trying to learn as much I can and share it with you. I am in mid of my Professional Career. Doing Good. :)