服务器技术

 首页 > 服务器技术 > nginx > linux下为nginx添加jvmroute模块的方法_nginx_自学php网

linux下为nginx添加jvmroute模块的方法_nginx_自学php网

分享到:
【字体:
导读:
          这篇文章主要介绍了linux下为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

分享到:
神器!最佳 Nginx 日志分析工具 GoAccess...
使用方法有两种,可以用 XShell 或 Putty 上去命令查看,也可以生成 html 报告。 下面介绍GoAccess 在 CentOS 上的安装方法: 1. 需要安装 GeoIP, ncurses, glib2, 一句搞定复制代码 代码如下:#yum -y install glib2 glib2-devel ncurses ncurses-devel GeoIP GeoIP-devel2. 下载 GoAccess 解压编译安装复制代码 代码如下:...
Nginx could not build the server_names...
在给nginx 配置了一个超长的域名后,通过 /usr/local/nginx/sbin/ngnix -t 检查配置文件时出现一下错误:复制代码 代码如下:could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32解决办法是在nginx的配置文件的http段中增加如下配置:复制代码 代码如下:server_names_hash_bucke...
  •         php迷,一个php技术的分享社区,专属您自己的技术摘抄本、收藏夹。
  • 在这里……