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 [email protected] --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安装

下载

启动:

部署文件下载

相关推荐
咸鱼求放生7 小时前
es在Linux安装
大数据·elasticsearch·搜索引擎
xyhshen8 小时前
k8s下离线搭建elasticsearch
elasticsearch·容器·kubernetes
@泽栖12 小时前
ES数据聚合
elasticsearch·搜索引擎
張萠飛16 小时前
Linux下如何使用shell脚本导出elasticsearch中某一个index的数据为本地csv文件
linux·运维·elasticsearch
LanLance18 小时前
ES101系列09 | 运维、监控与性能优化
java·运维·后端·elasticsearch·云原生·性能优化·golang
疯狂的沙粒21 小时前
如何通过git命令查看项目连接的仓库地址?
大数据·git·elasticsearch
IT成长日记1 天前
Elasticsearch集群手动分片分配指南:原理与实践
大数据·elasticsearch·手动分片分配
Elastic 中国社区官方博客2 天前
Elastic 获得 AWS 教育 ISV 合作伙伴资质,进一步增强教育解决方案产品组合
大数据·人工智能·elasticsearch·搜索引擎·云计算·全文检索·aws
Tom Boom2 天前
Git常用命令完全指南:从入门到精通
大数据·git·elasticsearch·docker·自动化测试框架
星星点点洲2 天前
【Elasticsearch】 查询优化方式
elasticsearch·搜索引擎