This tutorial will guide you through the steps to install Elasticsearch on Windows 10.
Prerequisites:
- Java Development Kit (JDK) version 8 or later version should be installed in your system.
- Elasticsearch software package should be downloaded from the official Elasticsearch website: https://www.elastic.co/
Steps to Follow:
- Extract the downloaded Elasticsearch zip file to a directory of your choice. For example, you can extract it to C:\elasticsearch.
- Navigate to the extracted directory and open the config folder.
- Locate the elasticsearch.yml file and open it in any text editor. Set the cluster name to a unique name for your system. For example:
cluster.name: my-elastic-cluster
- Open the command prompt and navigate to the bin directory of Elasticsearch installed in your system. For example, C:\elasticsearch\bin.
- Run the elasticsearch.bat file by typing the following command in the command prompt:
.\elasticsearch.bat
- Elasticsearch will start running on your system.
- To check if Elasticsearch is running successfully, open any web browser and go to http://localhost:9200/. You should see a JSON message that confirms the successful installation of Elasticsearch.
Congratulations! You have successfully installed Elasticsearch on your Windows 10 machine.
Note: Elasticsearch is a powerful search and analytics engine that requires significant resources to run efficiently. Ensure you have adequate system resources before running Elasticsearch in production.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!