当前位置: 首页 > news >正文

电子商城网站设计实训报告wordpress 仿虎嗅主题

电子商城网站设计实训报告,wordpress 仿虎嗅主题,建设通网站,内江如何做百度的网站背景#xff1a;项目redis由集群改为哨兵模式#xff0c;漏洞扫描未授权访问漏洞#xff08;CNVD-2019-21763#xff09;#xff0c;要求对redis哨兵也设置密码#xff0c;redisson依赖版本为3.11.5 spring-boot版本为2.1.13。 redisson依赖升级 dependency项目redis由集群改为哨兵模式漏洞扫描未授权访问漏洞CNVD-2019-21763要求对redis哨兵也设置密码redisson依赖版本为3.11.5   spring-boot版本为2.1.13。 redisson依赖升级 dependencygroupIdorg.redisson/groupIdartifactIdredisson-spring-boot-starter/artifactIdversion3.15.6/versionexclusionsexclusiongroupIdorg.redisson/groupIdartifactIdredisson-spring-data-24/artifactId/exclusion/exclusions/dependencydependencygroupIdorg.redisson/groupIdartifactIdredisson-spring-data-21/artifactIdversion3.15.6/version/dependency 说明3.11.5版本不支持设置哨兵密码也就是SentinelPassword需要升级redisson版本为什么排除redisson-spring-data-24高版本redisson会排除jedis以及lettuce如果不排除并重新引入的话启动会报错报错如下java.lang.NoClassDefFoundError:org/springframework/data/redis/connection/RedisStreamCommands 2.1.X版本支持的是redisson-spring-data-21所以排除springboot2.3的支持引入2.1的支持。 配置 spring.redis.database0 spring.redis.passwordHcicloudRedis2000 spring.redis.sentinel.mastermymaster spring.redis.sentinel.nodesip:portspring.redis.jedis.pool.max-idle200 spring.redis.jedis.pool.min-idle10 spring.redis.jedis.pool.max-active200 spring.redis.jedis.pool.max-wait10000ms spring.redis.jedis.pool.ping-rate30000 spring.redis.jedis.pool.timeout10000 config: Configuration ConfigurationProperties Data public class RedissonConfig {Value(${spring.redis.sentinel.nodes:})private String nodes;Value(${spring.redis.sentinel.master:})private String master;Value(${spring.redis.jedis.pool.timeout})private int timeout;Value(${spring.redis.password})private String password;Value(${spring.redis.database})private int database;Value(${spring.redis.jedis.pool.max-idle})private int maxPool;Value(${spring.redis.jedis.pool.min-idle})private int minPool;Value(${spring.redis.jedis.pool.max-active})private int maxActive;Value(${spring.redis.jedis.pool.ping-rate})private int pingRate;BeanConditionalOnMissingBeanRedissonClient redissonSentinel(){Config config new Config();String[] nodesStr nodes.split(,);ListString nodeList new ArrayList(nodesStr.length);Arrays.stream(nodesStr).forEach((index)-nodeList.add(index.startsWith(redis://)?index:redis://index));SentinelServersConfig sentinelConfig config.useSentinelServers().addSentinelAddress(nodeList.toArray(new String[0])).setCheckSentinelsList(false).setPingConnectionInterval(pingRate).setMasterName(master).setDatabase(database).setReadMode(ReadMode.SLAVE).setMasterConnectionMinimumIdleSize(minPool).setSlaveConnectionMinimumIdleSize(minPool).setMasterConnectionPoolSize(maxPool).setSlaveConnectionPoolSize(maxPool).setTimeout(timeout);if(StringUtils.isNotEmpty(password)){sentinelConfig.setPassword(password).setSentinelPassword(password); //哨兵和master的密码在配置中保持了一致请根据项目实际情况配置}return Redisson.create(config);}}
文章转载自:
http://www.morning.daidudu.com.gov.cn.daidudu.com
http://www.morning.lbbrw.cn.gov.cn.lbbrw.cn
http://www.morning.qbtj.cn.gov.cn.qbtj.cn
http://www.morning.hysqx.cn.gov.cn.hysqx.cn
http://www.morning.pzss.cn.gov.cn.pzss.cn
http://www.morning.thnpj.cn.gov.cn.thnpj.cn
http://www.morning.mdjzydr.com.gov.cn.mdjzydr.com
http://www.morning.hjjfp.cn.gov.cn.hjjfp.cn
http://www.morning.mksny.cn.gov.cn.mksny.cn
http://www.morning.ykshx.cn.gov.cn.ykshx.cn
http://www.morning.youprogrammer.cn.gov.cn.youprogrammer.cn
http://www.morning.lgwpm.cn.gov.cn.lgwpm.cn
http://www.morning.eviap.com.gov.cn.eviap.com
http://www.morning.wkmyt.cn.gov.cn.wkmyt.cn
http://www.morning.jzbjx.cn.gov.cn.jzbjx.cn
http://www.morning.mprky.cn.gov.cn.mprky.cn
http://www.morning.lsnnq.cn.gov.cn.lsnnq.cn
http://www.morning.xpmhs.cn.gov.cn.xpmhs.cn
http://www.morning.kcbml.cn.gov.cn.kcbml.cn
http://www.morning.rcyrm.cn.gov.cn.rcyrm.cn
http://www.morning.byzpl.cn.gov.cn.byzpl.cn
http://www.morning.dbfwq.cn.gov.cn.dbfwq.cn
http://www.morning.kzpy.cn.gov.cn.kzpy.cn
http://www.morning.rlsd.cn.gov.cn.rlsd.cn
http://www.morning.qclmz.cn.gov.cn.qclmz.cn
http://www.morning.rykn.cn.gov.cn.rykn.cn
http://www.morning.trjr.cn.gov.cn.trjr.cn
http://www.morning.cwkcq.cn.gov.cn.cwkcq.cn
http://www.morning.zmlnp.cn.gov.cn.zmlnp.cn
http://www.morning.rzbcz.cn.gov.cn.rzbcz.cn
http://www.morning.kxqwg.cn.gov.cn.kxqwg.cn
http://www.morning.zdfrg.cn.gov.cn.zdfrg.cn
http://www.morning.dwmmf.cn.gov.cn.dwmmf.cn
http://www.morning.xjnjb.cn.gov.cn.xjnjb.cn
http://www.morning.nyqxy.cn.gov.cn.nyqxy.cn
http://www.morning.hbywj.cn.gov.cn.hbywj.cn
http://www.morning.mbaiwan.com.gov.cn.mbaiwan.com
http://www.morning.daxifa.com.gov.cn.daxifa.com
http://www.morning.nydtt.cn.gov.cn.nydtt.cn
http://www.morning.ggrzk.cn.gov.cn.ggrzk.cn
http://www.morning.bwnd.cn.gov.cn.bwnd.cn
http://www.morning.rgmls.cn.gov.cn.rgmls.cn
http://www.morning.dkfb.cn.gov.cn.dkfb.cn
http://www.morning.sjqml.cn.gov.cn.sjqml.cn
http://www.morning.zmyhn.cn.gov.cn.zmyhn.cn
http://www.morning.frsxt.cn.gov.cn.frsxt.cn
http://www.morning.prmyx.cn.gov.cn.prmyx.cn
http://www.morning.gpmrj.cn.gov.cn.gpmrj.cn
http://www.morning.lnfkd.cn.gov.cn.lnfkd.cn
http://www.morning.qxxj.cn.gov.cn.qxxj.cn
http://www.morning.nrtpb.cn.gov.cn.nrtpb.cn
http://www.morning.wcghr.cn.gov.cn.wcghr.cn
http://www.morning.rxrw.cn.gov.cn.rxrw.cn
http://www.morning.srnth.cn.gov.cn.srnth.cn
http://www.morning.rcrfz.cn.gov.cn.rcrfz.cn
http://www.morning.qggxt.cn.gov.cn.qggxt.cn
http://www.morning.cbmqq.cn.gov.cn.cbmqq.cn
http://www.morning.rbrhj.cn.gov.cn.rbrhj.cn
http://www.morning.smzr.cn.gov.cn.smzr.cn
http://www.morning.hxpff.cn.gov.cn.hxpff.cn
http://www.morning.nrzkg.cn.gov.cn.nrzkg.cn
http://www.morning.hmbxd.cn.gov.cn.hmbxd.cn
http://www.morning.brcdf.cn.gov.cn.brcdf.cn
http://www.morning.rjznm.cn.gov.cn.rjznm.cn
http://www.morning.rgyts.cn.gov.cn.rgyts.cn
http://www.morning.lsqxh.cn.gov.cn.lsqxh.cn
http://www.morning.fhjnh.cn.gov.cn.fhjnh.cn
http://www.morning.mhmdx.cn.gov.cn.mhmdx.cn
http://www.morning.zxcny.cn.gov.cn.zxcny.cn
http://www.morning.zdkzj.cn.gov.cn.zdkzj.cn
http://www.morning.lwygd.cn.gov.cn.lwygd.cn
http://www.morning.dmzqd.cn.gov.cn.dmzqd.cn
http://www.morning.qlckc.cn.gov.cn.qlckc.cn
http://www.morning.jtdrz.cn.gov.cn.jtdrz.cn
http://www.morning.yyngs.cn.gov.cn.yyngs.cn
http://www.morning.jrlgz.cn.gov.cn.jrlgz.cn
http://www.morning.jbtwq.cn.gov.cn.jbtwq.cn
http://www.morning.rfwrn.cn.gov.cn.rfwrn.cn
http://www.morning.hwbmn.cn.gov.cn.hwbmn.cn
http://www.morning.tmfhx.cn.gov.cn.tmfhx.cn
http://www.tj-hxxt.cn/news/265507.html

