沪ICP备2021032517号-1

Cerebro 部署

  |   0 评论   |   0 浏览

下载安装包

wget https://github.com/lmenezes/cerebro/releases/download/v0.8.5/cerebro-0.8.5.tgz

最新版下载地址

解压

tar -zxf cerebro-0.8.5.tgz

修改配置文件

vim /conf/application.conf 只需修改如下部分

hosts = [
  {
  #  host = "http://localhost:9200"
  #  name = "Localhost cluster"
  #  headers-whitelist = [ "x-proxy-user", "x-proxy-roles", "X-Forwarded-For" ]
  #}
  # Example of host with authentication
  #{
    host = "http://10.10.0.17:9200"
    name = "es1"  #集群name
    auth = {
      username = "elastic"
      password = "123456"
    }
  }
]

启动

nohup ./bin/cerebro > /dev/null &

访问

http://ip:9000

使用

15851959481.png

索引副本设置

index setting

234.png

node 模块

image.png


标题:Cerebro 部署
作者:zifuy
地址:https://www.zifuy.cn/articles/2020/03/24/1585028659157.html