Vbox centos, vboxcentos

Source: Internet
Author: User

Vbox centos, vboxcentos

The VM cannot identify the usb interface of the host machine. Does the VM have a graphic interface.

One is the dependency package, the other is the installation package, but how can I find it and install it.
Virtual Machine iscentos6.6Havbox4.3.26

Refer to one answer

# yum update# yum install gcc# yum install kernel-devel-2.6.32-504.el6.x86_64# yum install bzip2# mount /dev/scd0 /media/cdrom# sh /media/cdrom/VBoxLinuxAdditions.run

Note that the kernel-devel is better to be consistent with the kernel version of the Local Machine. At first, the result of direct yum install kernel-devel is compromised.
Another one is to check the error carefully.

====================================== The pit filling process, ignore =======================================

There may be a problem that the/media/cdrom directory does not exist, so simply create one.

# mkdir -p /media/cdrom

But here is an error.

Building the main Guest Additions module [failed] (Look at/var/log/vboxadd-install.log to find out what went wrong)

Let's take a look at the log.
The main error is that

/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.

We can see that we want to reboot the machine after kernel dev is updated. I tried it here.

Let's look at the error again.

The missing package can be probably installed withyum install kernel-devel-2.6.32-504.el6.x86_64

Is it because devel installed on yum is incorrect ..
So I will install the kernel-devel of the specified version number in yum again.

The installation of the Enhancement Tool again seems to be able to be built. The above answer is correct, but the kerner-devel of yum installation does not match the system itself.

Copyright: This article is orangleliu (http://blog.csdn.net/orangleliu/) Original article, reprinted please declare.

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.