如何在Fedora Linux上安装,运行和卸载VMware Player和VirtualBox

VMware Player and VirtualBox are two cool and free full virtualization solutions and both can run on top of a Linux host. In this post, I introduce how to install, run, and uninstall VMware Player and VirtualBox on Fedora Linux.

VMware Player和VirtualBox是两个很酷的免费完整虚拟化解决方案,它们都可以在Linux主机上运行。 在本文中,我将介绍如何在Fedora Linux上安装,运行和卸载VMware Player和VirtualBox。

VMware Player∞ (VMware Player )

安装VMware Player∞ (Install VMware Player )

Download the installation bundle from VMware’s website. For example, the file we download is: VMware-Player-4.0.0-471780.x86_64.bundle .

从VMware网站下载安装包。 例如,我们下载的文件是: VMware-Player -4.0.0-471780.x86_64.bundle。

Install needed kernel header and devel packages

安装所需的内核头文件和开发包

# yum install kernel-headers kernel-devel

Run the bundle file

运行捆绑文件

# sh VMware-Player-4.0.0-471780.x86_64.bundle

Then just follow the instruction of the GUI of the VMware installer, and you can finish the installation.

然后,只需按照VMware安装程序的GUI指示进行操作即可完成安装。

运行VMware Player∞ (Run VMware Player )

Just execute

只需执行

$ vmplayer

Start a virtual machine just by one command

只需一个命令即可启动虚拟机

$ vmplayer /path/to/virtual/machine/config.vmx

Give the path to the virtual machine configuration file (a .vmx file under the virtual machine’s directory) to vmplayer as its parameter.

将虚拟机配置文件(虚拟机目录下的.vmx文件)的路径作为参数指定给vmplayer。

卸载VMware Player∞ (Uninstall VMware Player )

VMware installer provides the method to uninstall VMware products. We can use this tool

VMware安装程序提供了卸载VMware产品的方法。 我们可以使用这个工具

# vmware-installer  --uninstall-product vmware-player

It has a GUI and just follow its instruction to finish the uninstallation.

它具有GUI,只需按照其说明完成卸载即可。

VirtualBox的 (VirtualBox )

virtualbox.png
安装VirtualBox (Install VirtualBox )

We use VirtualBox’s repository for Fedora here. We use VirtualBox-4.1 as the example.

我们在这里使用VirtualBox的Fedora存储库。 我们以VirtualBox-4.1为例。

Download the repository file.

下载存储库文件。

# cd /etc/yum.repos.d
# wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo

Install VirtualBox using yum

使用yum安装VirtualBox

# yum install VirtualBox-4.1

Related (for UEFI Secure Boot systems): VirtualBox report “Kernel driver not installed” on Fedora 21.

相关(对于UEFI安全启动系统 ): VirtualBox在Fedora 21上报告“未安装内核驱动程序”

运行VirtualBox的 (Run VirtualBox )

Just execute

只需执行

$ virtualbox

Start a virtual machine just by one command

只需一个命令即可启动虚拟机

# VBoxManage startvm name_of_the_virtual_machine

VBoxManager use the virtual machine’s name as its parameter. The name can be found from VirtualBox’s virtual machine list.

VBoxManager使用虚拟机的名称作为其参数。 可以从VirtualBox的虚拟机列表中找到该名称。

卸载VirtualBox的 (Uninstall VirtualBox )

As installing VirtualBox, we can uninstall (erase) it using yum

安装VirtualBox时,我们可以使用yum卸载(擦除)它

# yum erase VirtualBox-4.1


Previous comments:

以前的评论:

frogola, OCT 11, 2012 AT 11:07 PM
How would you compare the two products, what are the strengths and weaknesses of each? Which one do you prefer?

托格拉多拉,2012年10月11日,晚上11:07
您将如何比较这两种产品,每种产品的优缺点是什么? 你更倾向哪个?

Zhiqiang Ma, OCT 12, 2012 AT 10:01 AM
On Linux platforms from my own experience, VMWare player delivers better performance than VirtualBox. However, VirtualBox is easier to setup/upgrade/etc. Considering the higher performance of PCs, I like VirtualBox more.

马志强,2012年10月12日,上午10:01
根据我的经验,在Linux平台上,VMWare播放器提供了比VirtualBox更好的性能。 但是,VirtualBox易于设置/升级/等。 考虑到PC的更高性能,我更喜欢VirtualBox。

翻译自: https://www.systutorials.com/how-to-install-run-and-uninstall-vmware-player-and-virtualbox-on-fedora-linux/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值