
STEP 3: Install Elasticsearch 2.3
Elasticsearch requires at least Java version 7. We have already installed Java in the first step. To check the current version installed, run java -version
.
Once it is verified that the version installed is at least Java 7, we can now proceed in installing Elasticsearch.
Install the public signing key from elastic.co’s repository:
Just as we did with MongoDB, we need to add the Elasticsearch repository in our configuration. Create a new file vim /etc/yum.repos.d/
an copy the following inside it.
Install Elasticsearch using yum.
Open the Elasticsearch configuration file with and edit the cluster.name and network.host
vim /etc/elasticsearch/