Elasticsearch installation on the server vps DA

As the need arose recently elasticsearch installation and it is not too demanding decided to describe how we can make the installation in a few very simple steps.

So let's get started.

 

All software requires a minimum version of Java 1.7 So at the beginning we will update the repo and install java.

 

System update:

java installation a lot:

If everything went ok after entering the command java -version You should get :

then we grab the key and create a repository elasticsearch

/etc/yum.repos.d/Elasticsearch.repo file should have a content:

We do instlacji:

It remained practically the whole work we made some editing in the same configuration elasticsearch we released it to the world.

We do edit the file /etc / elasticsearch / elasticsearch.yml

and change:

node.name: node 1 should be commented on.

next

Then, from commenting 2 options:

network.host: IPSERWERA and give your server ip and vps

http.port: 9200 – it is a port in which we see on the web elasticsearch

after making these changes we can save and run the script.

If everything goes correctly at IPSERWERA:9200 we should see something like this:

Everything works perfectly fine 🙂

If you do not see SRON must add a port 9200 do allow firewalla.

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.