elasticsearch5.0.2在windows中的安裝方法

來源:互聯網
上載者:User

標籤: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中的安裝方法

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.