zoukankan      html  css  js  c++  java
  • 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# 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

  • 相关阅读:
    怎样让jquery mobile 的footer/header 固定?
    smarty-smarty模板中类似for循环功能的实现代码
    mysql-MySql Update与case when
    PHP-获取用户所有定义的常量
    PHP-去掉php中var_dump()函数输出的省略号,让它完整显示0.0
    PHP--判断是否为时间戳
    Chrome/360极速/猎豹/枫树/浏览器去除视频网站广告利器插件——【切糕】广告视频屏蔽专家下载
    bootstrap使用modal动态对话框时,按回车键无法确认,反而取消对话框
    【bootstrap】常用bootstrap类库插件
    Thinkphp-开发技巧
  • 原文地址:https://www.cnblogs.com/zhaoyangjian724/p/6199247.html
Copyright © 2011-2022 走看看