Nginx+Tomcat9+Redis基于session保持会话

省略步骤:

1:安装Redis;
2:配置ngxin反向代理;
3:JDK安装;
3:tomcat安装; 文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/environment/nginx-tomcat-redis-session/


步骤:文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/environment/nginx-tomcat-redis-session/

1:下载软件:tomcat-redis-session-manager-master以及需要的web测试包(非必须);
2:将下载软件lib目录下的jar放到tomcat的lib目录下;
3:修改tomcat配置目录下的content.xml 文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/environment/nginx-tomcat-redis-session/

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/environment/nginx-tomcat-redis-session/

验证:文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/environment/nginx-tomcat-redis-session/

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/environment/nginx-tomcat-redis-session/

软件下载:文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/environment/nginx-tomcat-redis-session/

jar包:http://pan.baidu.com/s/1o8RX9gA 密码:xbg5
测试web包:http://pan.baidu.com/s/1boX35uR 密码:br07文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/environment/nginx-tomcat-redis-session/

参考文档:
1:https://github.com/jcoleman/tomcat-redis-session-manager
2:http://www.cnblogs.com/interdrp/p/4868740.html
3:http://blog.csdn.net/eguid_1/article/details/52637969
4:https://github.com/ran-jit/TomcatClusterRedisSessionManager
5:http://www.cnblogs.com/nick-huang/p/5774711.html文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/environment/nginx-tomcat-redis-session/ 文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/environment/nginx-tomcat-redis-session/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!

 
Byrd
  • by Published onApril 3, 2018
  • 原文链接:https://note.t4x.org/environment/nginx-tomcat-redis-session/
匿名

Comment

Anonymous

Slide puzzle verification.