Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

โ€œInvest in yourself โ€” your confidence is always worth it.โ€

Explore Cosmetic Hospitals

Start your journey today โ€” compare options in one place.

Install and Configure Elasticsearch: Step by Step Guide

Install and Configure Elasticsearch in Linux

Download and Extract Elasticsearch


https://www.elastic.co/downloads/elasticsearch
Code language: JavaScript (javascript)

Run and Verify Elasticsearch 9.3


# AS NORMAL USER - NOT using root
$ cd /home/ubuntu
$ wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-9.3.3-linux-x86_64.tar.gz
$ tar -zxvf elasticsearch-9.3.3-linux-x86_64.tar.gz
$ mv elasticsearch-9.3.3 elasticsearch
$ cd elasticsearch/bin
$ ./elasticsearch

Out are given below;Code language: PHP (php)
On Another Terminal

$ curl --cacert /home/ubuntu/elasticsearch/config/certs/http_ca.crt -u elastic https://localhost:9200
Enter host password for user 'elastic':
{
  "name" : "ip-172-31-16-174",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "rTSCc0r5RbilexhVebzaog",
  "version" : {
    "number" : "9.3.3",
    "build_flavor" : "default",
    "build_type" : "tar",
    "build_hash" : "640408e2dfd2af9fbfe5079e1575f93d8909a5f5",
    "build_date" : "2026-04-01T22:08:18.783399214Z",
    "build_snapshot" : false,
    "lucene_version" : "10.3.2",
    "minimum_wire_compatibility_version" : "8.19.0",
    "minimum_index_compatibility_version" : "8.0.0"
  },
  "tagline" : "You Know, for Search"
}
Code language: JavaScript (javascript)

Run and Verify Elasticsearch 7.x


$ sudo yum install wget -y
$ wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.15.0-linux-x86_64.tar.gz
$ tar -zxvf elasticsearch-7.15.0-linux-x86_64.tar.gz
$ cd elasticsearch-7.15.0
$ ./bin/elasticsearch -d -p pid
$ ps -eaf | grep elasCode language: JavaScript (javascript)

Run and Verify Elasticsearch 8.x


Terminal#1
$ wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.9.1-linux-x86_64.tar.gz
$ tar -zxvf elasticsearch-8.9.1-linux-x86_64.tar.gz
$ cd elasticsearch-8.9.1
$ ls config/
$ cd bin
$ ./elasticsearch

