badtops.blogg.se

Vagrant update box
Vagrant update box










vagrant update box

VVV is intended as a developer environment, and you should be able to throw away the VM and rebuild it without losing anything.

  • Run vagrant up -provision to update the box and bring it up.
  • vagrant plugin update -local to update any vagrant plugins.
  • Make sure that your existing sites in www aren’t overwritten, and you have DB backups.
  • If you downloaded VVV as a zip, download and extract a new copy of VVV over the top.
  • git pull if you used git to install VVV.
  • Vagrant boxes are used when creating brand new VM’s, this only affects users who destroy and recreate their VM.
  • Run vagrant box update ( optional but probably for the best ).
  • If necessary, download a new vagrant, use the uninstall tool and install a fresh copy.
  • Make sure your vagrant and virtualbox are up to date.
  • It’s rarely needed but if you want to be thorough, follow these steps:

    vagrant update box

    The steps in the previous sections will suffice for 99% of cases.

    vagrant update box

    Vagrant up -provision # download the new VM image and reinstall everything with a provision # restore the database backup Thoroughly Updating VVV Vagrant destroy # destroy or delete the VM image (not your files!) Vagrant plugin update -local # update vagrant plugins Vagrant halt # turn off the VM if it's running












    Vagrant update box