Show/Hide Toolbars

MongoDB Notes

 

Vagrant is a command line utility for managing the lifecycle of virtual machines.  By default, Vagrant handles virtual machines managed by

 

Installation (for Windows 10)

 

1.Install Oracle VirtualBox.

2.Install MinGW components rsync, openssl, and openssh.

3.Download Vagrant 1.9.8 from https://releases.hashicorp.com/vagrant/1.9.8/.

4.Install Vagrant by launching the .msi file that has been downloaded.  Follow the installation instructions.

5.Restart your server.

6.Install the vagrant-vbguest plugin with this command:

 

vagrant plugin install vagrant-vbguest

 

Validating the Installation

 

To check the installation of Vagrant, perform these commands:

 

1.Create a directory to hold Vagrant files.

2.Navigate to that directory.

3.Execute the commands below:

 

$ vagrant init hashicorp/precise64

$ vagrant up

 

Additional Information

 

The Vagrant installer adds the directory of the executable files to the Windows PATH environmental variable.

Vagrant create a default username/password combination of vagrant/vagrant.

 

Issues

 

Vagrant is not compatible with VirtualBox 5.2.0.  If you use this version, you get an error that the provider cannot be found.  Use version 5.1.30 of VirtualBox instead.

Version 2.0.0 is (as of this writing) the current version of Vagrant.  

 

References

 

Vagrant Documentation

Issue with Vagrant 2.0.0 and Windows 10

Setting Up a MongoDB Virtual Machine