使用VMware Player在Ubuntu中运行Windows

Are you an enthusiast who loves their Ubuntu Linux experience but still needs to use Windows programs?  Here’s how you can get the full Windows experience on Ubuntu with the free VMware Player.

您是热爱Ubuntu Linux经验但仍需要使用Windows程序的发烧友吗? 通过免费的VMware Player,可以在Ubuntu上获得完整的Windows体验。

Linux has become increasingly consumer friendly, but still, the wide majority of commercial software is only available for Windows and Macs.  Dual-booting between Windows and Linux has been a popular option for years, but this is a frustrating solution since you have to reboot into the other operating system each time you want to run a specific application. 

Linux变得对消费者越来越友好,但是,仍然大多数商业软件仅适用于Windows和Mac。 多年来, Windows和Linux之间的双重引导一直是一种流行的选择,但这是一个令人沮丧的解决方案,因为每次要运行特定的应用程序时都必须重新引导到另一个操作系统。

With virtualization, you’ll never have to make this tradeoff.  VMware Player makes it quick and easy to install any edition of Windows in a virtual machine.  With VMware’s great integration tools, you can copy and paste between your Linux and Windows programs and even run native Windows applications side-by-side with Linux ones.

使用虚拟化,您将永远不必进行权衡。 通过VMware Player,可以轻松快捷地在虚拟机中安装任何版本的Windows。 借助VMware出色的集成工具,您可以在Linux和Windows程序之间进行复制和粘贴,甚至可以与Linux程序并行运行本机Windows应用程序。

Getting Started

入门

Download the latest version of VMware Player for Linux, and select either the 32-bit or 64-bit version, depending on your system.  VMware Player is a free download, but requires registration.  Sign in with your VMware account, or create a new one if you don’t already have one.

下载最新版本的VMware Player for Linux,并根据您的系统选择32位或64位版本。 VMware Player是免费下载的,但需要注册。 使用您的VMware帐户登录,或者如果您还没有一个,则创建一个新帐户。

image

VMware Player is fairly easy to install on Linux, but you will need to start out the installation from the terminal.  First, enter the following to make sure the installer is marked as executable, substituting version/build_number for the version number on the end of the file you downloaded.

VMware Player在Linux上非常容易安装,但是您需要从终端开始安装。 首先,输入以下内容以确保安装程序被标记为可执行文件,在您下载的文件末尾用version / build_number替换版本号。

chmod +x ./VMware-Player-version/build_number.bundle

chmod + x ./VMware-Player- version / build_number .bundle

Then, enter the following to start the install, again substituting your version number:

然后,输入以下内容以开始安装,再次替换您的版本号:

gksudo bash ./VMware-Player-version/build_number.bundle

gksudo bash ./VMware-Player- version / build_number .bundle

image

You may have to enter your administrator password to start the installation, and then the VMware Player graphical installer will open.  Choose whether you want to check for product updates and submit usage data to VMware, and then proceed with the install as normal.

您可能必须输入管理员密码才能开始安装,然后将打开VMware Player图形安装程序。 选择是否要检查产品更新并将使用情况数据提交给VMware,然后照常进行安装。

image

VMware Player installed in only a few minutes in our tests, and was immediately ready to run, no reboot required.  You can now launch it from your Ubuntu menu: click Applications \ System Tools \ VMware Player.

在我们的测试中,VMware Player仅在几分钟内就安装完毕,并且可以立即运行,无需重新引导。 现在,您可以从Ubuntu菜单启动它:单击应用程序\系统工具\ VMware Player。

image

You’ll need to accept the license agreement the first time you run it.

首次运行时,您需要接受许可协议。

image

Welcome to VMware Player!  Now you can create new virtual machines and run pre-built ones on your Ubuntu desktop.

欢迎使用VMware Player! 现在,您可以创建新的虚拟机,并在Ubuntu桌面上运行预构建的虚拟机。

image

Install Windows in VMware Player on Ubuntu

在Ubuntu上的VMware Player中安装Windows

Now that you’ve got VMware setup, it’s time to put it to work.  Click the Create a New Virtual Machine as above to start making a Windows virtual machine.

现在您已经设置了VMware,现在该开始使用它了。 单击上述创建新虚拟机以开始制作Windows虚拟机。

