Elasticsearch is an open source, standalone database server developed in Java.It can be accessible through an extensive and elaborate API, Elasticsearch can power extremely fast searches and High performance.But it has some limitations to overcome the limitation AWS has released this "Open Distro for Elasticsearch" with more additonal features with advanced security, alerting, deep performance analysis, etc.
I this blog I will show how to install "OpenDistro Elasticsearch" in Centos 7.6
Step 1 :
Install Java 8 or 11
# yum install -y java-1.8.0-openjdk-devel
Step 2 :
Create the repository for OpenDistro Elasticsearch,
# curl https://d3g5vo6xdbdb9a.cloudfront.net/yum/opendistroforelasticsearch-artifacts.repo -o /etc/yum.repos.d/opendistroforelasticsearch-artifacts.repo
Step 3 :
Install OpenDistro Elasticsearch.
# yum install -y opendistroforelasticsearch-1.2.0
It will install latest supported verion of EL 7.X
Step 4 :
Start the service and check the elasticsearch status,
# systemctl start elasticsearch.service
# systemctl status elasticsearch.service
By default Elastricsearch use port number 9200 to access from outside.So in your firewall allow the port to access from outside.
Step 5 :
Verifying the elasticsearch server status,
By default it comes with security to access the Elasticsearch, below command use to check the version details,
# curl -XGET https://localhost:9200 -u admin:admin --insecure
That's all, OpenDistro Elasticsearch has been installed successfully in Centos 7.6.
Brief and clear installation
ReplyDeletePost a Comment