Lui*_*cia 11 virtualbox vagrant
我正在尝试使用 ubunty 16.04 安装 open edx,但出现此错误
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "c60f0594-d584-4e0b-b863-2801168e641e", "--type", "headless"]
Stderr: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
Run Code Online (Sandbox Code Playgroud)
使用 vagrant up 时会发生这种情况
小智 15
这通常是因为您的 BIOS 中没有启用 VT-x 或 AMD-V。或者更糟的是,您的 CPU 不支持虚拟化。
您可以通过安装 cpu-checker 进一步测试。
sudo apt-get install cpu-checker
Run Code Online (Sandbox Code Playgroud)
跟着那个。
sudo kvm-ok
Run Code Online (Sandbox Code Playgroud)
输出应该能够告诉你你需要什么。
请记住,vt-x 不能嵌套,例如,假设您尝试在云实例上运行 vagrant,根据我的经验,这是行不通的。至少,对于 64 位操作系统。你将能够运行 32 位,但是,这将是一个单核和可怕的性能。
| 归档时间: |
|
| 查看次数: |
26387 次 |
| 最近记录: |