Install Elastisearch Using Source code

Install Elastisearch Using Repo In Linux

ELK Stack is a blend of three Open Source ventures: Elasticsearch, Logstash and Kibana dependent on Java.

Check Out:  Install Elasticsearch Using Source Code

Let’s Begin Installation

Note : You must have Java installed and Path should be configured & don’t run Elasticsearch with a Root User.

Features of Elasticsearch

With Elasticsearch, this provides features like Security, Alterting, Reporting, Monitoring, Graph, Machine Learning, Elasticsearch SQL and Canvas.

Download Elasticseach From here

Step 1: Install Java

Check Out : Install Java 8

sudo rpm -ivh jdk-12_linux-x64_bin.rpm

Step 2: Add Elasticsearch repository

Check Out: Configuration Settings of Elasticsearch Before Installing

Create a Repo file in vim /etc/yum.repos.d/elastic.repo

After adding the repository, run below commands

sudo yum clean all & yum makecache fast && yum repolist

Install Elasticsearch 

sudo yum install elasticsearch -y

Check Out: BootStrap Checks Failed In ElasticSearch

Verify it by rpm -qa elasticsearch

Step 3: Start Services and daemon for Elasticsearch

sudo systemctl daemon-reload

sudo systemctl start elasticsearch && systemctl enable elasticsearch

Check Out: Error : Can’t Run Elasticsearch As Root

Step 4: Now Add Ports in firewall to allow external traffic,

sudo firewall-cmd –permanent –add-port=9200/tcp && sudo firewall-cmd –permanent –add-port=9300/tcp && sudo firewall-cmd –-reload

Step 5: Now check whether it’s running or not by

Check Out:

sudo GET “192.168.185.143:9200”

Else

http://192.168.185.143:9200

You’re done

Sponsored

LEAVE A REPLY

Please enter your comment!
Please enter your name here