官网手册地址:
https://www.elastic.co/guide/en/x-pack/current/installing-xpack.html#xpack-installing-offline
离线安装:
1、下载 X-Pack-5.2.1.zip 包
2、bin/elasticsearch-plugin install file:///path/to/file/x-pack-5.2.1.zip
3、bin/kibana-plugin install file:///path/to/file/x-pack-5.2.1.zip