2015年1月29日 星期四

[linux]How to install VirtualBox on Centos 6.5



How to install VirtualBox on Centos 6.5


## download REHL repo

  $ cd /etc/yum.repos.d
  $ wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo

## install related package

  $yum --enablerepo rpmforge install dkms
  $yum groupinstall "Development Tools"
  $yum install kernel-devel

## install VirtualBox

  $ yum search Virtualbox
 
  ================================================================================= N/S Matched: Virtualbox ==================================================================================
  RemoteBox.noarch : Open Source VirtualBox Client with Remote Management
  VirtualBox-3.2.x86_64 : Oracle VM VirtualBox
  VirtualBox-4.0.x86_64 : Oracle VM VirtualBox
  VirtualBox-4.1.x86_64 : Oracle VM VirtualBox
  VirtualBox-4.2.x86_64 : Oracle VM VirtualBox
  VirtualBox-4.3.x86_64 : Oracle VM VirtualBox
 
  find your kernel src
 
  $export KERN_DIR=/usr/src/kernels/2.6.32-504.3.3.el6.x86_64
  $yum install -y VirtualBox-4.3
 
  $/etc/init.d/vboxdrv setup
 
  ref:
  - How to Install Oracle VirtualBox 4.3.20 on CentOS 7/6/5 and Fedora
  http://tecadmin.net/install-oracle-virtualbox-on-centos-redhat-and-fedora/

  - Build-Essentials in CentOS? | TechBytes
  http://www.asim.pk/2010/05/28/build-essentials-in-centos/

  - HowTos/Virtualization/VirtualBox - CentOS Wiki
  http://wiki.centos.org/HowTos/Virtualization/VirtualBox#head-81de410879b8e7f18a127f638160e036ab99684e

沒有留言:

張貼留言