Skip to content

Instantly share code, notes, and snippets.

@hareeshpc
Created January 29, 2016 20:05
Show Gist options
  • Select an option

  • Save hareeshpc/0730c5e58fa806694e4a to your computer and use it in GitHub Desktop.

Select an option

Save hareeshpc/0730c5e58fa806694e4a to your computer and use it in GitHub Desktop.

##Installing Virtualbox:

$ sudo apt-get install virtualbox
$ sudo apt-get install virtualbox-dkms

##Installing Vagrant:

$ sudo apt-get install vagrant

Getting the Trusty 14.04 ubuntu image

$ vagrant box add ubuntu/trusty64 https://vagrantcloud.com/ubuntu/boxes/trusty64/versions/14.04/providers/virtualbox.box --provider virtualbox

Make a vagrant projects directory

mkdir vagrant_projects; cd vagrant_projects

Initialize a vagrant box for trusty

vagrant init ubuntu/trusty64
vagrant up

Connect to the box using

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