In the dialog that opens, select your installer disk or ISO image file that you want to install Windows from.  In this example, we’re select a Windows 7 ISO.  VMware will automatically detect the operating system on the disk or image.  Click Next to continue.

在打开的对话框中,选择要从中安装Windows的安装盘或ISO映像文件。 在此示例中,我们选择Windows 7 ISO。 VMware将自动检测磁盘或映像上的操作系统。 单击下一步继续。

image

Enter your Windows product key, select the edition of Windows to install, and enter your name and password.

输入Windows产品密钥,选择要安装的Windows版本,然后输入名称和密码。

image

You can leave the product key field blank and enter it later.  VMware will ask if you want to continue without a product key, so just click Yes to continue.

您可以将产品密钥字段保留为空白,稍后再输入。 VMware将询问您是否要在没有产品密钥的情况下继续,因此只需单击“ 是”即可继续。

image

Now enter a name for your virtual machine and select where you want to save it. 

现在为您的虚拟机输入一个名称,然后选择要保存的位置。

Note: This will take up at least 15Gb of space on your hard drive during the install, so make sure to save it on a drive with sufficient storage space.

注意:在安装过程中,这将至少占用硬盘驱动器15Gb的空间,因此请确保将其保存在具有足够存储空间的驱动器上。

image

You can choose how large you want your virtual hard drive to be; the default is 40Gb, but you can choose a different size if you wish.  The entire amount will not be used up on your hard drive initially, but the virtual drive will increase in size up to your maximum as you add files. 

您可以选择虚拟硬盘的大小。 默认值为40Gb,但您可以根据需要选择其他大小。 最初不会在硬盘驱动器上用完全部数量,但是在添加文件时,虚拟驱动器的大小将增加到最大。

Additionally, you can choose if you want the virtual disk stored as a single file or as multiple files.  You will see the best performance by keeping the virtual disk as one file, but the virtual machine will be more portable if it is broken into smaller files, so choose the option that will work best for your needs.

此外,您可以选择是否将虚拟磁盘存储为单个文件或多个文件。 通过将虚拟磁盘保留为一个文件,可以看到最佳性能,但是如果虚拟机被分解成较小的文件,则虚拟机将具有更大的可移植性,因此请选择最适合您需要的选项。

image

Finally, review your settings, and if everything looks good, click Finish to create the virtual machine.

最后,检查您的设置,如果一切正常,请单击“完成”以创建虚拟机。

image

VMware will take over now, and install Windows without any further input using its Easy Install.  This is one of VMware’s best features, and is the main reason we find it the easiest desktop virtualization solution to use.

VMware现在将接管,并使用其Easy Install来安装Windows,而无需任何其他输入。 这是VMware的最佳功能之一,也是我们发现它是最易于使用的桌面虚拟化解决方案的主要原因。

image

Installing VMware Tools

安装VMware Tools

VMware Player doesn’t include the VMware Tools by default; instead, it automatically downloads them for the operating system you’re installing.  Once you’ve downloaded them, it will use those tools anytime you install that OS.  If this is your first Windows virtual machine to install, you may be prompted to download and install them while Windows is installing.  Click Download and Install so your Easy Install will finish successfully.

默认情况下,VMware Player不包括VMware Tools。 相反,它会自动为您要安装的操作系统下载它们。 下载它们后,它将在您安装该OS的任何时候使用这些工具。 如果这是您要安装的第一台Windows虚拟机,则在安装Windows时可能会提示您下载并安装它们。 单击下载并安装,这样您的轻松安装将成功完成。

image

VMware will then download and install the tools.  You may need to enter your administrative password to complete the install. Other than this, you can leave your Windows install unattended; VMware will get everything installed and running on its own.

然后,VMware将下载并安装工具。 您可能需要输入管理密码才能完成安装。 除此之外,您还可以无人照管Windows安装程序。 VMware将自行安装并运行所有内容。

image

Our test setup took about 30 minutes, and when it was done we were greeted with the Windows desktop ready to use, complete with drivers and the VMware tools.  The only thing missing was the Aero glass feature.  VMware Player is supposed to support the Aero glass effects in virtual machines, and although this works every time when we use VMware Player on Windows, we could not get it to work in Linux. 

