您的位置:首页 > 运维架构 > Nginx

linux下为nginx添加jvmroute模块的方法

2018-10-12 13:49 731 查看


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

您可能感兴趣的文章:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: