Thursday, May 15, 2014

Yum Install ElasticSearch 1.x

Note: Works for CentOS/RHEL/Fedora.
rpm --import http://packages.elasticsearch.org/GPG-KEY-elasticsearch
vim /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=1
yum update
yum install java-1.7.0-openjdk.i686 -y
yum install elasticsearch

Start ElasticSearch

/etc/init.d/elasticsearch start

If you are wondering where the data directory is for this installations steps, it is stored at:

/var/lib/elasticsearch/elasticsearch

  • Related Links Widget for Blogspot

No comments: