下载 & 解压
下载:wget https://github.com/lmenezes/cerebro/releases/download/v0.8.3/cerebro-0.8.3.zip
解压:unzip cerebro-0.8.3.zip
启动
默认配置启动
> ./cerebro-0.8.3/bin/cerebro
设置ES集群地址启动
vi cerebro-0.8.3/bin/cerebro/conf/application.conf
hosts = [
#{
# host = "http://localhost:9200"
# name = "Your Cluster Name"
#},
# 开启身份认证
{
host = "http://es_ip:9200"
name = "Your Cluster Name"
auth = {
username = "elastic"
password = "xxxxxxxxxxxxxxxxxxxxxxxx"
}
}