elasticsearch

Elasticsearch安装

elasticsearch

官网:https://www.elastic.co/cn/elasticsearch/

镜像:https://mirrors.huaweicloud.com/elasticsearch/?C=N&O=D

安装:解压、bin、启动bat

目录:bin 启动文件 config 配置文件 log4j2 日志配置文件 jvm.options java 虚拟机相关的配置

elasticsearch.yml elasticsearch 的配置文件, 默认 9200 端口,

lib 相关jar包

logs 日志 modules 功能模块 plugins 插件

可视化插件head

https://github.com/mobz/elasticsearch-head

cnpm install
npm run start

跨域配置elasticsearch.yml

http.cors.enabled: true
http.cors.allow-origin: "*"  

访问localhost:9100

kibana

https://www.elastic.co/cn/downloads/past-releases/kibana-7-9-3

下载的版本要和elasticsearch对应

解压,启动bat,访问localhost:5601

汉化:在kibana.yml配置

i18n.locale: "zh-CN"

 

 

posted @ 2021-03-05 15:17  Henry829  阅读(72)  评论(0)    收藏  举报