安装最新版Elasticsearch报错
2024-09-08 11:05:30
1 问题:ERROR: bootstrap checks failed
max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
max number of threads [1024] for user [lishang] likely too low, increase to at least [2048]
vi /etc/security/limits.conf
* soft nofile 65536
* hard nofile 131072
* soft nproc 2048
* hard nproc 4096
vi /etc/sysctl.conf
vm.max_map_count=655360
保存后执行:
sysctl -p
2 报错 the default discovery settings are unsuitable for production use
单机启动 设置单机master修改 elasticsearch.yml
cluster.initial_master_nodes: ["node-1"]
3.开通外网
修改elasticsearch.yml
network.host: 0.0.0.0
最新文章
- 处理程序“PageHandlerFactory-Integrated”在其模块列表中有一个错误模块“ManagedPipelineHandler”
- CSS零基础学习笔记.
- js笔记——js数据类型转换
- ecshop 团购-》调取评论
- poj 2013 Symmetric Order 解题报告
- Oracle 11g 客户端 下载地址
- UVa 10891 (博弈+DP) Game of Sum
- MyBatis拦截器:给参数对象属性赋值
- flexPaper +swftools实现文档在线阅读
- CI 中css样式或者js样式加载不进来的情况
- 函数指针玩得不熟,就不要自称为C语言高手(函数指针是解耦对象关系的最佳利器,还有signal)
- 键盘控制div上下左右移动 (转)
- gplots heatmap.2和ggplot2 geom_tile实现数据聚类和热图plot
- mysql远程访问1045的问题解决
- 【Alpha版本】冲刺阶段——Day7
- PHP中json_encode()问题
- JNDI 与 LDAP
- 一个Python开源项目-腾讯哈勃沙箱源码剖析(上)
- 解题:HNOI 2013 Cards
- HDU 3371 Connect the Cities 最小生成树(和关于sort和qsort的一些小发现)
热门文章
- codevs 1126 数字统计 2010年NOIP全国联赛普及组 x
- 【Leetcode】二分法
- scrapy项目2:爬取智联招聘的金融类高端岗位(spider类)
- Python爬虫黑科技(经验)
- Spring Data Jpa (五)@Entity实例里面常用注解详解
- 2018-2019-2 网络对抗技术 20165235 Exp 9 Web安全基础
- Python-Django WebAPi基本使用方法
- 搜索练习题——FBI树
- delphi DLL image 动态绘图 句柄处理
- MYSQL常见安装错误集:[ERROR] --initialize specified but the data directory has files in it. Abort