- Download Current Java Runtime Environment from: http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
- sudo rpm -Uvh jre-8u45-linux-x64.rpm
- java -version
- sudo rpm -Uvh https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.6.0.noarch.rpm
- Define network.host: localhost in /etc/elasticsearch/elasticsearch.yml
- sudo systemctl daemon-reload
- sudo systemctl enable elasticsearch.service
- sudo systemctl start elasticsearch.service
- Execute curl -XGET 'http://localhost:9200/_cluster/health?pretty=true' to make sure the server is up and running
Monday, June 22, 2015
Install Elasticsearch on Centos 7.1
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment