2016年12月15日
摘要: 测试版本:elasticsearch-5.1.1 1、解压elasticsearch-5.1.1.zip。 2、执行elasticsearch.bat启动服务,启动画面如下: 3、访问ElasticSearch,访问地址:http://127.0.0.1:9200/。 4、安装ElasticSear 阅读全文
posted @ 2016-12-15 16:44 玄同太子 阅读(6017) 评论(0) 推荐(0) 编辑
  2016年12月14日
摘要: 配置文件位于%ES_HOME%/config/elasticsearch.yml文件中。 阅读全文
posted @ 2016-12-14 19:00 玄同太子 阅读(5472) 评论(0) 推荐(1) 编辑
摘要: 因机器有限,本文只做单机3个节点的集群测试。 1、集群测试信息 elasticsearch版本:elasticsearch-2.4.1 windowns版本:win10 2、解压elasticsearch-2.4.1.zip到任意目录下,安装elasticsearch-head插件。 在${ESHO 阅读全文
posted @ 2016-12-14 17:48 玄同太子 阅读(1043) 评论(0) 推荐(0) 编辑
  2016年12月9日
摘要: 1、事务的传播特性 1)PROPAGATION_REQUIRED:如果存在一个事务,则支持当前事务。如果没有事务则开启。 2)PROPAGATION_SUPPORTS:如果存在一个事务,支持当前事务。如果没有事务,则非事务的执行。 3)PROPAGATION_MANDATORY:如果已经存在一个事务 阅读全文
posted @ 2016-12-09 16:04 玄同太子 阅读(174) 评论(0) 推荐(0) 编辑
  2016年11月29日
摘要: org.apache.catalina.webresources.Cache.getResource Unable to add the resource at xxx to the cache because there was insufficient free space available 阅读全文
posted @ 2016-11-29 09:42 玄同太子 阅读(3808) 评论(0) 推荐(0) 编辑
  2016年10月26日
摘要: 1、安装zip、unzip应用。 2、压缩和解压文件 以下命令均在/home目录下操作 cd /home #进入/home目录 a、把/home目录下面的mydata目录压缩为mydata.zip zip -r mydata.zip mydata #压缩mydata目录 b、把/home目录下面的m 阅读全文
posted @ 2016-10-26 23:40 玄同太子 阅读(77261) 评论(0) 推荐(0) 编辑
摘要: 1、修改tomcat\conf\tomcat-users.xml文件,在文件中增加 2、在pom.xml文件中引入tomcat7-maven-plugin插件 url:tomcat发布地址 urername:步骤1中添加的用户名 password:步骤1中添加的用户密码 3、启动tomcat。 4、 阅读全文
posted @ 2016-10-26 15:19 玄同太子 阅读(1117) 评论(0) 推荐(0) 编辑
  2016年10月25日
摘要: 具体出错提示: [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' w 阅读全文
posted @ 2016-10-25 23:58 玄同太子 阅读(61354) 评论(0) 推荐(1) 编辑
摘要: CentOS版本:CentOS-7-x86_64-Minimal-1810 1、安装JDK 详情查看:CentOS下安装JDK-rpm文件、CentOS安装JDK-tar.gz文件 2、下载tomcat。 测试tomcat版本为:apache-tomcat-9.0.24.tar.gz。下载地址:ht 阅读全文
posted @ 2016-10-25 14:52 玄同太子 阅读(956) 评论(0) 推荐(0) 编辑
摘要: 1、下载JDK,下载地址:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html。 测试版本为:jdk-8u112-linux-x64.rpm 2、通过FTP工具上传了CentOS主机上。 阅读全文
posted @ 2016-10-25 12:52 玄同太子 阅读(2045) 评论(0) 推荐(2) 编辑