Last active
August 29, 2015 14:05
-
-
Save lologhi/491f96d24be7980fda9c to your computer and use it in GitHub Desktop.
Revisions
-
lologhi renamed this gist
Sep 8, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
lologhi revised this gist
Aug 30, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -11,7 +11,9 @@ sudo apt-get install oracle-java7-installer In AWS, you can't edit `/etc/apt/sources.list`, as it's re-generated at each reboot. ```bash # add elasticsearch repo key wget -qO - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add - # add the elasticsearch repo in apt sources echo "deb http://packages.elasticsearch.org/elasticsearch/1.3/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasicsearch.list sudo apt-get update sudo apt-get install elasticsearch -
lologhi revised this gist
Aug 30, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ## Install Java ```bash sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer @@ -10,7 +10,7 @@ sudo apt-get install oracle-java7-installer In AWS, you can't edit `/etc/apt/sources.list`, as it's re-generated at each reboot. ```bash wget -qO - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add - echo "deb http://packages.elasticsearch.org/elasticsearch/1.3/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasicsearch.list sudo apt-get update -
lologhi revised this gist
Aug 30, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -11,8 +11,8 @@ sudo apt-get install oracle-java7-installer In AWS, you can't edit `/etc/apt/sources.list`, as it's re-generated at each reboot. ``` wget -qO - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add - echo "deb http://packages.elasticsearch.org/elasticsearch/1.3/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasicsearch.list sudo apt-get update sudo apt-get install elasticsearch ``` -
lologhi revised this gist
Aug 30, 2014 . 1 changed file with 1 addition and 10 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -11,16 +11,7 @@ sudo apt-get install oracle-java7-installer In AWS, you can't edit `/etc/apt/sources.list`, as it's re-generated at each reboot. ``` echo "deb http://packages.elasticsearch.org/elasticsearch/1.3/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasicsearch.list wget -qO - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add - sudo apt-get update sudo apt-get install elasticsearch -
lologhi revised this gist
Aug 30, 2014 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,14 @@ ## Install Java ``` sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer ``` ## Install elasticsearch In AWS, you can't edit `/etc/apt/sources.list`, as it's re-generated at each reboot. ``` sudo nano /etc/apt/sources.list.d/elasicsearch.list -
lologhi revised this gist
Aug 30, 2014 . 1 changed file with 12 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,17 @@ sudo apt-get install oracle-java7-installer Install elasticsearch ``` sudo nano /etc/apt/sources.list.d/elasicsearch.list ``` And paste that in the opened file : ``` deb http://packages.elasticsearch.org/elasticsearch/1.3/debian stable main ``` ``` wget -qO - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add - sudo apt-get update sudo apt-get install elasticsearch ``` -
lologhi revised this gist
Aug 30, 2014 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,7 @@ Install Java ``` sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer ``` -
lologhi created this gist
Aug 30, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ Install Java ``` sudo add-apt-repository ppa:webupd8team/java sudo apt-get install oracle-java7-installer ``` Install elasticsearch ``` wget -qO - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add - sudo vi /etc/apt/sources.list.d/elasicsearch.list deb http://packages.elasticsearch.org/elasticsearch/1.3/debian stable main ```