Skip to content

Instantly share code, notes, and snippets.

@plainprogrammer
Created January 27, 2014 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plainprogrammer/8652815 to your computer and use it in GitHub Desktop.
Save plainprogrammer/8652815 to your computer and use it in GitHub Desktop.
FoundationDB Sandbox in Vagrant (Virtualbox and VMware)

FoundationDB Sandbox

The provided Vagrant file and BASH provisioning script will setup a Precise 64 environment with version 1.0.1 of FoundationDB installed and ready to go.

#!/bin/bash
apt-get -y install curl
wget https://foundationdb.com/downloads/I_accept_the_FoundationDB_Community_License_Agreement/1.0.1/foundationdb-clients_1.0.1-1_amd64.deb
wget https://foundationdb.com/downloads/I_accept_the_FoundationDB_Community_License_Agreement/1.0.1/foundationdb-server_1.0.1-1_amd64.deb
sudo dpkg -i foundationdb-clients_1.0.1-1_amd64.deb foundationdb-server_1.0.1-1_amd64.deb
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure('2') do |config|
config.vm.box = 'precise64'
config.vm.provider :virtualbox do |vb|
vb.box_url = 'http://files.vagrantup.com/precise64.box'
vb.memory = 4096
end
config.vm.provider :vmware_fusion do |vw|
vw.box = 'precise64_vmware'
vw.box_url = 'http://files.vagrantup.com/precise64_vmware.box'
vw.memory = 4096
end
config.vm.provision 'shell', path: 'provision.sh'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment