Setup edit

This 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.

Note

Elasticsearch can also be installed from our repositories using apt or yum. See Repositories.

Installationedit

After 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 foreground. To run it in the background, add the -d switch to it:

$ bin/elasticsearch -d

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.