下载:

Windows版

提纲:

1.   安装Elasticsearch

  1.1. 下载Elasticsearch: https://www.elastic.co/cn/downloads/elasticsearch, 添加系统变量.

  官网下载速度是奇慢无比,幸好有热心人[Thans]整理了速度其快的镜像资源,https://thans.cn/mirror/elasticsearch.html,再次感谢Thans!

  1.2.  运行es,切换到bin目录,运行elasticsearch.bat.

  1.3   访问服务http://localhost:9200. Ps:es默认端口号为9200.

    Elasticsearch.01.安装配置

 

2.   安装可视化插件(非必要,看个人需要)

  2.1. 下载head (elasticsearch-head-master) : https://github.com/mobz/elasticsearch-head.

       2.2. 下载node.js: http://nodejs.cn/download/,配置环境变量。node -v 验证版本.

  2.3.  使用node自带npm安装head插件:切换到head目录下,运行命令 npm install

  2.4    修改es配置文件 您的ES目录/config/elasticsearch.yml, 底部添加:

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

  2.5.  重启ES服务,运行head插件:npm run start. 

  2.6.  访问http://localhost:9100.

             Elasticsearch.01.安装配置

相关文章:

  • 2021-12-09
  • 2022-12-23
  • 2021-05-09
  • 2021-09-05
猜你喜欢
  • 2020-01-21
  • 2022-12-23
  • 2022-02-14
  • 2021-07-25
  • 2021-07-04
  • 2021-10-20
  • 2021-07-14
相关资源
相似解决方案