安装elasticsearch-8.5.2
1. 下载
https://www.elastic.co/cn/downloads/elasticsearch
2. 安装
(base) [root@node001 bao]# tar -zxvf elasticsearch-8.5.2-linux-x86_64.tar.gz -C /opt/src
3. 修改配置文件
[root@node001 config]# vim /opt/src/elasticsearch-8.5.2/config/elasticsearch.yml
path.data: /opt/src/elasticsearch-8.5.2/data #数据目录位置</