|-转 yum 安装elasticsearch
官网 https://www.elastic.co/guide/en/elasticsearch/reference/7.3/rpm.html#rpm-running-init
1.
安装jdk8以上版本
yum install java -y
java -version 查看java版本
2.
1.下载并安装GPG key
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
2.添加yum仓库
vim /etc/yum.repos.d/elasticsearch.repo
加入下面的代码
从官网复制的
[elasticsearch-7.x] name=Elasticsearch repository for 7.x packages baseurl=https://artifacts.elastic.co/packages/7.x/yum gpgcheck=1 gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch enabled=1 autorefresh=1 type=rpm-md
3.安装elasticsearch
yum install elasticsearch
4.配置elasticsearch
参考 http://www.360doc.com/content/19/0110/15/51464875_...
https://www.cnblogs.com/miao-zp/p/6003160.html
配置外网访问,端口
vim/etc/elasticsearch/elasticsearch.yml
5 启动...
浏览更多内容请先登录。
立即注册
更新于:2021-12-15 18:08:51
相关内容
Centos7利用yum安装apache+mysql8+php7 一篇搞定!
Elasticsearch安装使用问题整理
Elasticsearch异常问题 discovery.seed_hosts, discovery.seed_providers,...
yum 安装elasticsearch
Elasticsearch在Windows环境下安装
推荐内容