Skip to content

A vagrant box with Elasticsearch 2 only for playing around (optional ES 1.3).

License

Notifications You must be signed in to change notification settings

sikron/vagrant-elasticsearch-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-elasticsearch-simple

A Vagrant box with Elasticsearch for playing around with. Different bootstrap files are provided to use in the Vagrantfile.

Prerequisites

These are things you need to install once on your machine to use this box.

$ sudo apt-get install virtualbox
$ sudo apt-get install vagrant
  • Vagrant Virtualbox Guest Plugin
$ vagrant plugin install vagrant-vbguest

Software installed in the Box

  • OpenJDK JRE 7
  • Elasticsearch 1.3.7 or 2.1.1 or 2.3.2
  • "head" plugin
  • "mapper-attachments" plugin (not for 1.3.7; seems not to work for 2.1.1 either...)

Starting the Box (with Provisioning on first start)

vagrant up

Stopping the Box

vagrant halt

Suspend/resume the Box

vagrant suspend/resume

Restart the Box (e.g. after change of Vagrantfile)

vagrant reload

Destroy/delete the Box

vagrant destroy

Box Status

vagrant status

Access the Box via SSH

vagrant ssh

Access Elasticsearch

The Elasticsearch server-port of the guest is forwarded to the host, so from the host do

curl -XGET -v http://localhost:9200

Also the "head" plugin is installed, so from a browser in the host, just get

http://localhost:9200/_plugin/head

ElasticSearch in Version 1.3

E.g. Spring JPA for ElasticSearch needs ES in version 1.3.7. For this the bootstrap-es137.sh should be used instead!

About

A vagrant box with Elasticsearch 2 only for playing around (optional ES 1.3).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages