谷粒商城-问题集锦

06 vagrant 快速创建Linux

bug1 运行vagrant up 时安装过程中出现bug

No usable default provider could be found for your system.

解决方法:参考下面的链接
原因是:下载的virtualbox是6.1版本的,需要在vagrant里面添加对6.1的支持.

bug2 解决Bug1后重新vagrant up出现的bug

An error occurred while downloading the remote file. The errormessage, if any, is reproduced below. Please fix this error and tryagain.

这个问题我重新再运行了一次up命令,又好了,你们可以试试,也可以参考一下下面的方法
https://blog.csdn.net/qq_21127151/article/details/90549080

bug3 BIOS中没有开启VMX

	There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "f65bb22b-f033-4e73-9a62-26bd8db5c1ee", "--type", "headless"]

Stderr: VBoxManage.exe: error: Call to NEMR0InitVMPart2 failed: VERR_NEM_INIT_FAILED (VERR_NEM_VM_CREATE_FAILED)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

原因::BIOS中没有开启VMX,所以我重启电脑,进入BIOS中,打开了VMX,重启后,再次vagrant up

参考链接:
https://blog.csdn.net/weixin_43876778/article/details/112966453

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值