WARNING: Version 0.90 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Setup
editSetup
editThis section includes information on how to setup elasticsearch and get it running. If you haven’t already, download it, and then check the installation docs.
Elasticsearch can also be installed from our repositories using apt
or yum
.
See Repositories.
Installation
editAfter downloading the latest release and extracting it, elasticsearch can be started using:
$ bin/elasticsearch
Under *nix system, the command will start the process in the background.
To run it in the foreground, add the -f
switch to it:
$ bin/elasticsearch -f
ElasticSearch is built using Java, and requires at least
Java 6 in order to run.
The version of Java that will be used can be set by setting the
JAVA_HOME
environment variable.