elasticsearch-head的安装和使用

https://www.cnblogs.com/chenmz1995/p/10103167.html

(一)

安装nodeJS, 下载nodejs安装包,直接下一步就可以,运行node -v 和npm -v有如下结果,表示安装成功。

(二)

安装git(安装过程略过),

1.git clone git://github.com/mobz/elasticsearch-head.git //git下载相关资源

2.cd elasticsearch-head //进入相关的目录

3.npm install

4.npm run start

然后耐心等待,就可以了。

然后你就会看到

安装成功了

然后加上你安装的es中找到elasticsearch.yml,添加这两句

http.cors.enabled: true
http.cors.allow-origin: "*"

注意:冒号后面有个空格

然后输入你安装的es的地址和端口,一般为ip:9200,就可以连接了

elasticsearch-head的使用
https://blog.csdn.net/mengfanzhong/article/details/80638341?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase

posted @ 2020-06-06 16:34  乌卡拉卡  阅读(318)  评论(0)    收藏  举报