标签:
1> 下载VirtualBox的RHEL软件库配置文件:
cd /etc/yum.repos.d
wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
2> 安装RPMForge.
首先从http://pkgs.repoforge.org/rpmforge-release/上下载相应的rpm文件,我下载的是rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm,具体版本
信息请参考:http://wiki.centos.org/zh/AdditionalResources/Repositories/RPMForge。
rpm -ivh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
3> 安装DKMS(Dynamic Kernel Module)
yum install dkms
4> 安装开发环境和内核:
yum groupinstall "Development Tools"
yum install kernel-devel
5> 安装VirtualBox
我是先在官网下载下来的,版本是VirtualBox-4.3-4.3.26_98988_el7-1.x86_64.rpm, https://www.virtualbox.org/wiki/Downloads
yum install VirtualBox-4.3-4.3.26_98988_el7-1.x86_64.rpm
转自: http://www.th7.cn/system/lin/201507/121713.shtml
标签:
原文地址:http://www.cnblogs.com/pinganzi/p/5439953.html