-
-
Save nishantmendiratta/c6e7be2ca79b09d4c8d97a87bbcbe16a to your computer and use it in GitHub Desktop.
Elasticsearch, Marvel, Kibana on ubuntu
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
# You can get started with a vagrant box for elasticsearch. Have a look at | |
# http://thediscoblog.com/blog/2013/11/25/elasticsearch-in-a-box/ | |
vagrant box add esinabox https://s3.amazonaws.com/coffers/esinabox.box | |
vagrant init 'esinabox' | |
vagrant up | |
vagrant ssh | |
#Elasticsearch should be typically installed at /usr/share/elasticsearch | |
#check the version | |
cd /usr/share/elasticsearch | |
bin/elasticsearch -v | |
#Start elastic search | |
sudo service elasticsearch start | |
#Start elastic search | |
sudo service elasticsearch stop | |
#in case you want to get the latest version | |
#you can remove the existing version | |
sudo dpkg -r elasticsearch | |
sudo dpkg --purge elasticsearch | |
#and install the newer version | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.0.deb | |
sudo dpkg -i elasticsearch-1.1.0.deb | |
#elastic search comes with a lot of usefule plugins | |
#marvel (check it out at http://localhost:9200/_plugin/marvel/ once installed) | |
sudo bin/plugin -i elasticsearch/marvel/latest | |
#head (check it out at http://localhost:9200/_plugin/head/ once installed) | |
sudo bin/plugin -i mobz/elasticsearch-head | |
#kibana (check it out at http://localhost:9200/_plugin/kibana3/ once installed) | |
sudo bin/plugin -url http://download.elasticsearch.org/kibana/kibana/kibana-latest.zip -install elasticsearch/kibana3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment