標籤:ast 方法 ber host pac elastic search span htm
一、安裝elasticsearch
下載壓縮包並解壓
https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.0.2.zip
bin\elasticsearch.bat
註:預設至少2G的記憶體,如果電腦記憶體不夠,
編輯config/jvm.options中的
-Xms2g
-Xmx2g
為
-Xms1g
-Xmx1g
開啟查看
http://localhost:9200/
二、安裝kibana
下載壓縮包並解壓
https://artifacts.elastic.co/downloads/kibana/kibana-5.0.2-windows-x86.zip
編輯檔案config/kibana.yml中
elasticsearch.url指向Elasticsearch執行個體,這裡設為http://localhost:9200
bin\kibana.bat
開啟查看kibana
http://localhost:5601
三、安裝x-pack
1.線上安裝:
bin/elasticsearch-plugin install x-pack
啟動elasticsearch(如果已經啟動請跳過這一步)
bin/elasticsearch
bin/kibana-plugin install x-pack
啟動kibana(如果已經啟動請跳過這一步)
bin/kibana
2離線安裝x-pack
離線
https://www.elastic.co/guide/en/x-pack/5.0/installing-xpack.html#xpack-installing-offline
bin/elasticsearch-plugin install file:///path/to/file/x-pack-5.0.2.zip
bin/kibana-plugin install file:///path/to/file/x-pack-5.0.2.zip
3.升級x-pack
停止elasticsearch
卸載舊的x-pack
bin/elasticsearch-plugin remove x-pack
安裝新的x-pack
bin/elasticsearch-plugin install x-pack
啟動elasticsearch
從kibana中移除x-pack
bin/kibana-plugin remove x-pack
在kibana中安裝x-pack
bin/kibana-plugin install x-pack
4.卸載x-pack
停止elasticsearch
卸載x-pack
bin/elasticsearch-plugin remove x-pack
啟動elasticsearch
從kibana中移除x-pack
bin/kibana-plugin remove x-pack
啟動kibana
elasticsearch5.0.2在windows中的安裝方法