- 论坛徽章:
- 1
|
作者: dzajk 出自: http://www.linuxdiyf.com
VirtualBox 有两种版本: VirtualBox-ose 和 VirtualBox (Personal Use and Evaluation License (PUEL)。
VirtualBox-ose:这个是开源的版本。在 community库里就有。它缺少一个特性,比如在宿主机和虚拟机间的文件共享和USB支持。
VirtualBox (PUEL) :对个人来说是免费的,可以在AUR中找到,或者到VirtualBox’s 网站下载。其他的一些特性我这里就不做介绍了。
下面讲下OSE版本在ArchLinux下的安装。
Install VirtualBox OSE
要顺利安装VirtualBox OSE, 你需要增加 community库到/etc/pacman.conf
#[community]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/community
修改为:
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/community
现在可以使用 pacman 来安装 VirtualBox OSE:
pacman -Sy virtualbox-ose
(NOTE: The program generates desktop entry that can be located in applications -> system tools -> VirtualBox OSE)
默认会安装 virtualbox-ose 和 virtualbox-modules 包. 然后你需要增加 virtualbox 组(如果已经存在,则不用添加了),并将自己添加到组:
gpasswd -a USERNAME vboxusers
(Note: 你需要重心登出,使得设置生效)
然后在 /etc/rc.conf 增加 vboxdrv 到 modules 选项 i使得在pc启动时装载改module。也可以用root来手工装载::
modprobe vboxdrv
注:还需要安装依赖的相关包
e2fsprogs
libidl2
libstdc++5
libxslt
qt
sdl
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/31/showart_545247.html |
|