Install Elasticsearch: Difference between revisions

From CoGepedia
Jump to navigation Jump to search
Franka1 (talk | contribs)
Created page with 'Installing and implementing Elasticsearch on a Ubuntu 14.04.1 Follow the apt-install instructions located here: http://www.elasticsearch.org/guide/en/elasticsearch/reference/cur...'
 
Franka1 (talk | contribs)
No edit summary
Line 14: Line 14:


Start testing Elasticsearch by running "curl localhost:9200", you should see something like this:
Start testing Elasticsearch by running "curl localhost:9200", you should see something like this:
{
  {
  "status" : 200,
    "status" : 200,
  "name" : "Aleksander Lukin",
    "name" : "Aleksander Lukin",
  "version" : {
    "version" : {
    "number" : "1.3.2",
      "number" : "1.3.2",
    "build_hash" : "dee175dbe2f254f3f26992f5d7591939aaefd12f",
      "build_hash" : "dee175dbe2f254f3f26992f5d7591939aaefd12f",
    "build_timestamp" : "2014-08-13T14:29:30Z",
      "build_timestamp" : "2014-08-13T14:29:30Z",
    "build_snapshot" : false,
      "build_snapshot" : false,
    "lucene_version" : "4.9"
      "lucene_version" : "4.9"
  },
    },
  "tagline" : "You Know, for Search"
    "tagline" : "You Know, for Search"
}
  }

Revision as of 23:01, 19 September 2014

Installing and implementing Elasticsearch on a Ubuntu 14.04.1

Follow the apt-install instructions located here: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-repositories.html

Run sudo update-rc.d elasticsearch defaults 95 10 and sudo /etc/init.d/elasticsearch start

Next, get Oracle JDK with:

sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer java -version

Start testing Elasticsearch by running "curl localhost:9200", you should see something like this:

 {
   "status" : 200,
   "name" : "Aleksander Lukin",
   "version" : {
     "number" : "1.3.2",
     "build_hash" : "dee175dbe2f254f3f26992f5d7591939aaefd12f",
     "build_timestamp" : "2014-08-13T14:29:30Z",
     "build_snapshot" : false,
     "lucene_version" : "4.9"
   },
   "tagline" : "You Know, for Search"
 }