我们的测试设置大约花费了30分钟,完成后,我们可以使用可使用的Windows桌面,并附带了驱动程序和VMware工具。 唯一缺少的是Aero玻璃功能。 VMware Player应该支持虚拟机中的Aero玻璃效果,尽管每次在Windows上使用VMware Player都可以运行时,但我们无法使其在Linux中运行。

Other than that, Windows is fully ready to use.  You can copy and paste text, images, or files between Ubuntu and Windows, or simply drag-and-drop files between the two.

除此之外,Windows完全可以使用。 您可以在Ubuntu和Windows之间复制和粘贴文本,图像或文件,也可以在两者之间直接拖放文件。

image

Unity Mode

统一模式

Using Windows in a window is awkward, and makes your Windows programs feel out of place and hard to use.  This is where Unity mode comes in.  Click Virtual Machine in VMware’s menu, and select Enter Unity.

在窗口中使用Windows很尴尬,这会使您的Windows程序感觉不合适并且难以使用。 这就是Unity模式的用处。单击VMware菜单中的“ 虚拟机” ,然后选择Enter Unity

image

Your Windows desktop will now disappear, and you’ll see a new Windows menu underneath your Ubuntu menu.  This works the same as your Windows Start Menu, and you can open your Windows applications and files directly from it.

Windows桌面现在将消失,您将在Ubuntu菜单下看到一个新的Windows菜单。 这与Windows“开始”菜单的工作原理相同,您可以直接从中打开Windows应用程序和文件。

image

By default, programs from Windows will have a colored border and a VMware badge in the corner.  You can turn this off from the VMware settings pane.  Click Virtual Machine in VMware’s menu and select Virtual Machine Settings.  Select Unity under the Options tab, and uncheck the Show borders and Show badges boxes if you don’t want them.

默认情况下,Windows程序将在边框上带有彩色边框和VMware徽标。 您可以从VMware设置窗格中将其关闭。 单击VMware菜单中的虚拟机 ,然后选择虚拟机设置 。 在“ 选项”选项卡下选择“ Unity ”,如果不需要,请取消选中“ 显示边框”和“ 显示标志”框。

image

Unity makes your Windows programs feel at home in Ubuntu.  Here we have Word 2010 and IE8 open beside the Ubuntu Help application.  Notice that the Windows applications show up in the taskbar on the bottom just like the Linux programs.  If you’re using the Compiz graphics effects in Ubuntu, your Windows programs will use them too, including the popular wobbly windows effect.

Unity使您的Windows程序在Ubuntu中变得宾至如归。 在这里,我们在Ubuntu帮助应用程序旁边打开了Word 2010和IE8。 请注意,Windows应用程序显示在底部的任务栏中,就像Linux程序一样。 如果您在Ubuntu中使用Compiz图形效果,则Windows程序也将使用它们,包括流行的wobbly Windows效果。

image

You can switch back to running Windows inside VMware Player’s window by clicking the Exit Unity button in the VMware window.

您可以通过单击VMware窗口中的“ 退出Unity”按钮,切换回VMware Player窗口中正在运行的Windows。

image

Now, whenever you want to run Windows applications in Linux, you can quickly launch it from VMware Player.

现在,无论何时要在Linux中运行Windows应用程序,都可以从VMware Player快速启动它。

image

Conclusion

结论

VMware Player is a great way to run Windows on your Linux computer.  It makes it extremely easy to get Windows installed and running, lets you run your Windows programs seamlessly alongside your Linux ones.  VMware products work great in our experience, and VMware Player on Linux was no exception.

VMware Player是在Linux计算机上运行Windows的好方法。 它使安装和运行Windows非常容易,使您可以与Linux程序无缝地无缝运行Windows程序。 根据我们的经验,VMware产品效果很好,Linux上的VMware Player也不例外。

If you’re a Windows user and you’d like to run Ubuntu on Windows, check out our article on how to Run Ubuntu in Windows with VMware Player.

如果您是Windows用户,并且想在Windows上运行Ubuntu,请查看有关如何在Windows中使用VMware Player运行Ubuntu的文章。

Link

链接

Download VMware Player 3 (Registration required)

下载VMware Player 3 ( 需要注册 )

Download Windows 7 Enterprise 90-day trial

下载Windows 7 Enterprise 90天试用版

翻译自: https://www.howtogeek.com/howto/18768/run-windows-in-ubuntu-with-vmware-player/

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值