centos7上Kibana安裝


Kibana使用html和js開發的,需要運行在Node.js,所以在下載的Kibana包中包含了Node平台。
Kibana的版本要和Elasticsearch版本一直,不支持主版本不一致(比如5.x 和2.x),次版本不一致(比如5.2和5.1)會在logger中打印報警信息,允許補丁版本不一致但是不建議

下載

wget -P  /usr/local/src  https://artifacts.elastic.co/downloads/kibana/kibana-6.8.7-linux-x86_64.tar.gz

解壓

tar -zxvf kibana-6.8.7-linux-x86_64.tar.gz -C /usr/local/

修改配置

[root@zsls config]# pwd
/usr/local/kibana-6.8.7-linux-x86_64/config

vim kibana.yml

server.host: "0.0.0.0"  #允許遠程連接

elasticsearch.hosts: ["http://你的IP:9200"]    # elasticsearch 主機url

elasticsearch.username: "elsearch"    #elasticsearch啟動的用戶名
elasticsearch.password: "elasticsearch"    #elasticsearch啟動的密碼

其他配置參考 : https://www.elastic.co/guide/cn/kibana/current/settings.html

啟動

[root@zsls bin]# pwd
/usr/local/kibana-6.8.7-linux-x86_64/bin

進入bin目錄 

 ./kibana          #啟動

[root@zsls bin]# nohup ./kibana &         #后台啟動

訪問

http://你的IP:5601

===================================

參考:https://www.elastic.co/guide/cn/kibana/current/targz.html


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM