Skip to content

Instantly share code, notes, and snippets.

@topheman

topheman/vagrant.setup.md

Last active Aug 29, 2015
Embed
What would you like to do?
Vagrant

#Install

If cask not installed : https://github.com/caskroom/homebrew-cask

$ brew install caskroom/cask/brew-cask

Install vagrant - http://sourabhbajaj.com/mac-setup/Vagrant/README.html

$ brew cask install virtualbox
$ brew cask install vagrant
$ brew cask install vagrant-manager

Completion - https://github.com/kura/vagrant-bash-completion

#Setup an Ubuntu

$ mkdir ubuntu_trusty64
$ cd ubuntu_trusty64
$ vagrant box add ubuntu/trusty64
$ vagrant init ubuntu-VAGRANTSLASH-trusty64
$ vagrant up

#Connect to VM

$ vagrant ssh

Then, for example ...

$ sudo apt-get install git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment