首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux上安装VirtualBox

2012-07-05 
linux下安装VirtualBoxThis is a step by step tutorial on how to get VirtualBox 3 up andrunning on Fe

linux下安装VirtualBox

This is a step by step tutorial on how to get VirtualBox 3 up andrunning on Fedora 12. Specifically, this guide was written usingthe VirtualBox 3.0.8 version and an i386 CPU (32-bit). It can beadapted to upcoming versions and different CPUs (64-bit). The folksat VirtualBox have made it easy to install for Fedora users and I’mgoing to show you how in a few easy steps. Right, open a terminalwindow and let’s get to it...
注意:如果升级内核的话,内核相关的软件同时升级,否则虚拟机内核无法编译导致虚拟机无法打开。
linux上安装VirtualBox


1.) Become Priviledged

Code:
su -

2.) Get the VirtualBox repo installed

Code:
wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo && cp virtualbox.repo /etc/yum.repos.d/

3.) Install VirtualBox (along with a few other neededpackages)!

Code:
yum install -y VirtualBox dkms kernel-devel make automake autoconf gcc

Just so you know, DKMS will “ensure that the VirtualBox host kernelmodules (vboxdrv, vboxnetflt and vboxnetadp) are properly updatedif the linux kernel version changes during the next kernelupdate.”

4.) Run the setup file for VirtualBox:

Code:
/etc/init.d/vboxdrv setup

If you’re having issues here, try installing“kernel-PAE-devel”

5.) Add yourself to the “vboxusers” group and fix the SELinuxPermissions:

Code:
usermod -G vboxusers -a usernamechcon -t textrel_shlib_t /usr/lib/virtualbox/VirtualBox.so

6.) Run, and enjoy!

Code:???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

VirtualBox

热点排行
Bad Request.