What is VirtualBox

 

VirtualBox is a virtualization product which can run on variety of Operating systems, virtulbox is a product similar to other virtualization platforms software tools like VMware, XEN,KVM & Hypervisor.

VirtulBox , this support various of guest OS system which includes  windows XP, Windows 7 , Windows 2008, Linux, Centos & Solaris.  VirtualBox is freely available as Open Source Virtualization software tool developed by Sun Microsystems. Distributed under either the GNU GPL.

VirtualBox also support web based management console using(phpVirtualBox), you can access virtual box web based management console using URL ” http://IP/VirtulBox” in order to create VM’s, Edit VM’s settings , VM clone , Snapshot “snapshot can be taken before / after any update takes place in selected Virtual Machine like installing tools or modify configuration settings”.

Note: VM Clone, if you have installed a Virtual Machine by installing standard tools and made necessary configuration as per the requirements.  You can perform cloning in order to replicate the VM image which can be used for similar requirement.

you can download and install VirtualBox from virtual repo , this installation and configuration involved fallowing Steps. (RHEL or Centos 5.X/6.X)

VirtualBox over repository or download VirtualBox package and install through Redhat Package Manager (rpm)

Install Dependency packages required, prior to perform installation of  VirtualBox .  If not you will face  fallowing error.

No precompiled module for this kernel found — trying to build one. Messages

emitted during module compilation will be logged to /var/log/vbox-install.log.

Installation steps :

Step 1 / 3:

Installing VirtualBox on Centos 5.5 32bit

Install Dependency Package.

#yum install binutils qt gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms

 

#cd /etc/yum.repos.d/
 #wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
#yum install VirtualBox-4.2

Step 2 / 3 :

Rebuild kernel Module.

building kernel module for virutalbox is required to get all modules loaded.  below command shall create vboxusers group.  in order trace build failed , you can look at the log /var/log/vbox-install.log.

#service vboxdrv setup

Output :

Stopping VirtualBox kernel modules                                     [  OK  ]

Removing old VirtualBox pci kernel module                         [  OK  ]

Removing old VirtualBox netadp kernel module                   [  OK  ]

Removing old VirtualBox netflt kernel module                     [  OK  ]

Removing old VirtualBox kernel module                               [  OK  ]

Recompiling VirtualBox kernel modules                                [  OK  ]

Starting VirtualBox kernel modules                                       [  OK  ]

 Execute  below command to  check VirtualBox kernel module status.

[root@virtualbox]# service vboxdrv status

Output:

VirtualBox kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) are loaded.

Step 3 / 3:

Finally execute  below command to invoke VirtualBox.

#VirtualBox

Troubleshooting Errors

If you encounter any error messages while Recompiling VirtualBox kernel modules, you can perform restart the machine because you have upgraded kernel packages in dependency installation section as covered above.

Elese modify kernel KERN_DIR parameter .

#export KERN_DIR=/usr/src/kernels/(ex.2.6.18-348.12.1.el5-i686)

what is virtualbox, how to install virutalbox , how to install virtualbox on centos, how to install virtualbox on Redhat, how to install and configure virtualbox. Troubleshooting virtual box kernel compile error, how to install virtualbox .

 

Both comments and pings are currently closed.

Comments are closed.

Copyright ©Solutions@Experts.com
Copyright © NewWpThemes Techmark Solutions - www.techmarksolutions.co.uk