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# 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

  • 相关阅读:
    Html5实现iPhone开机界面
    Html5游戏开发-145行代码完成一个RPG小Demo
    HTML5开源RPG游戏引擎lufylegendRPG 1.0.0发布
    如何制作一款HTML5 RPG游戏引擎——第五篇,人物&人物特效
    如何制作一款HTML5 RPG游戏引擎——第四篇,情景对话
    如何制作一款HTML5 RPG游戏引擎——第三篇,利用幕布切换场景
    html5游戏开发-零基础开发《圣诞老人送礼物》小游戏
    如何制作一款HTML5 RPG游戏引擎——第二篇,烟雨+飞雪效果
    如何制作一款HTML5 RPG游戏引擎——第一篇,地图类的实现
    读CopyOnWriteArrayList有感
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13350302.html
Copyright © 2011-2022 走看看