码迷,mamicode.com
首页 > 其他好文 > 详细

Elasticsearch-head 部署

时间:2020-04-27 17:28:17      阅读:67      评论:0      收藏:0      [点我收藏+]

标签:nohup   amp   增加   部署   需要   ast   style   ble   enable   

 

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/

 

Elasticsearch-head 部署

标签:nohup   amp   增加   部署   需要   ast   style   ble   enable   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!