【ElasticSearch】:Windows下ElasticSearch+版本安装head
概述
elasticsearch-head,之前插件plugin方式已废弃,现已改为nodejs的NPM安装,独立WEB服务方式。
elasticsearch-head网址:https://github.com/mobz/elasticsearch-head
步骤
1.安装nodejs
下载node.js ,网址:https://nodejs.org/en/
下载 推荐大多数用户使用的稳定版本,例如:8.11.1 LTSRecommended For Most Users
安装nodejs,安装包可以自动加入PATH环境变量
安装完成后,重新打开一个cmd窗口,输入执行
node -v

看到版本号说明安装和环境变量OK
2.在nodejs基础上安装grunt
grunt是一个很方便的构建工具,可以进行打包压缩、测试、执行等等的工作,elasticsearch-head就是通过grunt启动的。因此需要安装grunt:
cmd路径进入nodejs的安装目录下
输入执行
npm install -g grunt-cli
安装完成后,打开cmd窗口,输入执行
grunt -version

看到版本号说明安装和环境变量OK
3.下载并安装elasticsearch-head
https://github.com/mobz/elasticsearch-head
右侧 Clone or download按钮
点击下载。是一个zip包,解压缩
cmd路径进入上述解压缩的目录中,执行
npm install
完成安装
4.修改elasticsearch配置文件
elasticsearch的配置文件:config目录下的elasticsearch.yml中,务必加上:
# 增加新的参数,这样elasticsearch才允许elasticsearch-head访问
http.cors.enabled: true
http.cors.allow-origin: "*"
注:elasticsearch.yml配置文件,冒号后面要有一个空格
5.启动elasticsearch
执行elasticsearch目录下的 bin\elasticsearch.bat

6.启动elasticsearch-head
cmd进入elasticsearch-head目录,执行:
npm run start

7.WEB访问elasticsearch-head
http://localhost:9100 可以访问了

【ElasticSearch】:Windows下ElasticSearch+版本安装head的更多相关文章
- Windows下ElasticSearch及相关插件的安装
(1)在官网下载ElasticSearch压缩包.这里我下载的是elasticsearch-1.7.1(下载地址:https://download.elastic.co/elasticsearch/e ...
- windows下elasticsearch安装ik分词器后无法启动
windows下elasticsearch安装ik分词器后启动报如下图错误: 然后百度说是elasticsearch路径有空格,一看果然我的路径有空格,然后重新换个路径就好了.
- Windows下用Composer安装Laravel步骤(集成php环境用phpStudy2016版本)
描述:到官方网站了解并根据自己所需要的版本号安装,所需要的php版本是多少. 中文网站:http://www.golaravel.com/ 官方网站:https://laravel.com/ 其实各自 ...
- Windows下的Memcache安装 linux下的Memcache安装
linux下的Memcache安装: 1. 下载 memcache的linux版本,注意 memcached 用 libevent 来作事件驱动,所以要先安装有 libevent. 官方网址:http ...
- Windows下 VM12虚拟机安装OS X 10.11 和VM TOOLS
Windows下虚拟机安装Mac OS X —– VMware Workstation12安装Mac OS X 10.11 本文即将介绍WIN虚拟MAC的教程.完整详细教程(包含安装中的一些问题) [ ...
- Windows下Memcache的安装与在php中使用
memcache dll插件和测试例子下载地址: http://pecl.php.net/package/memcache Windows下Memcache的安装方法 Memcached官方:http ...
- Windows下的Memcache安装与测试教程
Windows下的Memcache安装 1.下载memcache for windows. 下载地址:http://splinedancer.com/memcached-win32/,推荐下载bina ...
- DEDECMS最新5.7版在Windows下的Memcache安装
一,织梦后台后台设置进入系统后台,在[系统基本参数]下面的"性能选项"卡当中,关于memcache进行如下配置: cfg_memcache_enable : 是否启用memcach ...
- Windows下的Memcache安装:
Windows下的Memcache安装:1. 下载memcache的windows稳定版,解压放某个盘下面,比如在c:\memcached2. 在终端(也即cmd命令界面)下输入 'c:\memcac ...
- Windows下SQLMAP的安装图解
第一步:BurpSuite扫描工具安装 //来源:http://www.mamicode.com/info-detail-563355.html Burp Suite 是用于渗透测试web 应用程序的 ...
随机推荐
- Python之异常处理和socket套接字连接7
一.异常处理 1)异常处理的使用意义 什么是异常处理 异常是程序发生错误的信号,即程序一旦出错就会立刻产生一个异常,如果该异常没有被处理 那么异常就抛出来,程序的运行也随之终止 异常分为三部分: 异常 ...
- rails 辅助方法
rails辅助方法全解: https://ruby-china.github.io/rails-guides/routing.html
- servlet中请求转发获取数据等,,,
String uname= req.getParameter("uname"); 获取请求的字符串 req.setAttribute("str"," ...
- 将爬取的网页数据保存到数据库时报错不能提交JPA,Caused by: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\xB6 \xE2...' for column 'content' at row 1
错误原因:我们可以看到错误提示中的字符0xF0 0x9F 0x98 0x84 ,这对应UTF-8编码格式中的4字节编码(UTF-8编码规范).正常的汉字一般不会超过3个字节,为什么为出现4个字节呢?实 ...
- 2019.02.09 bzoj4455: [Zjoi2016]小星星(容斥原理+dp)
传送门 题意简述:给一张图和一棵树(点数都为n≤17n \le17n≤17),问有多少种给树的标号方法方法使得图中去掉多余的边之后和树一模一样. 思路: 容斥好题啊. 考虑fi,jf_{i,j}fi, ...
- python code(1)
from collections import UserList class MthChianList(UserList): def filter(self,predicste): return Mt ...
- bootstrap 后台模板
http://wangye0119-html1.demo.smallseashell.com/index.html
- c语言struct和c++struct的区别
1.定义 c语言中struct是用户自定义数据类型(UDT),是一些变量的集合体:c++中struct是抽象数据类型(ADT),能给用户提供接口,能定义成员函数,能继承,能实现多态 2.成员权限设置 ...
- s4-3 CSMA
载波侦听多路访问协议 CSMA:Carrier Sense Multiple Access 特点:"先听后发" 改进ALOHA协议的侦听/发送策略 分类 非持续式 持 ...
- 华为机试-iNOC产品部-杨辉三角的变形
题目描述 1 1 1 1 1 2 3 2 1 1 3 6 7 6 3 11 4 10 16 19 16 10 4 1以上三角形的数阵,第一行只有一个数1,以下每行的每个数,是恰好是它上面的数,左上角数 ...