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.
Created
January 27, 2014 17:09
-
-
Save plainprogrammer/8652815 to your computer and use it in GitHub Desktop.
FoundationDB Sandbox in Vagrant (Virtualbox and VMware)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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