前提安裝jdk8並配置好環境變量
es官網:https://www.elastic.co/cn/products/elasticsearch
下載zip包解壓,在config配置文件elasticsearch.yml中添加xpack.ml.enabled: false;jvm.options中修改-Xms512m,-Xmx512m(自己筆記本測試所以調小了一些默認是1G)
運行bin下的elasticsearch.bat
訪問http://127.0.0.1:9200
kibana安裝
安裝node
下載kibana:https://www.elastic.co/cn/downloads/past-releases
運行bin下的bat腳本,成功後訪問:http://localhost:5601