5.2kibana安裝前端
5.2.1解壓kibana安裝包,修改config/kibana.yml中端口,服務器地址,elastic鏈接地址node
tar zxvf kibana-6.1.3-linux-x86_64.tar.gz cd kibana-6.1.3-linux-x86_64 vim config/kibana.yml server.port: 5601 server.host: "192.168.1.1" elasticsearch.url: "http://192.168.1.1:9200"
5.2.2若是沒有安裝x-pack,此時能夠起到kibanapython
bin/kibana &
5.3x-pack安裝linux
x-pack是一個Elastic Stack的擴展,將安全,警報,監視,報告和圖形功能包含在一個易於安裝的軟件包中git
x-pack安裝時間較長,須要耐心等待github
su - ilog cd /home/ilog/elasticsearch-6.1.3 bin/elasticsearch-plugin install x-pack bin/elasticsearch -d cd /home/ilog/kibana-6.1.3 bin/kibana-plugin install x-pack
bin/kibana &
5.4head安裝web
5.4.1建立存放插件的目錄plugins,解壓head安裝包到plugins目錄,修改解壓後文件夾名稱爲headsql
mkdir /home/ilog/plugins unzip elasticsearch-head-master.zip mv elasticsearch-head-master /home/ilog/plugins cd /home/ilog/plugins mv elasticsearch-head-master head
5.4.2修改監聽端口和地址爲9107和localhostnpm
#修改監聽端口和主機名稱 第93和96行 #端口自定義,沒有要求 vim Gruntfile.js port: 9107 hostname: '192.168.1.1'
5.4.3安裝gruntjson
cd /home/ilog/plugins/head/ #安裝cnpm npm install –g cnpm –registry=https://registry.npm.taobao.org #安裝grunt npm install –g grunt –registry=https://registry.npm.taobao.org #安裝grunt-cli npm install –g grunt-cli –registry=https://registry.npm.taobao.org #安裝phantomjs-prebuilt npm install –g phantomjs-prebuilt -registry=https://registry.npm.taobao.org #下載head依賴 npm install
5.4.4啓動程序
grunt server &
5.5es-sql安裝
es-sql須要安裝es-sql插件和web前端程序
web前端程序下載地址爲:https://github.com/NLPchina/elasticsearch-sql/releases/download/5.4.1.0/es-sql-site-standalone.zip
5.5.1解壓es-sql源碼包到elastic程序plugins目錄下,更改目錄名稱爲sql
5.5.2解壓web前端程序包到/home/ilog/plugins目錄
unzip es-sql-site-standalone.zip mv es-sql-site-standalone sql mv sql /home/ilog/plugins/ cd/home/ilog/plugins/sql/site-server
#修改web端口
vim site_configuration.json
」port「:9108
5.5.3啓動es-sql的web前端
#啓動web前端程序 node node-server.js &
5.6cerebro安裝
5.6.1解壓cerebro安裝包到/home/ilog/plugins目錄
tar zxvf cerebro-0.7.2.tar.gz mv cerebro-0.7.2 /home/ilog/plugins/ cd /home/ilog/plugins/cerebro-0.7.2
5.6.2啓動程序
#端口和ip均可以自定義 bin/cerebro –Dhttp.port=9109 –Dhttp.address=192.168.1.1 &
5.7bigdesk安裝
5.7.1解壓bigdesk安裝包到/home/ilog/plugins目錄,修改解壓後文件夾名稱爲bigdesk
tar zxvf bigdesk-2.5.0.tar mv bigdesk-2.5.0 bigdesk mv bigdesk /home/ilog/plugins/ cd /home/ilog/plugins/bigdesk
5.7.2啓動程序
python -m SimpleHTTPServer 9106 &