elasticsearchHow do I download Elasticsearch?
- Download the latest version of Elasticsearch from the official website at elastic.co/downloads/elasticsearch.
- Extract the downloaded file.
- Open a command prompt and navigate to the directory where you extracted the file.
- Execute the following command to start the Elasticsearch server:
bin/elasticsearch
- The output should look something like this:
[2020-03-25T17:17:10,788][INFO ][o.e.n.Node ] [node-1] initializing ...
[2020-03-25T17:17:10,895][INFO ][o.e.e.NodeEnvironment ] [node-1] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [24.4gb], net total_space [29.5gb], spins? [unknown], types [rootfs]
[2020-03-25T17:17:10,898][INFO ][o.e.e.NodeEnvironment ] [node-1] heap size [989.8mb], compressed ordinary object pointers [true]
[2020-03-25T17:17:10,908][INFO ][o.e.n.Node ] [node-1] node name [node-1], node ID [V9tTq2GpQX-j_Kv5HUWKJQ]
[2020-03-25T17:17:10,908][INFO ][o.e.n.Node ] [node-1] version[7.6.0], pid[14686], build[default/tar/2f90bbf/2020-02-14T02:00:36.839739Z], OS[Linux/4.15.0-66-generic/amd64], JVM[AdoptOpenJDK/OpenJDK 64-Bit Server VM/14.0.1/14.0.1+7]
- You can verify that Elasticsearch is running by navigating to localhost:9200 in your browser.
- You should see a response like this:
{
"name" : "node-1",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "V9tTq2GpQX-j_Kv5HUWKJQ",
"version" : {
"number" : "7.6.0",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "2f90bbf",
"build_date" : "2020-02-14T02:00:36.839739Z",
"build_snapshot" : false,
"lucene_version" : "8.4.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
More of Elasticsearch
- How do I use an elasticsearch query builder?
- How can I use Elasticsearch and ZFS together?
- How can I use Yandex Mirror to access Elasticsearch data?
- How can I use Elasticsearch and Zookeeper together to manage distributed applications?
- How can I use Elasticsearch to diagnose "yellow" issues?
- How can I use Elasticsearch and Zabbix together for software development?
- How do I set up an Elasticsearch Yum repository?
- How can I use YouTube to learn about Elasticsearch?
- How can I use elasticsearch zone awareness to improve my software development?
- How do I configure elasticsearch to use an XMS memory allocator?
See more codes...