CentOS6.3 install VBoxAdditions

Source: Internet
Author: User

CentOS6.3 install VBoxAdditions

CentOS6.3 is installed on the VirtualBox Virtual Machine. After installation, you are advised to install the VBoxAdditions enhancement function. The main purpose is to share files between the virtual machine and the host machine.


1. Update the kernel. The default kernel for CentOS 6.3 is 2.6.32-279. el6.i686:

# uname -r
2.6.32-279.el6.i686

The kernel-devel package is required to install the enhancement feature. Ensure that the kernel-devel and kernel versions are consistent. View the kernel-devel version in the software source:

]# yum info kernel-develLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile* base: mirrors.163.com* extras: mirrors.163.com* updates: mirrors.163.comAvailable PackagesName    : kernel-develArch    : i686Version   : 2.6.32Release   : 279.19.1.el6Size    : 7.6 MRepo    : updatesSummary   : Development package for building kernel modules to match the      : kernelURL     : http://www.kernel.org/License   : GPLv2Description : This package provides kernel headers and makefiles sufficient to      : build modules against the kernel package.

The current kernel-devel version is 2.6.32-279.19.1.e16. Therefore, you must upgrade the kernel:

# yum update kernel

After the upgrade, you must restart the system to use the new kernel.

2. Install kernel-devel and gcc.

# yum install kernel-devel gcc gcc-c++

3. Install the enhancement feature. Go to the root directory of the enhancement disc and run the installation command in Linux:

#. /VBoxLinuxAdditions. run Verifying archive integrity... all good. uncompressing VirtualBox 4.2.4 Guest Additions for Linux .......... virtualBox Guest Additions installerRemoving installed version 4.2.4 of VirtualBox Guest Additions... removing existing VirtualBox non-DKMS kernel modules [OK] Building the VirtualBox Guest Additions kernel modulesBuilding the main Guest Additions module [OK] Building the shared folder support module [OK] Building the OpenGL support module [OK] Doing non-kernel setup of the Guest Additions [OK] Starting the VirtualBox Guest Additions [OK] Installing the Window System driversInstalling X. org Server 1.10 modules [OK] Setting up the Window System to use the Guest Additions [OK] You may need to restart the hal service and the Window System (or just restartthe guest system) to enable the Guest Additions. installing graphics libraries and desktop services components [OK]

Load Shared Folders
Mount-t vboxsf share/share command to solve this problem!

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.