Skip to content

Instantly share code, notes, and snippets.

@aabele
Created June 30, 2016 09:42
Show Gist options
  • Save aabele/a7ff7a5337dbcb8788faf2e64db60f21 to your computer and use it in GitHub Desktop.
Save aabele/a7ff7a5337dbcb8788faf2e64db60f21 to your computer and use it in GitHub Desktop.
Elasticsearch downgrade on CentOS 6
service elasticsearch stop
yum list installed | grep elastic
yum remove elasticsearch.noarch
wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.0.noarch.rpm
yum install elasticsearch-1.7.0.noarch.rpm
rm /var/lock/subsys/elasticsearch -Rf
rm -Rf /var/lib/elasticsearch/*
service elasticsearch start
curl -XGET '127.0.0.1:9200'
---
{
"status" : 200,
"name" : "Gibbon",
"cluster_name" : "elasticsearch",
"version" : {
"number" : "1.7.0",
"build_hash" : "929b9739cae115e73c346cb5f9a6f24ba735a743",
"build_timestamp" : "2015-07-16T14:31:07Z",
"build_snapshot" : false,
"lucene_version" : "4.10.4"
},
"tagline" : "You Know, for Search"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment