How to install VirtualBox, Vagrant and a Virtual Machine in Windows 10
HTML-код
- Опубликовано: 18 сен 2024
- This tutorial is about how to install the VirtualBox, Vagrant and set a Virtual Machine in Windows 10.
Download the programs, install them, and set your Virtual Machine.
In this video I will add Ubuntu 14.04 as a Virtual Machine.
But you can select any other, like Ubuntu 16.04.
In this link you can find more sets of virtual machines: app.vagrantup....
Thank you!
Thank you so much for the tutorial! The course I'm taking implies that you already have everything installed, and doesn't give any instructions. I really appreciate the step by step approach!!
Great job sir! I was struggling with the setup and the VM was not starting and it was fixed after I installed the plugin. Thank you David!
After visiting so much websites......Thanks!!!
Thank you David, this tutorial works well.
Excellent video well delivered, this helped in setting up multiple machines thank you.
Excellent! Thanks, David!
So beautiful explanation! Thank you!
very nice and compact video...good starting...thanks
Excellent video David! Thanks
Thank you David, neat explanation!
Great peer David! 🦾
great sir
Excellent video!!!
Excellent video
thanks a lot.
you save me
thank you for this
Good
Unfortunately it says "Box 'base' could not be found. Attempting to find and install. Any suggestions? Thanks
Great video, it was very helpful. Thank you !
hi david, am trying with ubuntu18 ,tyring to install the plugin gives the error ; An invalid option was specified. The help for this command
is available below. Usage: vagrant plugin install ... [-h]
what do you suggest i do ? this is the command i used ; vagrant plugin install vagrant -vbguest
You have a typo, there is an space between vagrant and the hyphen with -vbguest, you should type "vagrant plugin install vagrant-vbguest"
My hardware acceleration seems disabled
How to get name of virtual machine i.e. ubuntu/trusty64
If we need multiple machines? Then do we need to repeat all steps
Or just run vagrant install ubuntu14?
If you need multiple machines, just create new folders with the names of the VirtualMachines, and add the different machines from:
- Enter to the folder with the name and add the new machine
- vagrant box add `name_of_the_machine`
- vagrant init `name_of_the_machine`
- vagrant up
- vagrant ssh
If you have another question, just let me know. :)
@@devarias thanks will try and let you know tomorrow
@@devarias thanks it worked
Just few more doubts
1. Do we need to add vagrant vb guest for each machine
2. How to add different kernel like redha,centos etc
Thanks in advance!
@@pratulpruthi
1. Install the plugin is a good option for every machine, if you don't install to them, they could fail in the future.
2. app.vagrantup.com/boxes/search there you can find more centos/7 or redhat
@@devarias thanks a ton!
Appreciate quick reply
I am able to setup multiple different kernels now : ubuntu, centos
How to install win8 this way?
I am not sure if the same procedure works fine for Windows 8, you could try this, or look for more documentation in google.
I get this when I run my vagrant up command: Please help , this I have been trying for long
λ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'ubuntu/trusty64' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Vagrant Cloud, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["vagrantcloud.com/ubuntu/trusty64"]
Error: schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.