Skip to main content

how to install oracle virtualbox 4.*

Install VirtualBox 4.0.8 on Fedora 15/14, CentOS/Red Hat (RHEL) 5.6/6

Virtualbox-logo-smallOracle 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 guide shows howto install VirtualBox 4.0 (currently 4.1.2) on Fedora 15, Fedora 14, Fedora 13,
Fedora 12, CentOS 5.6, Red Hat (RHEL) 5.6 and Red Hat (RHEL) 6. This howto uses Virtual Box yum
repositories.

1. Change to root User
su -
## OR ##
sudo -i
2. Install Fedora or RHEL Repo Files
cd /etc/yum.repos.d/
## Fedora 15/14/13/12 and RHEL 6 users
wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
## CentOS 5.6 and RHEL 5.6 users
wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
3. Update latest packages
yum update
Note: Reboot if you got kernel update.
4. Install following dependency packages
yum install gcc kernel-devel kernel-headers
## PAE kernel users install ##
yum install gcc kernel-PAE-devel kernel-headers
5. Install VirtualBox Latest Version (current 4.0.8)
yum install VirtualBox-4.0

Note:
This command create automatically vboxusers group and VirtualBox user must be member of that
group.
This command also build needed kernel modules.
6. Add VirtualBox User to vboxusers Group
usermod -a -G vboxusers user_name
7. Start VirtualBox
Use launcher or simply:
VirtualBox

Troubleshooting
If you have problems with KERN_DIR parameter or your kernel directory is not automatically detected
then set KERN_DIR environment variable manually, using following method:
## Current running kernel on Fedora ##
KERN_DIR=/usr/src/kernels/`uname -r`
## Current running kernel on CentOS and Red Hat (RHEL) ##
KERN_DIR=/usr/src/kernels/`uname -r`-`uname -m`
## Fedora example ##
KERN_DIR=/usr/src/kernels/2.6.33.5-124.fc13.i686
## CentOS and Red Hat (RHEL) example ##
KERN_DIR=/usr/src/kernels/2.6.18-194.11.1.el5-x86_64
## Export KERN_DIR ##
export KERN_DIR

Comments

Popular posts from this blog

about gigabyte NIC onboard not detected on enterprise linux distribution

on several gigabyte motherboard, onboard network interface card  will not be detected on enterprise linux distribution (e.g. scientific linux, oracle linux server, etc). alternatively you must supply add-on card. or if you insist to use the onboard card, you must install the unofficial nic driver. this is tutorial how to install driver for onboard network interface card GIGABYTE first of all prepare your system. make sure it has package group "Development Tools" installed. if it has not, install it # yum groupinstall “Development Tools” download the source code : https://www.dropbox.com/s/na91bu4az4p9827/AR81Family-linux-v1.0.1.14.tar.gz extract the source code : # tar zxvf AR81Family-linux1.0.1.14.tar.gz the extraction process will make the new directory "AR81Family*", change to the directory # cd AR81Family* compile the source by type on terminal : # make then, # make install wait until the compiling process finish. next make the new scrip...

about getsebool and setsebool

The setsebool is used to set SELinux boolean value i.e. various configurations can be enabled or disabled using this tool. In other words, the setsebool command switches on and off the protection of SELinux. Type getsebool -a to see all such options which can be enabled or disabled at run time: e.g. # getsebool -a The following should give you a complete listing of all the vsftpd switches: e.g.  # getsebool -a | grep ftp  For example, if httpd_disable_trans set to 1, it will disable SELinux protection for  Apache web server. To disable it, enter:  # setsebool -P httpd_can_network_connect=1 To enable it, enter:    # setsebool -P httpd_can_network_connect=0

All certification