常用地址
ES
1)下載
2)解壓,雙擊bin/elasticsearch.bat,訪問地址:127.0.0.1:9200
3)修改jvm.options java
虛擬機相關的配置
將-Xms修改爲256m(測試環境不需要太大)
4)目錄說明:
bin
啓動文件config
配置文件log4j2
日誌配置文件jvm.options java
虛擬機相關的配置elasticsearch.yml
elasticsearch
的配置文件! 默認 9200 端口! 跨域!lib
相關jar包logs
日誌!modules
功能模塊plugins
插件!
插件elasticsearch-head-master
1)下載
2)啓動(node.js環境)
文檔主目錄下cmd
命令
- npm install(慢)
- npm run start
3)修改ES配置解決跨域問題
- http.cors.enabled: true
- http.cors.allow-origin: "*"
4)訪問地址:http://localhost:9100
Kibana
1)下載(版本要和ES一致)
2)漢化!自己修改 kibana
配置即可! zh-CN
!
3)啓動 /bin/kibana.bat
4)訪問 http://localhost:5601
DEMO數據導入
2)使用postman,post請求:localhost:9200/bank/account/_bulk?pretty&refresh
參數選擇binary,選擇上面下載的文件accounts.json