• 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# 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

  • 相关阅读:
    QTP问题:查询文件被占用
    QTP自动化
    Spring: $Proxy9 cannot be cast to test.spring.service.impl.PersonServiceImpl2
    spring: White spaces are required between publicId and systemId.
    spring学习1
    MyBatis学习(1)
    从技术人员的角度看,公司怎么生存?
    一天一工程总结系列-7.7-KVOController
    appCode使用说明
    ios开发中的字符串常量如何处理
  • 原文地址:https://www.cnblogs.com/zhaoyangjian724/p/6199247.html
Copyright © 2020-2023  润新知