Terminal#2
$ curl --cacert /home/ubuntu/elasticsearch-8.9.1/config/certs/http_ca.crt -u elastic https://localhost:9200
Enter host password for user 'elastic':
{
  "name" : "ip-172-31-58-60",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "dvbfb_NLS6qy1iuhc4yvKA",
  "version" : {
    "number" : "8.9.1",
    "build_flavor" : "default",
    "build_type" : "tar",
    "build_hash" : "a813d015ef1826148d9d389bd1c0d781c6e349f0",
    "build_date" : "2023-08-10T05:02:32.517455352Z",
    "build_snapshot" : false,
    "lucene_version" : "9.7.0",
    "minimum_wire_compatibility_version" : "7.17.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "You Know, for Search"
}Code language: PHP (php)

Run and Verify Elasticsearch 9.x


$ wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-9.0.0-linux-x86_64.tar.gz
$ tar -zxvf elasticsearch-9.0.0-linux-x86_64.tar.gz
$ cd ubuntu/elasticsearch-9.0.0
$ bin/elasticsearchCode language: JavaScript (javascript)

ubuntu@ip-172-31-38-122:~$ curl –cacert /home/ubuntu/elasticsearch-9.0.0/config/certs/http_ca.crt -u elastic https://localhost:9200
Enter host password for user ‘elastic’:
{
“name” : “ip-172-31-38-122”,
“cluster_name” : “elasticsearch”,
“cluster_uuid” : “wN4YsWQpQYSMNhIq-dRrMQ”,
“version” : {
“number” : “9.0.0”,
“build_flavor” : “default”,
“build_type” : “tar”,
“build_hash” : “112859b85d50de2a7e63f73c8fc70b99eea24291”,
“build_date” : “2026-04-08T15:13:46.049795831Z”,
“build_snapshot” : false,
“lucene_version” : “10.1.0”,
“minimum_wire_compatibility_version” : “8.18.0”,
“minimum_index_compatibility_version” : “8.0.0”
},
“tagline” : “You Know, for Search”
}


Images for Elasticsearch Install Validation

Install Elasticsearch with Docker


Pulling the image
Obtaining Elasticsearch for Docker is as simple as issuing a docker pull command against the Elastic Docker registry.
$ docker pull docker.elastic.co/elasticsearch/elasticsearch:7.15.0

Starting a single node cluster with Docker
To start a single-node Elasticsearch cluster for development or testing, specify single-node discovery to bypass the bootstrap checks:
$ docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.15.0Code language: JavaScript (javascript)

Elasticsearch Configuration file

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
Iโ€™m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at <a href="https://www.cotocus.com/">Cotocus</a>. I share tech blog at <a href="https://www.devopsschool.com/">DevOps School</a>, travel stories at <a href="https://www.holidaylandmark.com/">Holiday Landmark</a>, stock market tips at <a href="https://www.stocksmantra.in/">Stocks Mantra</a>, health and fitness guidance at <a href="https://www.mymedicplus.com/">My Medic Plus</a>, product reviews at <a href="https://www.truereviewnow.com/">TrueReviewNow</a> , and SEO strategies at <a href="https://www.wizbrand.com/">Wizbrand.</a> Do you want to learn <a href="https://www.quantumuting.com/">Quantum Computing</a>? <strong>Please find my social handles as below;</strong> <a href="https://www.rajeshkumar.xyz/">Rajesh Kumar Personal Website</a> <a href="https://www.youtube.com/TheDevOpsSchool">Rajesh Kumar at YOUTUBE</a> <a href="https://www.instagram.com/rajeshkumarin">Rajesh Kumar at INSTAGRAM</a> <a href="https://x.com/RajeshKumarIn">Rajesh Kumar at X</a> <a href="https://www.facebook.com/RajeshKumarLog">Rajesh Kumar at FACEBOOK</a> <a href="https://www.linkedin.com/in/rajeshkumarin/">Rajesh Kumar at LINKEDIN</a> <a href="https://www.wizbrand.com/rajeshkumar">Rajesh Kumar at WIZBRAND</a> <a href="https://www.rajeshkumar.xyz/dailylogs">Rajesh Kumar DailyLogs</a>

Related Posts

How to install & configure Elastic Filebeat?

Filebeat client is a lightweight, resource-friendly tool that collects logs from files on the server and forwards these logs to your Logstash instance for processing. Filebeat is…

Read More

About Elastic (The Company)

Certainly! Here’s a detailed overview of Elastic N.V. (commonly known as Elastic, the company behind Elasticsearch), covering its transformation, history, key milestones, product evolution, and major release…

Read More

How to install kibana and configure with Elasticsearch

Download & Extract kibana 8.x Configure kibana 8.x Download, Extract, Install and Configure kibana 9.x vi config/kibana.yml ./bin/kibana –allow-root Provide Enrollment Kye of ElasticSearch Login to Kibana…

Read More

Aws Tutorials: FinOps โ€“ List of all Elasticcache cost optimization strategies

Here’s a table summarizing the cost optimization strategies for Amazon ElastiCache: Strategy Description Right-Sizing Instances Select instance types that match workload requirements. Use smaller nodes for development…

Read More

AWS Tutorials: Difference between Amazon Elasticsearch Service and Amazon Elastic cache Service

Here is a comparison table highlighting the differences between Amazon Elasticsearch Service (now known as Amazon OpenSearch Service) and Amazon ElastiCache Service: Feature/Aspect Amazon OpenSearch Service Amazon…

Read More

AWS Tutorials: How to Shutdown (Stop / Start) ElastiCache Service in AWS

ElastiCache does not support direct stopping and starting of clusters. Instead, the best way to minimize the cost of ElastiCache when it’s not in use is to…

Read More