rpm --import http://packages.elasticsearch.org/GPG-KEY-elasticsearchvim /etc/yum.repos.d/elasticsearch.repo
[elasticsearch-1.0] name=Elasticsearch repository for 1.0.x packages baseurl=http://packages.elasticsearch.org/elasticsearch/1.0/centos gpgcheck=1 gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch enabled=1yum update
yum install java-1.7.0-openjdk.i686 -y
yum install elasticsearch
Start ElasticSearch
/etc/init.d/elasticsearch startIf you are wondering where the data directory is for this installations steps, it is stored at:
/var/lib/elasticsearch/elasticsearch
No comments:
Post a Comment