Skip to content

Instantly share code, notes, and snippets.

@gdakram
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdakram/8962021 to your computer and use it in GitHub Desktop.
Save gdakram/8962021 to your computer and use it in GitHub Desktop.
CentOS (64bit) - ElasticSearch Installation
[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
# as root
rpm --import http://packages.elasticsearch.org/GPG-KEY-elasticsearch
wget -O /etc/yum.repos.d/elasticsearch.repo https://gist.github.com/gdakram/8962021/raw/072f98d0d6e1bfa64227aa466de1dc0a4901d307/elasticsearch.repo
yum install elasticsearch
yum install java-1.7.0-openjdk.x86_64
# now, ready to dance.
chkconfig --add elasticsearch
service elasticsearch start
# default data directory
# /var/lib/elasticsearch/elasticsearch/nodes
# default conf directory
# /etc/elasticsearch
# default logs directory
# /var/log/elasticsearch
@gdakram
Copy link
Author

gdakram commented Feb 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment