Last active
December 14, 2015 20:29
-
-
Save samnang/5144642 to your computer and use it in GitHub Desktop.
Install ElasticSearch on Ubuntu 12.04
This file contains 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 characters
cd ~ | |
sudo apt-get update | |
sudo apt-get install openjdk-7-jre-headless -y | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.3.deb | |
sudo dpkg -i elasticsearch-0.90.3.deb | |
sudo service elasticsearch start | |
sudo service elasticsearch start | |
# If you see "WARNING: ElasticSearch may have failed to start." | |
# http://stackoverflow.com/questions/10815392/unable-to-run-elasticsearch-as-a-service-on-ubuntu | |
#curl http://localhost:9200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment