Skip to content

Instantly share code, notes, and snippets.

@thoslin
Last active December 12, 2015 04:08
Show Gist options
  • Save thoslin/4711791 to your computer and use it in GitHub Desktop.
Save thoslin/4711791 to your computer and use it in GitHub Desktop.
Setting up Vagrant

install vagrant

http://www.virtualbox.org/wiki/Downloads

wget http://files.vagrantup.com/packages/476b19a9e5f499b5d0b9d4aba5c0b16ebe434311/vagrant_i686.deb

add vagrant to system path

vi ~/.bashrc PATH=$PATH:/opt/vagrant/bin

download vagrant boxes

https://github.com/mitchellh/vagrant/wiki/Available-Vagrant-Boxes

wget http://files.vagrantup.com/precise32.box

add box

vagrant add precise32 precise32.box

init box

vagrant init precise32

start up box

vagrant up

ssh to box

vagrant ssh

do init

sudo ./postinstall.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment