ElasticSearch 安装

ElasticSearch 安装基本和网上的流程一样,可参考 : https://www.cnblogs.com/liuxiaoming123/p/8126330.html

总结几个问题如下:
1、es 启动不能用root 用户,需新建一个用户;
2、几个配置需要改下:
一个是 /etc/security/limits.conf 中加上: * soft nofile 65536 * hard nofile 65536

一个是 /etc/sysctl.conf 中加上 vm.max_map_count = 2621441

3、如果需要外网访问,需要配置 elasticsearch-5.5.2/config 下的 elasticsearch.yml。其中 network.host: 0.0.0.0,http.port: 9200

最后能够通过http 访问就证明安装成功
ElasticSearch 安装以及常见问题

相关文章:

  • 2021-06-06
  • 2021-09-30
  • 2022-12-23
  • 2021-10-05
  • 2021-07-19
  • 2022-12-23
  • 2021-12-08
  • 2022-12-23
猜你喜欢
  • 2021-06-13
  • 2021-09-07
  • 2021-12-26
  • 2022-12-23
  • 2021-07-24
  • 2021-09-11
相关资源
相似解决方案