1. 程式人生 > >001,kibana的安裝

001,kibana的安裝

kibana安裝

2.1 下載

下載地址:https://www.elastic.co/downloads/kibana

2.2 解壓

解壓:tar zxvf kibana-4.5.1-linux-x64.tar.gz

2.3 配置

到config/kibana.yml目錄下,般修改標註的這三個引數即可。

server.port: 5601

# The host to bind the server to.
server.host: "0.0.0.0"

# If you are running kibana behind a proxy, and want to mount it at a path,
# specify that path here. The basePath can't end in a slash.
# server.basePath: ""

# The Elasticsearch instance to use for all your queries.
elasticsearch.url: "http://"  #這裡是elasticsearch的訪問地址

2.4 啟動

到bin目錄下,啟動即可。

./kibana  //不能關閉終端

nohup  ./kibana > /nohub.out &  //可關閉終端,在nohup.out中檢視log

2.5 訪問

在瀏覽器中訪問:http://xxxx:5601/