CentOS安装virtualbox

  1. cd /etc/yum.repos.d/
  2. wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
  3. yum install VirtualBox-4.1
  4. yum install make gcc kernel-headers kernel-devel
  5. KERN_DIR=/usr/src/kernels/2.6.32-220.2.1.el6.i686
  6. export KERN_DIR
  7. /etc/init.d/vboxdrv setup

说明:2.6.32-220.2.1.el6.i686替换成自己的。
参考:http://rationallyparanoid.com/articles/virtualbox-centos-6.2.html

标签:CentosVirtualbox 发布于:2019-11-23 17:46:12