首页 > 其他 > 详细

Elasticsearch的安装与简单配置

时间:2020-03-22 14:09:05      阅读:54      评论:0      收藏:0      [点我收藏+]

CentOS启动 ES 过程中遇到的问题

  1. seccomp unavailable 错误
    解决方法:elasticsearch.yml 配置
    bootstrap.memory_lock: false
    bootstrap.system_call_filter: false

  2. max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
    解决方法:修改 /etc/security/limits.conf,配置:
    hard nofile 80000
    soft nofile 80000

  3. max virtual memory areas vm.max_map_count [65530] is too low
    解决方法:修改 /etc/sysctl.conf,添加 :
    vm.max_map_count = 262144
    然后 sysctl -p 生效

  4. the default discovery settings are unsuitable...., last least one of [....] must be configured
    解决方法:elasticsearch.yml 开启配置:
    node.name: node-1
    cluster.initial_master_nodes: ["node-1"]

关于下载安装的问题:

es、kibana、logstash均可在华为云开源镜像站搜索下载,全版本,超快:
https://mirrors.huaweicloud.com/)

插件下载,以analysis-icu来说,需要离线下载安装:
下载地址(7.4.0版本):
https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-icu/analysis-icu-7.4.0.zip)
安装方法:
unix:sudo bin/elasticsearch-plugin install file:///path/to/plugin.zip
windows:bin\elasticsearch-plugin install file:///C:/path/to/plugin.zip

Elasticsearch的安装与简单配置

原文:https://www.cnblogs.com/wangcc7/p/12545703.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!