zhaoyu@home:~$

es

es-Head 安装

  1. 下载elasticsearch-head的源码包

地址:https://github.com/mobz/elasticsearch-head/releases

  1. 接下来还需要修改elasticsearch相关配置 修改 elasticsearch/config/elasticsearch.yml, 添加
    http.cors.enabled: true
    http.cors.allow-origin: "*"
    
  2. 安装node运行环境

地址:https://nodejs.org/en/download/

  1. 安装完node之后编译elasticsearch-head
    cd elasticsearch-head
    npm install
    npm run start
    
  2. open http://localhost:9100/

  3. 修改库可以加快编译速度:
    npm config set registry https://registry.npm.taobao.org
    

    ###kibana安装

  4. 下载安装kibana

https://www.elastic.co/downloads/kibana 解压到个人目录,并进入到bin目录下, 运行 kibana.bat。 浏览器中输入 http://localhost:5601