Cedric Hurst: Principal & Lead Software Engineer
Kevin Greene: Senior Software Engineer
Gary Turovsky: Senior Software Engineer
Malynda Chizek Frouard Software Engineer
Tuesday February 18th, 2014
Spantree Technology Group, LLC
1144 W Fulton Market, Suite 120
Chicago, IL 60607
We ask that you walk through these steps before you stop by since you'll need to download stuff and we don't want to crush our office bandwidth. The project itself will likely evolve up until the time of the presentation, but the virtual machine stuff shouldn't change too much.
Install the following tools to bootstrap your environment
- Install Git
- Install VirtualBox (we used version 4.3)
- Install Vagrant (we used version 1.3.5)
From the command line, clone this repository with:
git clone --recursive --depth 1 [email protected]:Spantree/elasticsearch-talk.git
If you're new to git and run into trouble with this step, it might be due to missing github keys.
Then initialize your vagrant instance with:
cd elasticsearch-talk
vagrant plugin install vagrant-hostmanager
vagrant up
This will download a base Virtualbox Ubuntu image, set it up as a virtual machine to run locally, and install all the tools extra tools you'll need to play along. You may be required to enter your password at some point so that hostmanager can add an entry for "esdemo.local" to your /etc/hosts file.
That's it. That's all there is to it.
You should now be able to access elasticsearch on your machine from a web browser at http://esdemo.local:9200
:
You should also be able to ssh into your virtual machine using the vagrant ssh
command:
As mentioned, we may be altering the vagrant configuration up until the time of the presentation, so make sure you have the latest changes by doing the following from your host terminal:
git pull
vagrant reload
vagrant provision
When you're all done elasticsearching, you can gracefull shut down your vagrant instance by running:
vagrant halt
This will close the VM.
If you want to conserve disk space, you can get rid of the disk images at ~/.vagrant.d
and ~/VirtualBox VMs
:
This repo will here for you should you need it again.
Email [email protected] if you run into issues. We'd be happy to help.