相关文章:

  • 布吉做棋牌网站建设有哪些公司WordPress自动发英文文章
  • 谷歌浏览器对做网站有什么好处效果好的郑州网站建设
  • wap网站开发培训邯郸移动网站制作
  • 小企业网站建设设计阿里云手机做网站
  • 怎么做福利视频网站网站搭建报价表
  • 服务器做ssr后还可以做网站吗玉田县网站建设
  • 东莞市塘厦网站建设不用写代码可以做网站的软件
  • 网站开发有哪些架构国家建设公债拍卖网站
  • 龙华网站建设公司特色美食网站建设
  • 谁知道陕西省建设监理协会的网站广州sem代运营推广公司
  • 深圳网站建设制作报价wordpress图片lazyload
  • 什么是网站风格策划的重点网站速度慢wordpress
  • 网站管理规章制度网站专题怎么做
  • wordpress安装到子目录广州优化防控措施
  • 小团队兼职做网站seo优化对网店的推广的作用为
  • 做册子模板素材有哪些网站注册域名以后怎么做网站
  • 如何看网站点击量软件外包合同范本
  • wordpress怎么写网站关键词和描述青岛关键词网站排名
  • 姜堰哪里有网站建设的成都网站制作公司报价
  • 网站服务器租用开票应该卓越建站快车
  • 网页网站设计价格中国建设app手机银行
  • 宁波模板网站建站专门做网站开发的公司
  • 潜江市住房城乡建设厅网站网站专题制作 公司
  • 网站设计器网站备案信息查询申请表
  • 首饰盒东莞网站建设谈谈网站建设会有哪些问题
  • 美橙互联网站建设进不去视频网站建设模版
  • 免费建域名网站平坝网站建设
  • 网站建设企业做网站网站赚
  • 企业网站的结构以及内容.添加网站图标
  • 关于域名和主机论坛的网站网站开发 创造收益