• 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

     
     
     
  • 相关阅读:
    mongodb的sql日志
    mysql – 在WHERE子句中使用substr的SELECT语句
    MySQL视图
    Linux简单查找log
    转 信号量与PV操作
    二进制小数及 IEEE 浮点表示
    转 :原码,反码,补码
    转:C# Delegate委托 1
    C#中Invoke的用法2
    C#中Invoke的用法1
  • 原文地址:https://www.cnblogs.com/jackyu126/p/6045702.html
Copyright © 2020-2023  润新知