安装部署elasticseartch
来源:互联网 发布:北京体检哪里好 知乎 编辑:程序博客网 时间:2024/05/22 11:32
下载+安装
cd /usr/local
mkdir elasticsearch
cd elasticsearch
wget http://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.5.zip
unzip elasticsearch-0.90.5.zip
修改集群名:vim config/elasticsearch.yml
cluster.name: syslog
修改节点名:node.name: 153.201-HP
修改分片数:index.number_of_shards: 5 (默认为5)
修改备份数: index.number_of_replicas: 1 (默认也是1)
以及修改以下配置(查看elasticsearch.yml文件中的配置说明)
node.master: true
node.data: true
path.conf: /usr/local/elasticsearch/config
path.data: /data1/elasticsearch/data,/data2/elasticsearch/data
path.work: /data1/elasticsearch/work
path.plugins: /usr/local/elasticsearch/config/plugins
bootstrap.mlockall: true
network.publish_host: 153-201
discovery.zen.minimum_master_nodes: 2
discovery.zen.ping.timeout: 10s
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["153-201"]
安装插件
bin/plugin -install lukas-vlcek/bigdesk
bin/plugin -install mobz/elasticsearch-head
bin/elasticsearch
查看:
http://localhost:9200/_plugin/head/
http://localhost:9200/_plugin/bigdesk/#nodes
- 安装部署elasticseartch
- 安装部署
- 安装部署
- 部署安装
- .Net安装部署(Copy部署/功能部署/预编译部署)
- mysql的安装部署
- VS.NET安装部署
- sql安装部署
- 安装和部署
- 水晶报表 - 安装&部署
- 水晶报表 - 安装&部署
- 水晶报表 - 安装&部署
- 水晶报表 - 安装&部署
- .NET安装部署
- moss2007安装部署历程
- 安装部署的问题
- VS2003 安装部署1
- VS2003 安装部署2
- iis 反向代理
- 代理模式与动态代理
- CURL COOKIE
- android3.1以上系统中服务不能开机启动解决方案
- 2013年12月北京市广播电台网络影响力排名
- 安装部署elasticseartch
- 《Apache MINA 2.0 用户指南》第八章:字节缓存
- 关于IE的BUG(CSS)
- 图片压缩
- ViewPager整合Fragment实现导航或滑动翻页
- java中IO流总结
- 三次握手Three-way Handshake
- PHP生成自带logo的二维码
- 自定义UIAlertView样式,实现可替换背景和按钮 IOS7无效