Created
October 26, 2013 22:58
-
-
Save himlohiya/7175579 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant init precise32 http://files.vagrantup.com/precise32.box | |
########################## | |
# ssh to vagrant machine | |
########################## | |
vagrant ssh | |
########################## | |
# to configure directory to use vagrant | |
########################## | |
vagrant init | |
######################################## | |
# defining vagrant file | |
######################################## | |
config.vm.box = "precise32" | |
config.vm.provision :shell, :path => "bootstrap.sh" | |
config.vm.network :forwarded_port, host: 4567, guest: 80 | |
########################## | |
# vagrant controls | |
########################## | |
vagrant status | |
vagrant up | |
vagrant reload | |
vagrant suspend | |
vagrant halt | |
vagrant destroy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment