-
-
Save willis7/8f492470092b3b4c46ae8a071e066b33 to your computer and use it in GitHub Desktop.
Revisions
-
willis7 revised this gist
Mar 22, 2017 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -11,6 +11,9 @@ Be sure that you are in the same directory as the Vagrantfile when running these - `vagrant ssh` -- connects to machine via SSH - `vagrant destroy` -- stops and deletes all traces of the vagrant machine # Saving Progress -`vagrant snapshot save [options] [vm-name] <name>` -- vm-name is often `default`. Allows us to save so that we can rollback at a later time # Tips - `vagrant -v` -- Get the vagrant version - `vagrant global-status` -- outputs status of all vagrant machines -
willis7 revised this gist
Jan 4, 2017 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -22,5 +22,8 @@ Be sure that you are in the same directory as the Vagrantfile when running these - `vagrant push` -- Yes, vagrant can be configured to [deploy code](http://docs.vagrantup.com/v2/push/index.html)! - `vagrant up --provision | tee provision.log` -- Runs `vagrant up`, forces provisioning and logs all output to a file # Housekeeping - `vagrant boxes remove <name>` -- Deletes a box from the machine # Notes - If you are using [VVV](https://github.com/varying-vagrant-vagrants/vvv/), you can enable xdebug by running `vagrant ssh` and then `xdebug_on` from the virtual machine's CLI. -
wpscholar revised this gist
Jan 19, 2016 . 1 changed file with 8 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -12,13 +12,14 @@ Be sure that you are in the same directory as the Vagrantfile when running these - `vagrant destroy` -- stops and deletes all traces of the vagrant machine # Tips - `vagrant -v` -- Get the vagrant version - `vagrant global-status` -- outputs status of all vagrant machines - `vagrant global-status --prune` -- same as above, but prunes invalid entries - `vagrant suspend` -- Suspends a virtual machine (remembers state) - `vagrant resume` -- Resume a suspended machine (vagrant up works just fine for this as well) - `vagrant reload --provision` -- Restart the virtual machine and force provisioning - `vagrant provision --debug` -- Use the debug flag to increase the verbosity of the output - `vagrant push` -- Yes, vagrant can be configured to [deploy code](http://docs.vagrantup.com/v2/push/index.html)! - `vagrant up --provision | tee provision.log` -- Runs `vagrant up`, forces provisioning and logs all output to a file # Notes -
wpscholar revised this gist
Jul 28, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -17,6 +17,7 @@ Be sure that you are in the same directory as the Vagrantfile when running these - `vagrant suspend` -- Suspends a virtual machine (remembers state) - `vagrant resume` -- Resume a suspended machine (vagrant up works just fine for this as well) - `vagrant reload --provision` -- Restart the virtual machine and force provisioning - `vagrant provision --debug` -- Use the debug flag to increase the verbosity of the output - `vagrant push` -- Yes, vagrant can be configured to [deploy code](http://docs.vagrantup.com/v2/push/index.html)! - `vagrant up --provision | tee provision.log` -- Runs `vagrant up`, forces provisioning and logs all output to a file -
wpscholar revised this gist
May 28, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ Typing `vagrant` from the command line will display a list of all available commands. Be sure that you are in the same directory as the Vagrantfile when running these commands! # Common Vagrant Commands - `vagrant up` -- starts vagrant environment (also provisions only on the FIRST vagrant up) - `vagrant status` -- outputs status of the vagrant machine -
wpscholar revised this gist
May 28, 2015 . 1 changed file with 12 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,19 +1,22 @@ Typing `vagrant` from the command line will display a list of all available commands. # Common Vagrant Commands - `vagrant up` -- starts vagrant environment (also provisions only on the FIRST vagrant up) - `vagrant status` -- outputs status of the vagrant machine - `vagrant halt` -- stops the vagrant machine - `vagrant reload` -- restarts vagrant machine, loads new Vagrantfile configuration - `vagrant provision` -- forces reprovisioning of the vagrant machine - `vagrant ssh` -- connects to machine via SSH - `vagrant destroy` -- stops and deletes all traces of the vagrant machine # Tips - `vagrant -v` -- Get the vagrant version - `vagrant global-status` -- outputs status of all vagrant machines - `vagrant suspend` -- Suspends a virtual machine (remembers state) - `vagrant resume` -- Resume a suspended machine (vagrant up works just fine for this as well) - `vagrant reload --provision` -- Restart the virtual machine and force provisioning - `vagrant push` -- Yes, vagrant can be configured to [deploy code](http://docs.vagrantup.com/v2/push/index.html)! - `vagrant up --provision | tee provision.log` -- Runs `vagrant up`, forces provisioning and logs all output to a file # Notes - If you are using [VVV](https://github.com/varying-vagrant-vagrants/vvv/), you can enable xdebug by running `vagrant ssh` and then `xdebug_on` from the virtual machine's CLI. -
wpscholar revised this gist
May 28, 2015 . 1 changed file with 14 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,19 +1,19 @@ Typing `vagrant` from the command line will display a list of all available commands. # Common Vagrant Commands - `vagrant up` -- starts vagrant environment (also provisions only on the FIRST vagrant up) - `vagrant status` -- outputs status of the vagrant machine - `vagrant global-status` -- outputs status of all vagrant machines - `vagrant halt` -- stops the vagrant machine - `vagrant reload` -- restarts vagrant machine, loads new Vagrantfile configuration - `vagrant provision` -- forces reprovisioning of the vagrant machine - `vagrant ssh` -- connects to machine via SSH - `vagrant destroy` -- stops and deletes all traces of the vagrant machine # Tips - `vagrant -v` -- Get the vagrant version - `vagrant suspend` -- Suspends a virtual machine (remembers state) - `vagrant resume` -- Resume a suspended machine (vagrant up works just fine for this as well) - `vagrant reload --provision` -- Restart the virtual machine and force provisioning - `vagrant push` -- Yes, vagrant can be configured to [deploy code](http://docs.vagrantup.com/v2/push/index.html)! - `vagrant up --provision | tee provision.log` -- Runs `vagrant up`, forces provisioning and logs all output to a file -
wpscholar revised this gist
May 28, 2015 . 2 changed files with 19 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ Typing `vagrant` from the command line will display a list of all available commands. # Common Vagrant Commands - `vagrant up` starts vagrant environment (also provisions only on the FIRST vagrant up) - `vagrant status` outputs status of the vagrant machine - `vagrant global-status` outputs status of all vagrant machines - `vagrant halt` stops the vagrant machine - `vagrant reload` restarts vagrant machine, loads new Vagrantfile configuration - `vagrant provision` forces reprovisioning of the vagrant machine - `vagrant ssh` connects to machine via SSH - `vagrant destroy` stops and deletes all traces of the vagrant machine # Tips - `vagrant -v` Get the vagrant version - `vagrant suspend` Suspends a virtual machine (remembers state) - `vagrant resume` Resume a suspended machine (vagrant up works just fine for this as well) - `vagrant reload --provision` Restart the virtual machine and force provisioning - `vagrant push` Vagrant can be configured to [deploy code](http://docs.vagrantup.com/v2/push/index.html)! - `vagrant up --provision | tee provision.log` Runs `vagrant up`, forces provisioning and logs all output to a file This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +0,0 @@ -
wpscholar created this gist
May 28, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ Typing `vagrant` from the command line will display a list of all available commands. # Common Vagrant Commands vagrant up starts vagrant environment (also provisions only on the FIRST vagrant up) vagrant status outputs status of the vagrant machine vagrant global-status outputs status of all vagrant machines vagrant halt stops the vagrant machine vagrant reload restarts vagrant machine, loads new Vagrantfile configuration vagrant provision forces reprovisioning of the vagrant machine vagrant ssh connects to machine via SSH vagrant destroy stops and deletes all traces of the vagrant machine