zoukankan      html  css  js  c++  java
  • ElasticSearch可视化工具ElasticHD安装

    ElasticHD两种安装方式

    1、ElasticHD介绍

    ElasticHD 支持 ES监控、实时搜索,Index template快捷替换修改,索引列表信息查看, SQL converts to DSL工具等

    2、安装

    ElasticHD是gitHub上的一个开源项目,没有官方网站,需要安装直接在releases里下载对应的版本即可,gitHub地址
    https://github.com/360EntSecGroup-Skylar/ElasticHD

    2.1 直接安装

    1、通过https://github.com/360EntSecGroup-Skylar/ElasticHD/releases下载对应的zip包,我这里是在centos上安装的1.4版本
    wget https://github.com/360EntSecGroup-Skylar/ElasticHD/releases/download/1.4/elasticHD_linux_amd64.zip
    
    2、解压授权
    # 解压
    unzip elasticHD_linux_amd64.zip
    # 授权,这一步可以自行查看是否有可执行权限,根据实际情况选择执行或者不执行
    chmod 777 ./ElasticHD
    
    3、运行
    说是安装其实就是执行下载的这个可执行文件,这里需要后台运行
    nohup ./ElasticHD -p 127.0.0.1:9800 > elasticHD.log 2>&1 &
    这里最好吧127.0.0.1改成0.0.0.0,不然可能会出现不能远程访问的情况
    

    2.2 docker镜像安装

    1、直接去gitHub找到ElasticHD的开源项目,里面有Dockerfile,直接下载下来
    FROM alpine:latest
    
    RUN apk add --no-cache curl && 
        cd /tmp && 
        curl -L https://github.com/farmerx/ElasticHD/releases/download/1.4/elasticHD_linux_amd64.zip > elasticHD_linux_amd64.zip && 
        unzip elasticHD_linux_amd64.zip -d /usr/local/bin && 
        rm -f elasticHD_linux_amd64.zip
    
    RUN adduser -D elastic
    
    USER elastic
    
    EXPOSE 9800
    
    ENTRYPOINT ["ElasticHD"]
    

    这里面版本是URL里的1.4
    如果需要换版本直接修改Dockerfile中的URL地址中1.4到地址版本即可,目前最高版本1.4

    ----不要拉项目了,很傻逼,从gitHub拉的很慢,而且没有用,亲测

    2、使用Dockerfile制作Docker镜像

    docker build -t elastichd:1.4 .

    3、运行

    docker run -d --name elastichd -p 9800:9800 elastichd:1.4

  • 相关阅读:
    Intel CPU编号详解
    matplotlib(二)——matplotlib控制坐标轴第一个刻度到原点距离
    matplotlib(一)——matplotlib横轴坐标密集字符覆盖
    博客园定制页面(五)——使用自定义JS脚本(公告栏显示时间)
    PyCharm(二)——PyCharm打开本地项目不显示项目文件
    nohup命令
    URL是如何解析的
    Python 得到主机字节序
    Python 得到ISP地址
    亚马逊s3上传大文件Python
  • 原文地址:https://www.cnblogs.com/SunArmy/p/13096883.html
Copyright © 2011-2022 走看看