打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Vagrant安装启动linux,VitrtualBox,Centos7

错误原因:virtualbox版本与vagrant版本不对应,无法默认以virtualbox启动,导致用hyperv启动(开启hyperv也没用,会导致找不到离线下载的box),强制用virtualbox启动需要加上 --provider=virtualbox,加上后提示版本错误不对应,并且提示了可用版本。
Bringing machine 'default' up with 'hyperv' provider... ==> default: Verifying Hyper-V is enabled... The Hyper-V cmdlets for PowerShell are not available! Vagrant requires these to control Hyper-V. Please enable them in the "Windows Features" control panel and try again.

`PS D:\vagrant\test> vagrant up
Bringing machine 'default' up with 'hyperv' provider...
==> default: Verifying Hyper-V is enabled...
The Hyper-V cmdlets for PowerShell are not available! Vagrant
requires these to control Hyper-V. Please enable them in the
"Windows Features" control panel and try again.

PS D:\vagrant\test> vagrant up --provider=virtualbox
The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:

Vagrant has detected that you have a version of VirtualBox installed
that is not supported by this version of Vagrant. Please install one of
the supported versions listed below to use Vagrant:

4.0, 4.1, 4.2, 4.3, 5.0, 5.1, 5.2, 6.0

A Vagrant update may also be available that adds support for the version
you specified. Please check www.vagrantup.com/downloads.html to download`

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
搭建Docker私有云环境
vagrant打造自己的开发环境~~我也来一发
windows 下使用vargant 搭建虚拟机服务
PC傻瓜式安装黑苹果并打造成全能逆向工作站
Vgrant使用入门
使用Vagrant在Windows下部署开发环境 | SmdCn's Blog
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服