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

  • A+
所属分类:Environment

省略步骤:

1:安装Redis;
2:配置ngxin反向代理;
3:JDK安装;
3:tomcat安装;

步骤:

1:下载软件:tomcat-redis-session-manager-master以及需要的web测试包(非必须);
2:将下载软件lib目录下的jar放到tomcat的lib目录下;
3:修改tomcat配置目录下的content.xml

验证:

软件下载:

jar包:http://pan.baidu.com/s/1o8RX9gA 密码:xbg5
测试web包:http://pan.baidu.com/s/1boX35uR 密码:br07

参考文档:
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

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: