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 | |
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 |
This comment has been minimized.
This comment has been minimized.
I did all the steps, but localhost:9200 doesnt work, and when I do "sudo bin/elasticsearch -f" dont stop, and while this process is active, localhost:9200 response, but when I do ctrl + c to stop, goodbye. Anyone know what happens ? Thanks |
This comment has been minimized.
This comment has been minimized.
@Chysweel: Use: |
This comment has been minimized.
This comment has been minimized.
As in https://lists.ubuntu.com/archives/ubuntu-security-announce/2011-December/001528.html http://blog.flexion.org/2012/01/16/install-sun-java-6-jre-jdk-from-deb-packages/ for quick install:
|
This comment has been minimized.
This comment has been minimized.
This gist will soon be unusable and/or violate Oracle's license, I have created a new one using the info from pluri-it's comment. |
This comment has been minimized.
This comment has been minimized.
I had to update my elasticsearch to the latest version for it to work and start |
This comment has been minimized.
This comment has been minimized.
the wget address has changed: cd ~/ |
This comment has been minimized.
This comment has been minimized.
Now ES provides deb package, so just download from http://www.elasticsearch.org/download/ and install it. Then |
This comment has been minimized.
Thanks for writing this up, saved me quite a headache.