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/

原文地址:https://www.cnblogs.com/juchangfei/p/12787488.html