VirtualBox,VMware,Hyper-V:差异和最佳方案

Virtualizing an operating system is installing it and being able to use it within a specific configuration, which we know as a “virtual machine”.虚拟化操作系统是指安装它并可以在特定配置中使用它,我们将其称为“虚拟机”。 Thanks to virtualization we can run two or more operating systems at the same time, in a safe and isolated way, so that we can improve our workflow, or simply feed our curiosity by leaving what other operating systems are like without altering our virtual machine.借助虚拟化,我们可以安全且隔离的方式同时运行两个或多个操作系统,这样我们就可以改善工作流程,或者通过保留其他操作系统的状态来满足我们的好奇心,而无需更改虚拟机。 When testing virtual machines we can find mainly 3 platforms:在测试虚拟机时,我们主要可以找到XNUMX个平台: VMware,VirtualBox和Hyper-V 。 However, which one is better?但是,哪个更好? Which one should we choose?我们应该选择哪一个?

从广义上讲,这三个平台将使我们具有相同的优势: 安装和测试操作系统 在我们之上 Windows 而不对其进行更改,并且没有发生问题的可能影响我们数据的风险。 其中一个程序是免费的开源程序,另一个是商业程序,另一个默认包含在Windows 10的某些版本中。

VirtualBox,VMware,Hyper-V

However, although they are similar, each of them has its advantages and disadvantages.但是,尽管它们相似,但是它们各有优缺点。 Next we will see them.接下来,我们将看到它们。

VMware的 VirtualBox的 Hyper-V
操作简单 中等 便于 复杂
性能 中等
快照 Premium Partner Premium Partner
分享文件 Premium Partner Premium Partner 是的,但是很复杂。
Windows整合 Premium Partner Premium Partner
加密 Premium Partner 是(通过客人添加) Premium Partner
兼容系统 Windows,Linux,macOS Windows,Linux,macOS Windows和Linux(有局限性)
价格 免费/付费 XNUMX XNUMX
其它 出色的安全性 开放源代码 仅在Windows 10 Pro上
WSL和WSL2支持
W

VMware Workstation,专业人士的虚拟机

在什么范围内 VMware的 we have several editions.我们有几个版本。 On the one hand we have the一方面,我们有 工作站播放器 ,这是具有多个限制的免费版,并且 工作站专业版 ,更加完整,没有限制。 We are going to look at the Pro.我们将看一下Pro。

在VMware OS中安装VMware Tools-2

在其主要功能中,我们可以突出显示大量 的自定义和配置选项 该计算机将使我们能够完全控制虚拟机。 除了能够配置我们要专用于虚拟化的硬件(例如, 内存, 中央处理器,磁盘等),我们还将找到一系列功能,选项和 高级工具 例如,这将使我们能够采取其他措施来保护和隔离VM,这对公司很有用。

有了这个程序,我们将能够 轻松共享各种文件 between our main PC and the virtualized one.在我们的主PC和虚拟PC之间。 It is compatible with smart cards, supports与智能卡兼容,支持 USB 3.0 ,与vSphere / ESXi和vCloud Air集成,并具有 与DirectX兼容的3D图形 和OpenGL。

创建虚拟机后,我们可以 创建快照 这样我们就可以随时将虚拟机恢复为之前的状态,我们可以将其克隆为同时使用两个相等的机器,甚至可以使用“ 链接克隆 ”,该功能使我们可以创建VM的副本而无需完全复制它并节省大量空间。

当然,它还有一个工具可以帮助我们轻松共享各种虚拟机。

下载VMware 。 该程序使我们可以虚拟化所有类型的操作系统,包括Windows和Windows XP。 Linux 甚至macOS(具有一些额外设置)。 而且它还提供了非常流畅的体验。 尽管这不是他的专长,但他也与复古系统相处得很好。

我们始终能够使用VirtualBox毫无问题地安装VMware,但是,从版本16开始,它也与Windows 10的管理程序Hyper-V融为一体,因此,我们可以使所有程序同时共存。

VirtualBox,免费和开源替代品

VMware是我们为虚拟机找到的最完整的程序。 But if our use is to walk around the house, surely it is “too big”, in addition to being paid.但是,如果我们的用途是在房子周围走走,那么除了付钱外,肯定“太大”了。 And this is where这就是 VirtualBox的 发挥作用 .

