zoukankan      html  css  js  c++  java
  • Elasticsearch5.0 Installation

    Linux环境下---Centos6.5

    1. Elasticsearch5.0安装

      前提条件:JDK版本必须要求1.8以上

      java -version

      echo $JAVA_HOME

    2.下载:官方地址:https://www.elastic.co/downloads

    或:

    curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.0.0.tar.gz
    解压:
    tar -xvf elasticsearch-5.0.0.tar.gz
    cd elasticsearch-5.0.0/bin
    启动服务:
    ./elasticsearch

    [yudc@10-10-190-147 bin]$ ./elasticsearch
    [2016-11-09T09:31:19,812][INFO ][o.e.n.Node ] [] initializing ...
    [2016-11-09T09:31:19,895][INFO ][o.e.e.NodeEnvironment ] [NVxjSLs] using [1] data paths, mounts [[/data (/dev/vdb)]], net usable_space [198.2gb], net total_space [492.1gb], spins? [possibly], types [ext4]
    [2016-11-09T09:31:19,895][INFO ][o.e.e.NodeEnvironment ] [NVxjSLs] heap size [1.9gb], compressed ordinary object pointers [true]
    [2016-11-09T09:31:19,904][INFO ][o.e.n.Node ] [NVxjSLs] node name [NVxjSLs] derived from node ID; set [node.name] to override
    [2016-11-09T09:31:19,906][INFO ][o.e.n.Node ] [NVxjSLs] version[5.0.0], pid[29956], build[253032b/2016-10-26T04:37:51.531Z], OS[Linux/2.6.32-431.11.22.el6.ucloud.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_111/25.111-b14]
    [2016-11-09T09:31:20,732][INFO ][o.e.p.PluginsService ] [NVxjSLs] loaded module [aggs-matrix-stats]
    [2016-11-09T09:31:20,733][INFO ][o.e.p.PluginsService ] [NVxjSLs] loaded module [ingest-common]
    [2016-11-09T09:31:20,733][INFO ][o.e.p.PluginsService ] [NVxjSLs] loaded module [lang-expression]
    [2016-11-09T09:31:20,733][INFO ][o.e.p.PluginsService ] [NVxjSLs] loaded module [lang-groovy]
    [2016-11-09T09:31:20,733][INFO ][o.e.p.PluginsService ] [NVxjSLs] loaded module [lang-mustache]
    [2016-11-09T09:31:20,733][INFO ][o.e.p.PluginsService ] [NVxjSLs] loaded module [lang-painless]
    [2016-11-09T09:31:20,733][INFO ][o.e.p.PluginsService ] [NVxjSLs] loaded module [percolator]
    [2016-11-09T09:31:20,733][INFO ][o.e.p.PluginsService ] [NVxjSLs] loaded module [reindex]
    [2016-11-09T09:31:20,733][INFO ][o.e.p.PluginsService ] [NVxjSLs] loaded module [transport-netty3]
    [2016-11-09T09:31:20,734][INFO ][o.e.p.PluginsService ] [NVxjSLs] loaded module [transport-netty4]
    [2016-11-09T09:31:20,734][INFO ][o.e.p.PluginsService ] [NVxjSLs] loaded plugin [analysis-icu]
    [2016-11-09T09:31:22,874][INFO ][o.e.n.Node ] [NVxjSLs] initialized
    [2016-11-09T09:31:22,874][INFO ][o.e.n.Node ] [NVxjSLs] starting ...
    [2016-11-09T09:31:23,074][INFO ][o.e.t.TransportService ] [NVxjSLs] publish_address {10.10.190.147:9300}, bound_addresses {10.10.190.147:9300}
    [2016-11-09T09:31:23,087][INFO ][o.e.b.BootstrapCheck ] [NVxjSLs] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
    ERROR: bootstrap checks failed
    max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]
    [2016-11-09T09:31:23,095][INFO ][o.e.n.Node ] [NVxjSLs] stopping ...
    [2016-11-09T09:31:23,132][INFO ][o.e.n.Node ] [NVxjSLs] stopped
    [2016-11-09T09:31:23,132][INFO ][o.e.n.Node ] [NVxjSLs] closing ...
    [2016-11-09T09:31:23,142][INFO ][o.e.n.Node ] [NVxjSLs] closed

     
    或集群启动
    ./elasticsearch -Ecluster.name=my_cluster_name -Enode.name=my_node_name

     
     
     
  • 相关阅读:
    iptables防火墙--------基本操作
    iptables防火墙--------基本概念
    常用运维工具小结
    ELK6.6.0+filebeat6.6.0部署
    Yum安装时出现 The program yum-complete-transaction is found in the yum-utils package
    重温面向对象核心 下 : 你一定能看懂的委托和事件
    重温面向对象核心 上
    程序员创业第一步:如何获取第一笔风险投资
    MVC + EFCore 完整教程19-- 最简方法读取json配置:自定义configuration读取配置文件
    MVC+EFCore 完整教程18 -- 升级分布视图至 View Component
  • 原文地址:https://www.cnblogs.com/jackyu126/p/6045702.html
Copyright © 2011-2022 走看看