Impossibly simple instructions for setting up a dedicated MongoDB server virtual machine with Vagrant

  1. Install VirtualBox 4.0.

  2. Do this. In a terminal:

    gem install vagrant
    git clone --recursive mongobox
    cd mongobox
    vagrant up
  3. That last line might take a minute. Go get yourself a sandwich. I went with a lobster roll from Luke’s.

  4. Connect to your new dedicated MongoDB virtual machine on localhost port 27018:

    mongo --port 27018
  5. Profit!