translated

This commit is contained in:
geekpi 2023-09-21 08:39:33 +08:00
parent e6e5b5690a
commit 7fc2ccc8b6
2 changed files with 117 additions and 122 deletions

View File

@ -1,122 +0,0 @@
[#]: subject: "Install VirtualBox on Windows [So that You Can Run Linux VM]"
[#]: via: "https://itsfoss.com/install-virtualbox-windows/"
[#]: author: "Ankush Das https://itsfoss.com/author/ankush/"
[#]: collector: "lujun9972/lctt-scripts-1693450080"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Install VirtualBox on Windows [So that You Can Run Linux VM]
======
VirtualBox is one of the [best virtualization software][1] out there.
If you want to [install Linux on Windows in a virtual machine using VirtualBox][2], the first step is to install the VirtualBox application itself.
We have covered a tutorial to [install VirtualBox on Ubuntu][3]. Let me highlight the steps for a Windows system.
The steps will be the same for the latest Windows 10 or 11 and older. Two easy ways to get Oracle VirtualBox installed on Windows:
1. **Download the installer for Windows and follow the on-screen instructions**
2. **Use the winget tool**
### 1\. Using the Windows Installer
To get started, head to [VirtualBox's official download page][4]. Click on " **Windows hosts** " option to download the .exe installer.
![][5]
Once you download the installer (.exe) file, here's what is next after launching it:
![][6]
The installation instructions let you choose a location to get it installed to. You should stick with the defaults on the C: drive to ensure everything essential gets installed for VirtualBox to work as expected.
![][7]
The installation process includes setting up virtual network interfaces. So, your network might get reset at the moment. Ensure that you are not connected to anything important at the time of installing it.
![][8]
While the networking feature gets sorted, there are also dependencies to take care of.
The Python core package needs to be installed for Python bindings to work. You do not necessarily need to install it if you would rather not control your virtual machine using Python scripts.
![][9]
However, if you think you might need them in the future, you should install it along with it.
Now, the final installation process will begin as per your preferences above, and it will present you with the option to launch VirtualBox upon closing the installer.
![][10]
**Suggested Read 📖**
![][11]
### 2\. Using the winget tool
The winget command-line tool uses the Windows Package Manager to search, install, upgrade, remove, and configure applications on Windows 10 and 11.
If you prefer to use the command-line, this is the method for you.
First, you need to launch **Command Prompt** as an **administrator**.
![][12]
Next, you need to use the winget command to install VirtualBox.
Here's the command to type in:
```
winget install Oracle.VirtualBox
```
📋
If you are using winget for the first time, it will ask you to agree to the terms. You need to accept them to continue using it while some of your data like region gets sent to the Microsoft Store.
![][13]
### Enabling virtualization is the next step
As you can notice, both the methods install the latest VirtualBox package for Windows. So, you can get started using VirtualBox to create and manage virtual machines.
But installing VirtualBox is only the first step. You should [ensure that your Windows system is virtualization ready][14] by tweaking some settings. Here are more details.
![][11]
💬 _Did you face any issues with the process? What method do you prefer? Let me know in the comments below._
--------------------------------------------------------------------------------
via: https://itsfoss.com/install-virtualbox-windows/
作者:[Ankush Das][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/ankush/
[b]: https://github.com/lujun9972
[1]: https://itsfoss.com/virtualization-software-linux/
[2]: https://itsfoss.com/install-linux-in-virtualbox/
[3]: https://itsfoss.com/install-virtualbox-ubuntu/
[4]: https://www.virtualbox.org/wiki/Downloads
[5]: https://itsfoss.com/content/images/2023/07/virtualbox-exe-download.jpg
[6]: https://itsfoss.com/content/images/2023/07/vbox-installer-next.jpg
[7]: https://itsfoss.com/content/images/2023/07/vmbox-location.jpg
[8]: https://itsfoss.com/content/images/2023/07/vmbox-network-interface.jpg
[9]: https://itsfoss.com/content/images/2023/07/vmbox-dependencies.jpg
[10]: https://itsfoss.com/content/images/2023/07/vmbox-install-complete.jpg
[11]: https://itsfoss.com/content/images/size/w256h256/2022/12/android-chrome-192x192.png
[12]: https://itsfoss.com/content/images/2023/07/cmd-administrator.jpg
[13]: https://itsfoss.com/content/images/2023/07/winget-vbox-1.jpg
[14]: https://itsfoss.com/windows-enable-virtualization/

View File

@ -0,0 +1,117 @@
[#]: subject: "Install VirtualBox on Windows [So that You Can Run Linux VM]"
[#]: via: "https://itsfoss.com/install-virtualbox-windows/"
[#]: author: "Ankush Das https://itsfoss.com/author/ankush/"
[#]: collector: "lujun9972/lctt-scripts-1693450080"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
在 Windows 上安装 VirtualBox 以便可以运行 Linux VM
======
VirtualBox 是[最好的虚拟化软件][1] 之一。
如果你想[使用 VirtualBox 在 Windows 上得虚拟机中安装 Linux][2],第一步是安装 VirtualBox 应用本身。
我们已经介绍了[在 Ubuntu 上安装 VirtualBox][3] 的教程。让我重点介绍 Windows 系统的步骤。
对于最新的 Windows 10 或 11 及更早版本,步骤将相同。在 Windows 上安装 Oracle VirtualBox 的两种简单方法:
1. **下载 Windows 版安装程序并按照屏幕上的说明进行操作**
2. **使用winget工具**
### 1\. 使用 Windows 安装程序
要开始使用,请前往 [VirtualBox 的官方下载页面][4]。单击 “**Windows host**” 选项下载 .exe 安装程序。
![][5]
下载安装程序(.exe文件后启动它后将执行以下操作
![][6]
安装指导允许你选择安装位置。你应该坚持使用 C: 驱动器上的默认设置,以确保安装 VirtualBox 所需的所有内容,使其按预期工作。
![][7]
安装过程包括设置虚拟网络接口。因此,你的网络此时可能会被重置。确保安装时没有连接到任何重要的东西。
![][8]
在对网络功能进行排序的同时,还需要处理一些依赖关系。
需要安装 Python 核心包才能使 Python 绑定正常工作。如果你不想使用 Python 脚本控制虚拟机,则不一定需要安装它。
![][9]
但是,如果你认为将来可能需要它们,则应该将其与它一起安装。
现在,最终的安装过程将根据你上面的偏好开始,并且它将向你提供在关闭安装程序时启动 VirtualBox 的选项。
![][10]
### 2\. 使用 winget 工具
winget 命令行工具使用 Windows 包管理器在 Windows 10 和 11 上搜索、安装、升级、删除和配置应用。
如果你更喜欢使用命令行,那么这就是适合你的方法。
首先,你需要以**管理员**身份启动**命令提示符**。
![][12]
接下来,你需要使用 winget 命令来安装 VirtualBox。
这是要输入的命令:
````
winget install Oracle.VirtualBox
````
📋
如果你是第一次使用 winget它会要求你同意这些条款。你需要接受它们才能继续使用它同时你的一些数据例如区域将发送到 Microsoft Store。
![][13]
### 下一步是启用虚拟化
你可以注意到,这两种方法都会安装适用于 Windows 的最新 VirtualBox 软件包。因此,你可以开始使用 VirtualBox 来创建和管理虚拟机。
但安装 VirtualBox 只是第一步。你应该通过调整一些设置来[确保你的 Windows 系统已做好虚拟化准备][14]。以下是更多详细信息。
![][11]
💬 _你在流程中遇到过任何问题吗你更喜欢哪种方法请在下面的评论中告诉我。_
--------------------------------------------------------------------------------
via: https://itsfoss.com/install-virtualbox-windows/
作者:[Ankush Das][a]
选题:[lujun9972][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/ankush/
[b]: https://github.com/lujun9972
[1]: https://itsfoss.com/virtualization-software-linux/
[2]: https://itsfoss.com/install-linux-in-virtualbox/
[3]: https://itsfoss.com/install-virtualbox-ubuntu/
[4]: https://www.virtualbox.org/wiki/Downloads
[5]: https://itsfoss.com/content/images/2023/07/virtualbox-exe-download.jpg
[6]: https://itsfoss.com/content/images/2023/07/vbox-installer-next.jpg
[7]: https://itsfoss.com/content/images/2023/07/vmbox-location.jpg
[8]: https://itsfoss.com/content/images/2023/07/vmbox-network-interface.jpg
[9]: https://itsfoss.com/content/images/2023/07/vmbox-dependencies.jpg
[10]: https://itsfoss.com/content/images/2023/07/vmbox-install-complete.jpg
[12]: https://itsfoss.com/content/images/2023/07/cmd-administrator.jpg
[13]: https://itsfoss.com/content/images/2023/07/winget-vbox-1.jpg
[14]: https://itsfoss.com/windows-enable-virtualization/