1、es和kibana的版本都是6.2.4
elasticsearch-6.2.4 + kibana-6.2.4-windows-x86_64
2、先安装es,下载下来解压, config目录下修改 elasticsearch.yml 配置文件
#把以下配置的注释放开,并修改成自己想要的配置
cluster.name: es_cluster
node.name: node-1
path.data: F:\OPEN_SOFT\elasticsearch-6.2.4\\data
path.logs: F:\OPEN_SOFT\elasticsearch-6.2.4\\logs
network.host: 0.0.0.0
http.port: 9200
保存修改,去bin目录下,双击 elasticsearch.bat 便可跑起来
浏览器访问 http://localhost:9200/ 访问正常则搭建正常
{
"name" : "node-1", "cluster_name" : "es_cluster", "cluster_uuid" : "fzx_I1tuSy2r9vzPZOVfVQ", "version" : { "number" : "6.2.4", "build_hash" : "ccec39f", "build_date" : "2018-04-12T20:37:28.497551Z", "build_snapshot" : false, "lucene_version" : "7.2.1", "minimum_wire_compatibility_version" : "5.6.0", "minimum_index_compatibility_version" : "5.0.0" }, "tagline" : "You Know, for Search" }
3、安装kibana,解压包,进到config,修改kibana.yml文件
server.port: 5601
server.host: "localhost"
elasticsearch.url: "http://localhost:9200"
kibana.index: ".kibana"
4、进到bin目录,对 kibana.bat 进行老铁双击操作,cmd窗口无异常,
5、进浏览器访问 http://localhost:5601