安装cerebro
- 将cerebro对应的安装包拷贝到服务器的指定目录,这里只需要选一个节点安装就可以了
下载地址:https://github.com/lmenezes/cerebro/releases
解压:tar -zxvf cerebro-0.8.1.tgz
在解压后的当前目录,进去配置文件vim conf/application.conf,只需要配置如下信息:
hosts = [
#{
# host = "http://localhost:9200"
# name = "Some Cluster"
#},
# Example of host with authentication
{
host = "http://master:9200"
# name = "Secured Cluster"
auth = {
username = "admin"
password = "admin"
}
}
]
其他的可以忽略,配置好后启动,在cerebro当前目录执行
sh bin/cerebro -Dhttp.port=9001