1、ElasticSearch 下载
-
官网:https://www.elastic.co/cn/elasticsearch/
-
所有版本下载:https://www.elastic.co/cn/downloads/past-releases#elasticsearch
-
7.3.0下载:https://www.elastic.co/cn/downloads/past-releases/elasticsearch-7-3-0
-
SpringBoot 版本和 ES 安装版本有关
2、Docker - ElasticSearch 安装和配置
步骤1:系统参数配置
vi /etc/security/limits.conf
# 添加内容
* soft nofile 65536
* hard nofile 65536
vi /etc/sysctl.conf
# 添加内容
vm.max_map_count=655360
步骤2:配置文件
# 创建文件夹
mkdir -p /docker_data/es/{
conf,plugins}
cd /docker_data/es/conf
# 创建文件 elasticsearch.yml
# /usr/share/elasticsearch/config/elasticsearch.yml
- elasticsearch.yml(7.3.0版本使用)
# 7.3.0版本使用</