Last active
August 29, 2015 13:56
-
-
Save gdakram/8962021 to your computer and use it in GitHub Desktop.
CentOS (64bit) - ElasticSearch Installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the adventurous,
bash <(curl -s https://gist.github.com/gdakram/8962021/raw/def44f205af698dec97d73c49adc1c6317f7858a/install-elasticsearch.sh)