2017年3月16日
摘要: 在使用spring boot做负载均衡的时候,多个app之间的session要保持一致,这样负载到不同的app时候,在一个app登录之后,而打到另外一台服务器的时候,session丢失。 常规的解决方案都是使用:如apache使用mod_jk.conf。 在开发spring boot app的时候可 阅读全文
posted @ 2017-03-16 20:03 肖建锋 阅读(492) 评论(0) 推荐(0) 编辑
摘要: http://mirror.neu.edu.cn/mysql/Downloads/MySQL-5.6/ 阅读全文
posted @ 2017-03-16 20:01 肖建锋 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 修改build.gradle compile ("org.quartz-scheduler:quartz:2.2.3") compile ("org.apache.shiro:shiro-quartz:${shiro}") { exclude group: "org.opensymphony.qua 阅读全文
posted @ 2017-03-16 20:01 肖建锋 阅读(3493) 评论(0) 推荐(0) 编辑
摘要: 下载 [root@localhost ~]# cd /usr/local/src/ [root@localhost src]# wget http://download.redis.io/releases/redis-3.2.6.tar.gz [root@localhost ~]# cd /usr/ 阅读全文
posted @ 2017-03-16 20:01 肖建锋 阅读(2008) 评论(0) 推荐(0) 编辑
摘要: 检查MySQL及相关RPM包,是否安装,如果有安装,则移除(rpm –e 名称) [root@localhost share]# rpm -qa | grep -i mysql MySQL-client-5.6.28-1.el6.x86_64 MySQL-devel-5.6.28-1.el6.x86 阅读全文
posted @ 2017-03-16 20:00 肖建锋 阅读(3879) 评论(0) 推荐(0) 编辑
摘要: 下载,安装 [root@localhost src]# cd /usr/local/src/ [root@localhost src]# wget http://dev.mysql.com/get/Downloads/MySQL-Router/mysql-router-2.0.3-linux-gli 阅读全文
posted @ 2017-03-16 19:59 肖建锋 阅读(2257) 评论(0) 推荐(0) 编辑
摘要: Master 192.168.59.128 Slave 192.168.59.129 默认认为已安装mysql5.6 mysql5.6 rpm安装配置 修改Master my.cnf文件 # For advice on how to change settings please see # http 阅读全文
posted @ 2017-03-16 19:59 肖建锋 阅读(213) 评论(0) 推荐(0) 编辑
摘要: input { file { codec => multiline { pattern => "^\[2016" negate => true what => previous } type => "log4j" path => "/usr/local/sof... 阅读全文
posted @ 2017-03-16 19:57 肖建锋 阅读(1799) 评论(0) 推荐(0) 编辑
摘要: org.mongodb mongo-java-driver 3.2.2 org.apache.commons commons-lang3 3.4 package com.teewoo.mongodb; import com.mongodb.BasicDBObject; import com.mongodb.BasicDBObjectBuilder; imp... 阅读全文
posted @ 2017-03-16 19:55 肖建锋 阅读(702) 评论(0) 推荐(0) 编辑
摘要: 修改配置文件 config/elasticsearch.yml network.host: 0.0.0.0 阅读全文
posted @ 2017-03-16 19:54 肖建锋 阅读(3654) 评论(0) 推荐(0) 编辑
摘要: Marvel 2.0+ Compatible with the latest versions of Elasticsearch and Kibana 阅读全文
posted @ 2017-03-16 19:53 肖建锋 阅读(456) 评论(0) 推荐(0) 编辑
摘要: 1 curl -XPUT http://114.215.171.188:9200/logstash-serverlog/_settings -d '{"index":{"max_result_window":10800}}' 阅读全文
posted @ 2017-03-16 19:52 肖建锋 阅读(2958) 评论(0) 推荐(0) 编辑
摘要: Marvel安装的时候需要申请一个license,否则只有30天的使用时间,到期后最多保存7天的监控数据,为了造成不必要的监控数据丢失,建议安装的同时注册一个lincense,方法如下: 1. 注册一个免费的license https://register.elastic.co/marvel_reg 阅读全文
posted @ 2017-03-16 19:45 肖建锋 阅读(799) 评论(0) 推荐(0) 编辑