vagrant 安装记录
2017-10-30 本文已影响7人
caodejun
一 安装虚拟机Virtualbox
- 下载安装Virtualbox
- 下载安装Vagrant
注意事项:
- 一定要先安装VirtualBox再安装Vagrant,另外当前最新的VirtralBox的版本式5.2,而vagrant只支持到5.1,之前装的是5.2版执行,
vagrant up
时报如下错误:
- 一定要先安装VirtualBox再安装Vagrant,另外当前最新的VirtralBox的版本式5.2,而vagrant只支持到5.1,之前装的是5.2版执行,
No usable default provider could be found for your system.
Vagrant relies on interactions with 3rd party systems, known as
"providers", to provide Vagrant with resources to run development
environments. Examples are VirtualBox, VMware, Hyper-V.The easiest solution to this message is to install VirtualBox, which
is available for free on all major platforms.If you believe you already have a provider available, make sure it
is properly installed and configured. You can see more details about
why a particular provider isn't working by forcing usage with
vagrant up --provider=PROVIDER
, which should give you a more specific
error message for that particular provider.
- 微软的Hyper和VirtualBox不能同时使用,并且要把intel的Intel Virtualization Technology功能打开。否则在
Vagrant up
时,会卡到 default: SSH auth method: private key 这一步
- 微软的Hyper和VirtualBox不能同时使用,并且要把intel的Intel Virtualization Technology功能打开。否则在