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

     
     
     
  • 相关阅读:
    制作IOS 后台极光推送时,遇到的小问题
    如何实现IOS_SearchBar搜索栏及关键字高亮
    使用WKWebView替换UIWebView,并且配置网页打电话功能
    [Creating an image format with an unknown type is an error] on cordova, ios 10
    面向对象语言还需要指针么?
    推荐一个简单好用的接口——字典序列化
    ITTC数据挖掘系统(六)批量任务,数据查看器和自由文档
    java的LINQ :Linq4j简明介绍
    别语言之争了,最牛逼的语言不是.NET,也不是JAVA!
    ITTC数据挖掘平台介绍(五) 数据导入导出向导和报告生成
  • 原文地址:https://www.cnblogs.com/jackyu126/p/6045702.html
Copyright © 2011-2022 走看看