Skip to content

Instantly share code, notes, and snippets.

@chrisabrams
Last active December 30, 2015 07:09
Show Gist options
  • Save chrisabrams/7793659 to your computer and use it in GitHub Desktop.
Save chrisabrams/7793659 to your computer and use it in GitHub Desktop.
Vagrant Stuff
vagrant plugin install --plugin-source https://rubygems.org --plugin-prerelease vagrant-vbguest
wget http://nodejs.org/dist/v0.10.22/node-v0.10.22-linux-x64.tar.gz | tar xz --strip-components=1
cat >> ~/.bashrc <<EOF
export PATH=$PATH:/opt/node/bin
EOF
source ~/.bashrc
npm install -g yo bower grunt-cli coffee-script node-inspector
Vagrant.configure("2") do |config|
config.vm.box = "projects"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.network "public_network"
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end
config.ssh.forward_agent = true
end
sudo apt-get update && sudo apt-get install -y linux-image-generic-lts-raring linux-headers-generic-lts-raring
sudo apt-get install -y python-software-properties python build-essential curl git-core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment