$ vagrant global-status
$ vagrant box list
https://app.vagrantup.com/boxes/search?utf8=%E2%9C%93&sort=downloads&provider=&q=
$ wget https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box
$ vagrant init
Or with title
$ vagrant init {title}
$ vagrant box add trusty-64 trusty-server-cloudimg-amd64-vagrant-disk1.box
$ vagrant up
First we will create the folder, and then
$ vagrant init ubuntu/xenial64
$ vagrant up
config.vm.box = "trusty-64" # colocamos el nombre del box
config.vm.network "private_network", ip: "192.168.33.11"
#default
config.vm.synced_folder "../../Data", "/var/www/html/", :group => 'www-data'
# Ubuntu host
config.vm.synced_folder "projects", "/var/www/"
# Windows host
config.vm.synced_folder "D:\/eder\/projects", "/var/www/html/", :group => "www-data"
Command: vagrant up [name|id]
$ vagrant up
$ cd /path/to/vagrant_vm1 && vagrant up
Command: vagrant ssh [name|id]
$ vagrant ssh
$ vagrant ssh d205993
$ ssh [email protected]
$ vboxmanage --version
or
$ echo $(vboxmanage --version )
command: vagrant remove <name|id>
$ vagrant box remove f60b727c80424e088409a8bdbcc89685
$ vagrant box remove trusty
vagrant update [name|id]
$ vagrant box update d205993
vagrant destroy [name|id]
$ vagrant destroy f60b727c80424e088409a8bdbcc89685
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-generic.
You will not be able to start VMs until this problem is fixed.
4.3.10_Ubuntur9301
Solution: solve it by disabling secure boot (via BIOS).