VBox exception resolution installation under-centos

Source: Internet
Author: User

Because Oracle offers free virtual machine software, it has the advantage over Kvm,xen,vbox:

1. When building an Oracle RAC system, the control is strong (shared disk, network interface) Click on the mouse is OK;

2. Using the habit, this software I spent more than 3 years, accustomed to, mainly or free;

3. The supporting technical documents are continuously updated;

4. Less resource-intensive

This 2 days because of the requirements of the test environment, must set up the virtual machine to meet, happen to all the host is the CentOS platform, simply test how this thing installed on the Linux platform!


Environment: CentOS 6.5_x86_64mini version

Software: virtualbox-4.3-4.3.20_96996_el6-1.x86_64.rpm

Installation steps:

1. Upload the virtualbox-4.3-4.3.20_96996_el6-1.x86_64.rpm to the CentOS corresponding directory

2. Execute RPM-UVH virtualbox-4.3-4.3.20_96996_el6-1.x86_64.rpm with the following error:


3. Troubleshooting

[Email protected] tmp]# Less/var/log/vbox-install.log
makefile:183: * * * error:unable to find the sources of your current Linux kernel. Specify kern_dir=<directory> and run make again. Stop it.

Understand this error, after all, Oracle is only testing the software on its own system, so confirm that the kernel version does not match!

View the kernel version number of the current system

# Uname-r

2.6.32-431.el6.x86_64

#升级内核

# yum Install Kernel-devel

Reboot the system and check the kernel version:

# Uname-r

2.6.32-504.1.3.el6.x86_64

Recompile settings VBox:

#/ETC/INIT.D/VBOXDRV Setup



Reference Document: http://tecadmin.net/install-oracle-virtualbox-on-centos-redhat-and-fedora/

Supplementary questions:

The 1.RHEL platform may not encounter such error, which I have tested on the home company;

2.CentOS the latest version of the kernel is generally to do upgrade or patch processing;




VBox exception resolution installation under-centos

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.