Vbox troubleshooting-installation in centos, vbox-centos

Source: Internet
Author: User

Vbox troubleshooting-installation in centos, vbox-centos

Because Oracle provides free Virtual Machine Software, Vbox has advantages over KVM, XEN, and Vbox:

1. When setting up the Oracle RAC system, it is very controllable (shared disk and Network Interface). Just a few clicks and you will be OK;

2. I have been using this software for more than three years;

3. supported technical documents are continuously updated;

4. Less resource occupation

In the past two days, virtual machines must be set up to meet the requirements of the test environment. It happens that all hosts are on the CentOS platform, so we can test how this tool is installed on the Linux platform!


Environment: CentOS 6.5 _ x86_64mini

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 corresponding CentOS directory

2. Run the rpm-Uvh VirtualBox-4.3-4.3.20_96996_el6-1.x86_64.rpm and report the following error:


3. troubleshooting

[Root @ vstar183 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.

After all, Oracle only tests software on its own system, so it is confirmed 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

# Upgrade the kernel

# Yum install kernel-devel

Restart the system and check the kernel version:

# Uname-r

2.6.32-504.1.3.el6.x86 _ 64

Recompile and set vbox:

#/Etc/init. d/vboxdrv setup



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

Question added:

1. The RHEL platform may not encounter such errors, which I tested in my previous company;

2. The latest CentOS kernel version usually requires upgrading or patching;




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.