VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. VirtualBox is a general-purpose full virtualizer for x86 hardware. Targeted at server, desktop and embedded use, it is now the only professional-quality virtualization solution that is also Open Source Software.
VirtualBox supports a large number of guest operating systems:
- Windows 3.x
- Windows NT 4.0
- Windows 2000
- Windows XP
- Windows Server 2003
- Windows Vista
- Windows 7
- DOS
- Linux (2.4 and 2.6)
- Solaris
- OpenSolaris
- OpenBSD
This howto shows howto install VirtualBox on Fedora 12, Fedora 13, CentOS 5.5, Red Hat (RHEL) 5.5 and Red Hat (RHEL) 6. This howto advantage Virtual Box yum repositories.
Change to root User
su - ## OR ## sudo -i
Install Fedora or RHEL Repo Files
cd /etc/yum.repos.d/ ## Fedora 12/13 and RHEL 6 users wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo ## CentOS 5 and RHEL 5 users wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
Update repositories with check-update or update command
yum check-update
## OR ##
yum updateInstall VirtualBox Latest Version (current 3.2.8)
yum install VirtualBox-3.2
Note:
This command create automatically vboxusers group and VirtualBox user must be member of that group.
This command also build needed kernel modules.
Add VirtualBox User to vboxusers Group
usermod -a -G vboxusers user_name
Start VirtualBox
Use launcher or simply:
VirtualBox
Check also:
Install VirtualBox Guest Additions on Fedora 13, CentOS 5.5, Red Hat (RHEL) 5.5/6
Related posts:
- Install VirtualBox Guest Additions on Fedora 13, CentOS 5.5, Red Hat (RHEL) 5.5/6 This is guide, howto install VirtualBox Guest Additions on Fedora, CentOS and Red Hat (RHEL). This guide should work with...
- Install MongoDB 1.6.0 on Fedora 13, CentOS 5.5, Red Hat (RHEL) 5.5 What is MongoDB?MongoDB (from “humongous”) is a scalable, high-performance, open source, schema-free, document-oriented database. Written in C++. MongoDB bridges the...
- Install OpenOffice.org 3.2.1/3.3.0 on Fedora 13, CentOS/Red Hat (RHEL) 5.5 OpenOffice.org 3.2 is released and the new version has many new features. Example following: Faster Start Up Times - OpenOffice.org...
- Install Sun/Oracle Java JDK/JRE 7 (b108) on Fedora 13/CentOS 5.5/RHEL 5.5/6 I have before written guide, Howto Install Sun/Oracle Java JDK and JRE 6 on Fedora 12, Fedora 13, CentOS 5.5,...
- Install Sun/Oracle Java JDK/JRE 6 (u21) on Fedora 13/CentOS 5.5/RHEL 5.5/6 This guide is updated/rewritten Jul 29, 2010 to use currently latest Sun/Oracle Java JDK and JRE 6 Update 21 and...
Thanks. I was looking for something like this and it was very helpful, since I’m fairly new with using Fedora distros.
??? Add VirtualBox User to vboxusers Group
:(( …. but not by using wheel group … this is intended for giving admin stuff to normal users …
Instead:
/etc/group:
vboxusers:x:501:remke
->>> usermod -aG vboxusers remke
Hi remke,
Thanks for correction. It was typo on command…now this guide is updated… :)
Hi,
Can anyone help,
i cannot install VirtualBox-3.2 on CentOS 5.4 i386 .
i’ve updated the system,
installed:
kernel-devel; kernel-PAE-devel; kernel-xen;kernel-xen-devel;
nothing worked, always the same problem: Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
Wat can i try next?
Hi danijelpg,
Could you post /var/log/vbox-install.log file content here?
Hi
i am trying to install VBox-3.2.6 on CentOS 5.4 i386
i have not installed KVM
i have installed “Development Tools” (gcc, make, automake…)
but i cannot install DKMS using: “yum install dkms”, anyone ones why???
and second, more important: when i try to install VBox i get then massage:
recompiling vbox kernel module FAILED
output from “rpm -qa kernel\* | sort” says then i have kernel-xen
and when i remove it because of installing kernel-PAE-devel, after attemp to reboot, system cannot reboot.
my questions are:
- how to install DKMS
- how to switch from kernel-xen to kernel-devel or kernel-PAE-devel
any PLEASE help!
What happen when you try to install DKMS? Please post all error messages?
Worked like a charm for my Fedora 13 x86_64 with KDE.
Thanks a lot.
RHEL6 does not work yet as the repo tries a directory that does not exist. However using the fedora13 version on RHEL6 works so you will need to use that repo instead (with some manual editing of the .repo file). Maybe you could add that to the oterwise great guide!
Hi Christian,
Thanks! Good point, I added this to guide.