Last active
December 30, 2015 07:09
-
-
Save chrisabrams/7793659 to your computer and use it in GitHub Desktop.
Vagrant Stuff
This file contains hidden or 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
vagrant plugin install --plugin-source https://rubygems.org --plugin-prerelease vagrant-vbguest |
This file contains hidden or 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
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 |
This file contains hidden or 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
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 |
This file contains hidden or 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
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