windows环境下elasticsearch安装教程

转载:windows环境下elasticsearch安装教程(超详细) - hualess - 博客园

安装grunt执行 npm install -g grunt-cli报错:

npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! errno UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! request to https://registry.npmjs.org/grunt-cli failed, reason: unable to verify the first certificate

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\admin\AppData\Roaming\npm-cache\_logs\2021-01-07T02_24_16_295Z-debug.log

解决方法:命令行输入即可(我猜测是内网限制)

npm config set strict-ssl false

 

ES端口号:(Elasticsearch是基于lucene的全文检索服务器)

(1)9300:ES节点之间的通讯使用

(2)9200:ES节点和外部通讯使用

 

springboot集成es:

连接不上的原因:

  1、客户端配置与服务端配置不匹配

  2、客户端es版本与服务端版本不匹配 低版本不能连接高版本

* 操作系统(unix,linx,windows)、计算机网络(三次握手,四次挥手)、编译原理、数据结构与算法、数据库
* 微服务、各种组件(分布式)、设计模式(源码阅读)、6大设计原则、并发设计、性能调优、
posted @ 2021-01-07 10:33  风继续吹0806  阅读(150)  评论(0)    收藏  举报