Skip to content

Instantly share code, notes, and snippets.

@aaronshaf
Created September 3, 2011 03:53
Show Gist options
  • Save aaronshaf/1190526 to your computer and use it in GitHub Desktop.
Save aaronshaf/1190526 to your computer and use it in GitHub Desktop.

Revisions

  1. aaronshaf revised this gist Mar 1, 2012. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions es.sh
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,8 @@ cd ~
    sudo apt-get update
    sudo apt-get install unzip curl python-software-properties -y
    #sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    sudo add-apt-repository ppa:ferramroberto/java
    sudo apt-get update
    sudo apt-get install sun-java6-jre sun-java6-plugin -y

    wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.18.7.tar.gz -O elasticsearch.tar.gz
  2. aaronshaf revised this gist Mar 1, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions es.sh
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    cd ~
    sudo apt-get install unzip curl python-software-properties -y
    sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    sudo apt-get update
    sudo apt-get install unzip curl python-software-properties -y
    #sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    sudo apt-get install sun-java6-jre sun-java6-plugin -y

    wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.18.7.tar.gz -O elasticsearch.tar.gz
  3. aaronshaf revised this gist Mar 1, 2012. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions es.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,5 @@
    cd ~
    sudo apt-get install unzip -y
    sudo apt-get install python-software-properties -y
    sudo apt-get install unzip curl python-software-properties -y
    sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    sudo apt-get update
    sudo apt-get install sun-java6-jre sun-java6-plugin -y
  4. aaronshaf revised this gist Mar 1, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion es.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    cd ~
    sudo apt-get install unzip
    sudo apt-get install unzip -y
    sudo apt-get install python-software-properties -y
    sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    sudo apt-get update
  5. aaronshaf revised this gist Mar 1, 2012. No changes.
  6. aaronshaf revised this gist Mar 1, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion es.sh
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    sudo apt-get update
    sudo apt-get install sun-java6-jre sun-java6-plugin -y

    wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.17.6.tar.gz -O elasticsearch.tar.gz
    wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.18.7.tar.gz -O elasticsearch.tar.gz
    tar -xf elasticsearch.tar.gz
    rm elasticsearch.tar.gz
    sudo mv elasticsearch-* elasticsearch
  7. aaronshaf revised this gist Sep 3, 2011. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions es.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    cd ~
    sudo apt-get install unzip
    sudo apt-get install python-software-properties -y
    sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
  8. aaronshaf revised this gist Sep 3, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion es.sh
    Original file line number Diff line number Diff line change
    @@ -16,4 +16,4 @@ rm -Rf *servicewrapper*
    sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install
    sudo ln -s `readlink -f /usr/local/share/elasticsearch/bin/service/elasticsearch` /usr/local/bin/rcelasticsearch

    #curl http://localhost:9200
    #curl http://localhost:9200
  9. @invalid-email-address Anonymous created this gist Sep 3, 2011.
    19 changes: 19 additions & 0 deletions es.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    sudo apt-get install unzip
    sudo apt-get install python-software-properties -y
    sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    sudo apt-get update
    sudo apt-get install sun-java6-jre sun-java6-plugin -y

    wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.17.6.tar.gz -O elasticsearch.tar.gz
    tar -xf elasticsearch.tar.gz
    rm elasticsearch.tar.gz
    sudo mv elasticsearch-* elasticsearch
    sudo mv elasticsearch /usr/local/share

    curl -L http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master | tar -xz
    mv *servicewrapper*/service /usr/local/share/elasticsearch/bin/
    rm -Rf *servicewrapper*
    sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install
    sudo ln -s `readlink -f /usr/local/share/elasticsearch/bin/service/elasticsearch` /usr/local/bin/rcelasticsearch

    #curl http://localhost:9200