Welcome to the installation guide for Elasticsearch. This guide will walk you through the process of installing Elasticsearch on your system. Make sure you have the necessary prerequisites before proceeding.
Prerequisites
- Java Runtime Environment (JRE) (Elasticsearch is written in Java)
- Elasticsearch downloaded to your system
Installation Steps
Download Elasticsearch:
- Visit the Elasticsearch download page and download the latest version.
Extract the Downloaded Archive:
- Unzip the downloaded file to a directory of your choice.
Set the Environment Variables:
- Add the Elasticsearch binary directory to your
PATH
environment variable. For example, in bash:export PATH=$PATH:/path/to/elasticsearch/bin
- Add the Elasticsearch binary directory to your
Start Elasticsearch:
- Run the Elasticsearch binary:
./elasticsearch
- You should see a log output indicating that Elasticsearch is starting up.
- Run the Elasticsearch binary:
Verify the Installation:
- Open your web browser and navigate to
localhost:9200
. - You should see the Elasticsearch welcome JSON response.
- Open your web browser and navigate to
Next Steps
- Learn more about Elasticsearch configuration.
- Explore Elasticsearch tutorials to get started with your first queries.
Elasticsearch Logo