Elastic search系统学习之二: 插件安装

本文详细介绍了在Ubuntu系统中如何安装Elasticsearch的X-Pack插件,包括通过命令行安装,设置密码,配置elasticsearch.yml文件,启动服务以及设置内置用户密码的步骤。特别提示,配置文件中xpack.security.http.ssl.enabled不应启用,官方教程可能存在误导。
摘要由CSDN通过智能技术生成

系统: ubuntu

一、es安装X-Pack插件

1、安装插件

方法一:采用命令行

        $ bin/elasticsearch-plugin install x-pack

方法二:

步骤一:

下载插件:https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-6.0.0.zip

步骤二:安装

 lxq@slave-01:~/elastic-search/elasticsearch-6.0.0$ bin/elasticsearch-plugin install file:///home/lxq/elastic-search/x-pack-6.0.0.zip
-> Downloading file:///home/lxq/elastic-search/x-pack-6.0.0.zip

2、配置密码

 单机版本

 lxq@slave-01:~/elastic-search/elasticsearch-6.0.0$ bin/x-pack/certgen
Let's get started...

Please enter the desired output file [certificate-bundle.zip]: demo
Enter instance name: 190
Enter name for directories and files [190]: 190
Enter IP Addresses for instance (comma-separated if more than one) []: 127.0.0.1
Enter DNS names for

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值