校长VirtualBox

该程序的所有者 甲骨文, 虽然是 完全免费的开源软件 。 Any user, both professional and personal, can use this software without limitations, although some of its extensions (such as USB 3.0, RDP or PXE) will require the payment of a license that gives permission to use them in professional environments.尽管某些扩展名(例如USB XNUMX,RDP或PXE)将需要支付许可才能在专业环境中使用,但无论是专业用户还是个人用户都可以不受限制地使用该软件。

该虚拟化软件具有各种工具,可让我们轻松地 分享 files between virtual machines.虚拟机之间的文件。 In addition, we can also control them from CMD, if we want to automate certain tasks.此外,如果我们要使某些任务自动化,也可以从CMD控制它们。 It also allows you to create snapshots so that you can easily return to the previous point.它还允许您创建快照,以便您可以轻松返回上一点。

它具有视频捕获功能和非常有趣的功能,例如,使我们能够使用 虚拟化的应用程序 as if they were system applications “separating” them.就像它们是系统应用程序“分隔”它们一样。 Its main problem is that it has它的主要问题是它具有 对3D图形的有限支持 。 也是 比较慢 运行虚拟机时要比使用VMware。

下载的VirtualBox 。 This program will allow us to virtualize Windows, Linux and macOS without problems.该程序将使我们能够毫无问题地虚拟化Windows,Linux和macOS。 In addition, it gets along very well with very strange operating systems, and even retro.此外,它与非常奇怪的操作系统(甚至是复古)相处得很好。 Its floppy drive management is superior to VMware's.它的软盘驱动器管理优于VMware。 In addition, it is compatible with machines built with VMware.此外,它与使用VMware构建的计算机兼容。

VirtualBox可以与VMware一起安装,而在其最新版本(特别是从6.0开始)中,也可以与Hyper-V一起安装。

Hyper-V,Microsoft的WSL解决方案及更多

如果我们使用Windows 10 Pro,则 Hyper-V 将成为我们操作系统的一部分。 尽管它可以用于安装Windows和Linux,但与以前的程序一样,其他 微软 在Windows的最新版本中,诸如WSL2(Linux的Windows子系统)或Windows Sandbox(用于安全运行软件的隔离模式)等功能正变得越来越重要。

Hyper-V管理员

Hyper-V作为用于虚拟机的程序,是一项更具针对性的功能,特别是对于从事以下工作的用户而言: 专业环境 。 It offers very advanced features and even allows you to install virtual machines on real disks, disks that can then be used to boot any PC.它提供了非常高级的功能,甚至允许您将虚拟机安装在实际磁盘上,然后这些磁盘可用于引导任何PC。

Hyper-V不必从任何地方下载,因为它是Windows 10 Pro的功能(尽管我们必须手动激活它)。 But if we have the Home edition we will not be able to use this program.但是,如果我们拥有家庭版,则将无法使用该程序。

VMware,VirtualBox,Hyper-V ...我应该选择哪一个?

The truth is that the use of Hyper-V is very clear.事实是,Hyper-V的用法非常明确。 If we are going to use the Windows Subsystem for Linux, Sandbox mode, or very specific virtualization platforms, such as Docker, then we will have to enable the Windows hypervisor.如果我们打算将Windows子系统用于Linux,沙盒模式或非常特定的虚拟化平台(例如Docker),则必须启用Windows虚拟机管理程序。 Otherwise, although it is specialized in Windows, and it is where Microsoft's operating system will work best for us, its complexity and limited options make it really not worth it.否则,尽管它专用于Windows,并且它是Microsoft操作系统最适合我们的地方,但它的复杂性和有限的选择使其确实不值得。 Therefore, the thing is between VirtualBox and VMware.因此,事情就在VirtualBox和VMware之间。

如果我们是一家公司,并且希望充分利用虚拟化操作系统,那么我们必须 选择VMware ,尤其是“ Workstation Pro”版本,因为它是最先进,最完整的版本。 If we are home users, and we are not going to make a very advanced use, either of the two programs can be perfectly useful.如果我们是家庭用户,并且我们不打算进行非常高级的使用,那么这两个程序中的任何一个都是非常有用的。 We could recommend VMware in the case of installing and在安装和安装 使用Windows和macOS 如果我们计划测试Linux发行版或非常老的操作系统,请在虚拟机和VirtualBox中使用。