Elasticsearch快速安装流程
window下私有安装流程—Elasticsearch搜索引擎
1.官网下载window系统安装包:
https://www.elastic.co/cn/downloads/elasticsearch
2.修改环境变量:
由于Elasticsearch在Windows下开启了安全认证,所以找到解压安装包config/目录下面的elasticsearch.yml配置文件,把安全认证开关从原先的true都改成false,实现免密登录访问即可:
# Enable security features
xpack.security.enabled: false
xpack.security.enrollment.enabled: true
# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
xpack.security.http.ssl:
enabled: false
keystore.path: certs/http.p12
3.启动本地es服务:
找到目录bin下elasticsearch.bat文件,双击运行,访问链接
http://127.0.0.1:9200
小结
提示:每天学习一点点,努力让自己更有价值!