1、下载安装包和签名
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.17.3-x86_64.rpm
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.17.3-x86_64.rpm.sha512
2、安装shasum
dnf install perl-Digest-SHA
3、安装签名和elasticsearch
shasum -a 512 -c elasticsearch-7.17.3-x86_64.rpm.sha512
sudo rpm –install elasticsearch-7.17.31-x86_64.rpm
4、修改内存占用
/etc/elasticsearch/jvm.options
5、直接启动
systemctl start elasticsearch 启动
systemctl status elasticsearch 查看启动情况
systemctl enable elasticsearch 开机启动
评论0