Skip to content

Instantly share code, notes, and snippets.

@dermatologist
Forked from nazgob/gist:2367583
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dermatologist/c7e9e68298ac31e9b580 to your computer and use it in GitHub Desktop.
Save dermatologist/c7e9e68298ac31e9b580 to your computer and use it in GitHub Desktop.
# setup vagrant
gem install vagrant
vagrant box add lucid32 http://files.vagrantup.com/lucid32.box
mkdir my_vagrant_test
cd my_vagrant_test
vagrant init lucid32
vim Vagrantfile
vagrant up
vagrant ssh
# inside virtual machine
whoami
cd /vagrant
ruby -v
sudo apt-get update
sudo apt-get install build-essential zlib1g-dev curl git-core sqlite3 libsqlite3-dev
# vagrant commands
vagrant reload
vagrant status
vagrant suspend
vagrant resume
vagrant halt
vagrant up
vagrant package
vagrant destroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment