• 03_Elasticsearch如何安装以及相关插件的介绍


    03_Elasticsearch如何安装以及相关插件的介绍
    
    elasticsearch -d (-d参数是为了让服务后台运行)
    
    Elasticsearch 目录结构:
    
    文件夹                     作用
    /bin                        运行ElasicSearch实例和管理插件的一些脚本
    
    /config                     配置文件路径,包含elasticsearch.yml
    
    /data                       在节点上每个索引/碎片的数据文件的位置,可以有多个目录
    
    /lib                         ElasicSearch 使用的库
    
    /logs                        日志的文件夹
    
    /plugins                     已经安装的插件的存放位置
    
    zjtest7-redis:/usr/local/elasticsearch-2.3.4/plugins/head# ls
    elasticsearch-head.sublime-project  Gruntfile.js  grunt_fileSets.js  index.html  LICENCE  package.json  
    
    plugin-descriptor.properties  README.textile  _site  src  test
    zjtest7-redis:/usr/local/elasticsearch-2.3.4/plugins/head#
    
    
    Head 插件
    
    head 插件是一个elasticsearch的集群管理工具
    
    zjtest7-haproxy:/usr/local/elasticsearch-2.3.4# ./bin/plugin install mobz/elasticsearch-head
    -> Installing mobz/elasticsearch-head...
    Trying https://github.com/mobz/elasticsearch-head/archive/master.zip ...
    Downloading 
    
    ........................................................................................................
    
    ........................................................................................................
    
    ........................................................................................................
    
    ........................................................................................................
    
    ........................................................................................................
    
    ........................................................................................................
    
    .........................................DONE
    Verifying https://github.com/mobz/elasticsearch-head/archive/master.zip checksums if available ...
    NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
    Installed head into /usr/local/elasticsearch-2.3.4/plugins/head
    zjtest7-haproxy:/usr/local/elasticsearch-2.3.4# cd plugins/
    zjtest7-haproxy:/usr/local/elasticsearch-2.3.4/plugins# ls
    head
    
    Bigdesk插件:
    
    bigdesk是elasticsearch的集群监控工具,可以通过它来查看集群的各种状态
    
    如:cpu,内存使用情况,索引数据,搜索情况,http连接数等
    
    安装bigdesk:
    
    zjtest7-haproxy:/usr/local/elasticsearch-2.3.4# ./bin/plugin install hlstudio/bigdesk 
    -> Installing hlstudio/bigdesk...
    Trying https://github.com/hlstudio/bigdesk/archive/master.zip ...
    Downloading 
    
    ........................................................................................................
    
    ...................................................................................................DONE
    Verifying https://github.com/hlstudio/bigdesk/archive/master.zip checksums if available ...
    NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
    Installed bigdesk into /usr/local/elasticsearch-2.3.4/plugins/bigdesk
    zjtest7-haproxy:/usr/local/elasticsearch-2.3.4# 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

  • 相关阅读:
    Recyclerview设置间距
    Python-socket / socketserver
    服务器存储空间不足,无法处理此命令
    gitbucket
    一些好用的Linux命令组合
    Python socket模块
    用Python在局域网根据IP地址查找计算机名
    thinkpad开机引导方式变成PCI LAN选项解决
    ipython安装
    python xml
  • 原文地址:https://www.cnblogs.com/zhaoyangjian724/p/6199247.html
Copyright © 2020-2023  润新知