Linux上安装VirtualBox的方法

Open the terminal and get into super user mode:

su -

1.) Get the latest VirtualBox package (as of now, 2.2.4) from the Virtualbox Website for Fedora 11 and install it.  The following command should download and install the application:
wget http://download.virtualbox.org/virtualbox/2.2.4/VirtualBox-2.2.4_47978_fedora11-1.i586.rpm && rpm -ivh VirtualBox-2.2.4_47978_fedora11-1.i586.rpm

2.) Get the kernel-devel and other needed packages:
yum install make automake autoconf gcc kernel-devel dkms

3.) Run the setup file for VirtualBox:
/etc/init.d/vboxdrv setup

4.) Add yourself to the “vboxusers” group and fix the SELinux Permissions:
usermod -G vboxusers -a username
chcon -t textrel_shlib_t /usr/lib/virtualbox/VirtualBox.so

5.) Run, and enjoy!

 
6.) To Get USB Support:

    1– locate file usbfs: in my case is /sys/bus/usb/drivers (I suggest to find the file with a usb device inserted;
    2– modify file /etc/fstab inserting a line containing the right path and the number corresponding the “vboxusers” group :
    none /sys/bus/usb/drivers     usbfs   devgid=501,devmode=664        0    0
    3– start VB and try…;

7.) VirtualBox虚拟机访问主机文件:
    1- 分配数据空间, 暂定数据空间名称为:fc11
    2- 在虚拟机中映射网络驱动器, 文件夹为: /vboxsvrfc11
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值