Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Elasticsearch, Marvel, Kibana on ubuntu
# 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
You can’t perform that action at this time.