admin管理员组文章数量:1567551
官方网站:
Install Elasticsearch from archive on Linux or MacOS | Elasticsearch Guide [7.17] | Elastic
一、安装命令:
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.17.6-linux-x86_64.tar.gz
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.17.6-linux-x86_64.tar.gz.sha512
shasum -a 512 -c elasticsearch-7.17.6-linux-x86_64.tar.gz.sha512
tar -xzf elasticsearch-7.17.6-linux-x86_64.tar.gz
cd elasticsearch-7.17.6/
如果遇到颁发证书失效的问题,可以加上 --no-check-certificate
如:
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.17.6-linux-x86_64.tar.gz.sha512 --no-check-certificate
二、配置es环境设置:
2.1 外网可以访问
需要修改config文件夹中的elasticsearch.yml文件。
2.2 运行内存配置
es运行是比较吃内存的,默认使用内存也是较大的。 需要修改config文件夹中的jvm.options文件。
三、启动es:
效果展示: 【出现这个页面说明es安装成功了】
在elasticsearch-head中查看es数据效果:
四、安装过程中可能遇到的问题:
4.1 问题1:
4.2 max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
解决方案详见博文:
解决:max file descriptors [65535] for elasticsearch process is too low_春风化作秋雨的博客-CSDN博客_max file descriptors [65535] for elasticsearch pro
注意:此更改仅在当前用户下次打开新会话时生效!
4.3 max number of threads [3795] for user [keepmoving] is too low, increase to at least [4096]
解决方案详见博文:
ES 报错:max number of threads [3795] for user [elastic] is too low, increase to at least [4096]_黄晓宇的博客-CSDN博客
注意:此更改仅在当前用户下次打开新会话时生效!
4.4 the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
解决方案详见博文:
ES启动异常:the default discovery settings are unsuitable for production use; at least..._lizz666的博客-CSDN博客_the default discovery settings
本文标签: 详解系统LinuxElasticsearch
版权声明:本文标题:Linux系统中安装elasticsearch详解 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1725677241a1035909.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论