系统: 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