1,配置jdk
配置jdk为es7.10自带jdk
2, 创建 ES 使用账号
useradd -m elasticsearch
3,下载安装es
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.10.0-x86_64.rpm
使用root用户下载rpm包到本地,进行安装
rpm -ivh elasticsearch-7.10.0-x86_64.rpm
3,配置es集群
vi /etc/elasticsearch/elasticsearch.yml
4,启动
systemctl start elasticsearch
执行curl poc-t5w0:9200 验证