elasticsearch配置

Elasticsearch version: 5.1.1

Windows

Java安装

版本:jdk8+
Java Archive | Oracle 中国

安装elasticsearch-rtf

Elasticsearch-RTF是针对中文的一个发行版,即使用最新稳定的elasticsearch版本,并且帮你下载测试好对应的插件,如中文分词插件等,目的是让你可以下载下来就可以直接的使用。

Github: https://github.com/medcl/elasticsearch-rtf

启动命令:

bash 复制代码
cd elasticsearch/bin
elasticsearch.bat


head插件

下载

部署启动

bash 复制代码
git clone git://github.com/mobz/elasticsearch-head.git
cd elasticsearch-head
# npm install phantomjs@2.1.1 --ignore-scripts # run when npm install is error
npm install
npm run start

open http://localhost:9100/

此时head无法连接elasticsearch,修改elasticsearch配置文件

yml 复制代码
http.cors.enabled: true
http.cors.allow-origin: "*"
http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers: "X-Requested-With, Content-Type, Content-Length, X-User"

重启elasticsearch即可

kibana安装

下载

启动:

部署文件下载

相关推荐
Lill_bin10 小时前
深入理解ElasticSearch集群:架构、高可用性与数据一致性
大数据·分布式·elasticsearch·搜索引擎·zookeeper·架构·全文检索
RwTo12 小时前
Elasticsearch 聚合搜索
大数据·elasticsearch·搜索引擎·全文检索
求学小火龙13 小时前
ElasticSearch介绍+使用
java·大数据·elasticsearch
檀越剑指大厂13 小时前
【Elasticsearch系列六】系统命令API
大数据·elasticsearch·搜索引擎
bug菌¹19 小时前
滚雪球学SpringCloud[5.1讲]: Spring Cloud Config详解
spring·elasticsearch·spring cloud
Li小李同学Li20 小时前
git学习【持续更新中。。。】
git·学习·elasticsearch
nangonghen20 小时前
通过logstash同步elasticsearch数据
大数据·elasticsearch
檀越剑指大厂21 小时前
【Elasticsearch系列四】ELK Stack
大数据·elk·elasticsearch
2401_840192271 天前
ELFK日志分析平台,架构和通信
elk·elasticsearch·架构
cyt涛1 天前
搜索功能技术方案
mysql·elasticsearch·全文检索·canal·索引·数据同步·搜索