下载的地址:
https://github.com/lmenezes/cerebro/releases
下载:
wget https://github.com/lmenezes/cerebro/releases/download/v0.8.5/cerebro-0.8.5.tgz
解压:
tar xzf cerebro-0.8.1.tgz
启动:
cerebro-0.8.1/bin/cerebro
[info]play.api.Play-Applicationstarted(Prod)
[info]p.c.s.AkkaHttpServer-ListeningforHTTPon/0:0:0:0:0:0:0:0:9000
指定端口:
bin/cerebro -Dhttp.port=9100
配置:
vim conf/application.conf
hosts = [
{
host = "http://172.16.93.192:9200"
name = "elasticsearch"
# headers-whitelist = [ "x-proxy-user", "x-proxy-roles", "X-Forwarded-For" ]
}
#aaaa Example of host with authentication
#{
# host = "http://some-authenticated-host:9200"
# name = "Secured Cluster"
# auth = {
# username = "username"
# password = "secret-password"
# }
#}
]
后台启动:
nohup /data/cerebro/cerebro-0.8.5/bin/cerebro -Dhttp.port=9100 >> /data/cerebro/output.log 2>&1 &
登录:
界面
网友评论