es安装(windows)
1.安装elasticSearch
官网下载: https://www.elastic.co/cn/downloads/
)
解压
修改config 文件夹 的配置文件(.yml)
运行成功
2.安装ElastaicSearch-head(可视化工具)
下载地址:https://github.com/mobz/elasticsearch-head
解压
修改 es 配置文件 添加
http.cors.enabled: true
http.cors.allow-origin: "*"
解决跨域问题`
运行
cnpm install
运行
npm run start
运行结果:
3.安装kibana(es对应版本)
官网下载: https://www.elastic.co/cn/downloads/kibana
解压
修改配置文件
放开端口
添加汉化
i18n.locale: "zh-CN"
执行.bat文件