nginx添加jvmroute模块 linux下为nginx添加jvmroute模块的方法
人气:0想了解linux下为nginx添加jvmroute模块的方法的相关内容吗,在本文为您仔细讲解nginx添加jvmroute模块的相关知识和一些Code实例,欢迎阅读和指正,我们先划重点:nginx,jvmroute模块,下面大家一起来学习吧。
复制代码 代码如下:
cd /opt
wget http://nginx.org/download/nginx-1.2.8.tar.gz
tar zxvf /opt/nginx-1.2.8.tar.gz
wget https://nginx-upstream-jvm-route.googlecode.com/files/nginx-upstream-jvm-route-0.1.tar.gz
tar zxvf /opt/nginx_upstream_jvm_route
cd /opt/nginx-1.2.8
patch -p0 < /opt/nginx_upstream_jvm_route/jvm_route.patch
./configure --with-http_stub_status_module --prefix=/usr/webserver/nginx --with-pcre=/opt/pcre-8.32 --add-module=/opt/nginx_upstream_jvm_route
make
make install
加载全部内容