1.elasticsearch6.x集群搭建比较简单,可参考如下文章。https://segmentfault.com/a/1190000014347757
2.安装kibana,在config目录下配置kibana.yml 文件,配置 elasticsearch.url: "http://192.168.231.111:9201" 其中这个url 为es集群中任意一台机器即可。
3.安装x-pack插件,在kibana bin目录下 运行./kibana-plugin install x-pack,或者离线的方式 ./kibana-plugin install file:///linux或者Windows目录 即可。
4.安装head 插件,head 插件比较麻烦,但是基本参照https://segmentfault.com/a/1190000014347757 该文章 即可完成安装。