目录:
系统环境准备
fs.file-max=655350
vm.max_map_count=655360
* soft nofile 655350
* hard nofile 655350
安装ES集群
# ---------------------------------- Cluster ----------------------------------- cluster.name: JNES http.cors.enabled: true http.cors.allow-origin: "*" thread_pool: bulk: size: 3 queue_size: 1000 # ------------------------------------ Node ------------------------------------ node.name: JNES01 # ----------------------------------- Paths ------------------------------------ path.data: /mnt/data/esdata # ----------------------------------- Memory ----------------------------------- bootstrap.memory_lock: false indices.fielddata.cache.size: 25% # ---------------------------------- Network ----------------------------------- network.host: 10.0.0.5 http.port: 12000 transport.tcp.port: 12300 # --------------------------------- Discovery ---------------------------------- discovery.zen.ping.unicast.hosts: ["10.0.0.5", "10.0.0.6"] discovery.zen.minimum_master_nodes: 1 discovery.zen.ping_timeout: 20s # ---------------------------------- Various ----------------------------------- action.auto_create_index: true xpack.security.enabled: false
安装Kibana
server.port: 5500 server.host: "10.0.0.5" elasticsearch.url: "http://10.0.0.5:12000" elasticsearch.requestTimeout: 180000 elasticsearch.pingTimeout: 15000 xpack.security.enabled: false
切换至kibana目录: cd /zhu/kibana-5.1.1-linux-x86_64/
安装x-pack
安装head
export NODE_HOME=/zhu/node
export PATH=$PATH:$NODE_HOME/bin
命令:source /etc/profile
ES(二): Build ES Cluster on Azure VM
原文:http://www.cnblogs.com/tgzhu/p/6424224.html