The background,
Es itself does not provide a visual tool to view the cluster information. It is not convenient to use the command line tool to view the cluster information. Cerebro is installed here to view some information in the cluster.
Two, installation steps
1. Download and unpack
# downloadWget HTTP: / / https://github.com/lmenezes/cerebro/releases/download/v0.9.4/cerebro-0.9.4.zip# decompressionUnzip cerebro - 0.9.4.zip &&cdCerebro - 0.9.4Look at the directory structureTree cerebro - 0.9.4 cerebro - 0.9.4 ├ ─ ─ the README. Md ├ ─ ─ bin │ ├ ─ ─ cerebro (executable file) │ └ ─ ─ cerebro. Bat (executable file) on the window ├ ─ ─ the conf │ ├ ─ ─ application. The conf (profile) │ ├ ─ ─ eslint. Json │ ├ ─ ─ evolutions │ │ └ ─ ─ the default │ │ └ ─ ─ 1. SQL │ ├ ─ ─ logback. XML configuration (log) │ ├ ─ ─ reference. Conf │ └ ─ ─ routes └ ─ ─ lib ├ ─ ─ *. The jarCopy the code
2. Configure cerebro
vim conf/application.yml
Copy the code
Pid = pidfile.path="./cerebro.pid" ="./cerebro } # Set known cluster hosts = [{host = "http://localhost:9200" name = "es-cluster" auth = {username = "" password = ""}}]Copy the code
3. Start cerebro
/ Users/huan/soft/elastic - stack/cerebro/cerebro - 0.9.4 / bin/cerebro &Copy the code
4. Startup interface
Three, notes
The new cerebro JDK needs to be in version 11 or later.
Iv. Reference documents
Cerebro download address