原文摘自:
http://www.thelinuxdaily.com/201 ... x-3-2-on-fedora-13/
按照下面顺序安装,我们可以很容易的在VirtualBox中使用USB等功能,不用进行任何设置!
第一步:
This is a one-liner command that will download, copy, and edit the VirtualBox repository file at once.
view source
print?
命令:: su -c 'wget
-O /etc/yum.repos.d/virtualbox.repo; sed -i "s,enabled=0,enabled=1,g" /etc/yum.repos.d/virtualbox.repo'
第二步: Update Repository and Install VirtualBox-3.2
This command will update yum repositories to include the new VirtualBox repository file we copied in the last step and then it will attempt to install VirtualBox-3.2 with dependencies.
view source
print?
命令: su -c 'yum update; yum install -y VirtualBox-3.2 dkms gcc'
第三步: Run VirtualBox Setup Script
This command will run the VirtualBox driver setup script.
view source
print?
命令: su -c '/etc/init.d/vboxdrv setup'
If you’re having issues, try installing “kernel-PAE-devel” or “kernel-devel”.
第四步: Setup Groups for VirtualBox Access
This command will add you to the vboxusers group. Replace “username” with your actual username found by using the whoami command.
view source
print?
命令: su -c 'usermod -G vboxusers -a username'
If you find that you’re getting SELinux errors or denials, try adding VirtualBox.so as an exception with this command:
su -c 'chcon -t textrel_shlib_t /usr/lib/virtualbox/VirtualBox.so'
第五步: Run VirtualBox
Finally, run VirtualBox and have fun with it!
view source
print?
命令: VirtualBox