Install virtualbox on CentOS 6

  • Install dkms package from rpmforge repository
    yum --enablerepo rpmforge install dkms
    If you have not yet install rpmforge repository, see How to install rpmforge repository on CentOS.
  • Dowload the repository file into /etc/yum.repos.d:
    wget -O /etc/yum.repos.d/virtualbox.repo
  • Update the packages:
    yum update
  • Find the latest VirtualBox package:
    yum search VirtualBox
  • Install the latest VirtualBox package:
    yum install VirtualBox-4.2
  • Start virtualbox, Applications -> System Tools -> Oracle VM VirtualBox
  • Troubleshooting
    • USB (Keyboard) subsystem not working, solution:
      sudo usermod -a -G vboxusers yourusername
      then log out and log back in.

No comments:

Post a Comment