Win10 install elasticsearch.msi

1、Download and Install Java8

Elasticsearch requires Java 8 or later. Use the official Oracle distribution or an open-source distribution such as OpenJDK.

my jdk-8u181-windows-x64.exe

java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

2、Download the .msi package

Download the .msi package for Elasticsearch v6.4.0 from 

https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.4.0.msi

3、Install using the graphical user interface (GUI)

Double-click the downloaded .msi package to launch a GUI wizard that will guide you through the installation process. 

Within the first screen, select the directory for the installation. In addition, select directories for where data, logs and configuration will reside or roll with the default locations:

Then select whether to install as a service or start Elasticsearch manually as needed. When installing as a service, you can also decide which account to run the service under as well as whether the service should be started after installation and when Windows is started or restarted:

Common configuration settings are exposed within the Configuration section, allowing the cluster name, node name and roles to be set, in addition to memory and network settings:

A list of common plugins that can be downloaded and installed as part of the installation, with the option to configure a HTTPS proxy through which to download:

Upon choosing to install X-Pack plugin, an additional step allows a choice of the type of X-Pack license to install, in addition to X-Pack security configuration and built-in user configuration:

X-Pack includes a choice of a Trial or Basic license for 30 days. After that, you can obtain one of the available subscriptions or disable Security. The Basic license is free and includes the Monitoring extension.

After clicking the install button, the installer will begin installation:

and will indicate when it has been successfully installed:

Checking that Elasticsearch is runningedit

You can test that your Elasticsearch node is running by sending an HTTP request to port 9200 on localhost:

http://localhost:9200/

{
  "name" : "DESKTOP-4IRKRFU",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "Ue6n3i3dSVSEYzK0df278Q",
  "version" : {
    "number" : "6.4.0",
    "build_flavor" : "unknown",
    "build_type" : "unknown",
    "build_hash" : "595516e",
    "build_date" : "2018-08-17T23:18:47.308994Z",
    "build_snapshot" : false,
    "lucene_version" : "7.4.0",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值