Elasticsearch-head 部署

 

elasticsearch-head是一个elasticsearch集群的web前端。官方文档:
https://github.com/mobz/elasticsearch-head


在elasticsearch.yml中增加两行配置

$ tail -2 config/elasticsearch.yml
http.cors.enabled: true
http.cors.allow-origin: "*"

 

下载head并安装,需要先yum安装nodejs,bzip2等软件

$ yum install nodejs bzip2 -y
$ git clone git://github.com/mobz/elasticsearch-head.git $ cd elasticsearch-head $ npm install $ nohup npm run start &

 

在浏览器打开http://192.168.1.11:9100/

 

posted @ 2020-04-27 16:17  璩阳何月  阅读(253)  评论(0编辑  收藏  举报