读书人

Liunx 上 nginx+tomcat 集群建设

发布时间: 2012-07-16 15:45:00 作者: rapoo

Liunx 下 nginx+tomcat 集群建设

?

?

nginx 的安装 比apache的安装简单的多 ,我主要是参考 下面的这个 文章 安装的

?

?

http://www.jsprun.net/thread-16889-1-1.html

?

?

?

安装的时候保证 我 在 apache+tomcat2 集群中的两个tomcat 不动,吧apcache停了 使用nginx来替换apache来转发请求

?

?

目前有两个 遗留问题没有解决:

?

1. 在使用 apache 的时候 使用 http://117.32.232.93:9080/sso?可以直接跳转到index.jsp,

是因为 配置了

#首页
DirectoryIndex index.html index.jsp

?

使用 nginx 的时候也 配置了首页?

?

?index index.html index.htm index.jsp;#设定访问的默认首页地址

?

可是却不能 跳转到 Index.jsp

?

2. apache 在配置了性能日志 后可以 使用

?

http://117.32.232.93:9080/server-status? 查看性能日志

?

?

nginx 配置 了 性能日志后也可以使用

http://117.32.232.93:9080/NginxStatus? 查看性能日志? (没试验)

?

?

参考文章

?

?

nginx 安装

http://yafei.iteye.com/blog/637272
http://www.jsprun.net/thread-16889-1-1.html
http://ilexes.blog.51cto.com/705330/153949
http://running.iteye.com/blog/326873
http://hi.baidu.com/%CB%CE%B9%E2%BB%D41/blog/item/bee7c8ad9d610a004b36d6c8.html
http://edu.codepub.com/2009/1130/18320.php

http://blog.csdn.net/ctowoo/archive/2009/10/11/4625782.aspx

配置文件
http://developer.51cto.com/art/201003/191700.htm


Nginx+tomcat负载均衡session问题解决
http://jlsfwq.blog.51cto.com/818700/195879
http://talangniao.iteye.com/blog/341512
http://edu.codepub.com/2010/0202/20283.php


nginx 查看性能日志
http://hi.baidu.com/c1425/blog/item/d26c14da1aa9eb6ed1164e61.html
http://hi.baidu.com/c1425/blog/item/50e855f13f6016cb7831aa6c.html


整合问题解决

http://www.cahblog.com/?p=538

请求参数少?号
http://my.benorz.org/index.php/more/62

跳转问题

http://www.linux521.com/2009/system/200907/7385_4.html

?

?

?

?

?

读书人网 >操作系统

热点推荐