Skip to content

Instantly share code, notes, and snippets.

@kotaroito
Last active December 21, 2015 05:28
Show Gist options
  • Save kotaroito/6257228 to your computer and use it in GitHub Desktop.
Save kotaroito/6257228 to your computer and use it in GitHub Desktop.
vagrant
# download box
$ cd ~/Downloads;
$ curl -L http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20130427.box -o CentOS-6.4-x86_64-v20130427.box
# add box
$ vagrant box add centos6.4-x86_64 ./CentOS-6.4-x86_64-v20130427.box
# initialize
$ mkdir ~/vagrant; cd ~/vagrant
$ vagrant init centos6.4-x86_64
# boot
$ vagrant up
# connect
$ vagrant ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment