Monday, June 22, 2015

Install Elasticsearch on Centos 7.1

  1. Download Current Java Runtime Environment from:
  2. sudo rpm -Uvh jre-8u45-linux-x64.rpm
  3. java -version
  4. sudo rpm -Uvh
  5. Define localhost in /etc/elasticsearch/elasticsearch.yml
  6. sudo systemctl daemon-reload
  7. sudo systemctl enable elasticsearch.service
  8. sudo systemctl start elasticsearch.service
  9. Execute curl -XGET 'http://localhost:9200/_cluster/health?pretty=true' to make sure the server is up and running

No comments: