VirtualBox Installation Enhancements (Linux) __linux

Source: Internet
Author: User
Tags pack

Before we install, we have to install the dependent packages it needs first, or the installation process is bound to cause errors. First, install the dependency pack

#yum Install kernel-headers
#yum Install Kernel-devel

#yum Install make
Second, install the Enhanced Feature Pack

1. Installation command

#mount/dev/cdrom/mnt/cdrom
#cd/mnt/cdrom #./vboxlinuxadditions.run

It may take a while to install here, we have to be patient! After the installation is complete, reboot is generally needed

2, sharing settings

(1) Equipment-> Allocate data space

(2) Mount/uninstall command

#mkdir/mnt/share
#mount-T vboxsf myshare/mnt/share/

#umount-F/mnt/share

(3) Automatic sharing

#vim/etc/fstab
 
 Add a
 
 myshare/mnt/share vboxsf rw,gid=100,uid=1000,auto 0 0

Here it has been fully installed and mounted for sharing.


The CentOS6.3 installation vboxadditions CentOS6.3 is installed on the VirtualBox virtual machine, and it is best to install vboxadditions enhancements after installation.
The main purpose is to be able to share files between virtual machines and host hosts. Www.2cto.com 1. Update the kernel. CentOS 6.3 corresponds to the kernel default of 2.6.32-279.el6.i686: # uname-r 2.6.32-279.el6.i686 installation enhancements require Kernel-devel packs, The consistency of Kernel-devel and kernel versions must be ensured. View the software source
Kernel-devel's version:  ]# yum info kernel-devel Loaded plugins:fastestmirror, Refresh-packagekit, security Loading Speeds from cached hostfile  * base:mirrors.163.com  * extras:mirrors.163.com  *. COM Available Packages Name       &NBSP: kernel-devel Arch        : i686 Version &nbsp ;  : 2.6.32 release    : 279.19.1.el6 Size       &nbsp: 7.6 M repo       &NB SP;: Updates Summary    : Development package for building kernel modules to match the       &NB Sp    : Kernel URL        : http://www.kernel.org/License    : GPLv2 Description : This package provides kernel headers and makefiles sufficient to            : Build Modul Es against the kernel package.   The current Kernel-devel version is 2.6.32-279.19.1.e16. Therefore, you must upgrade kernel:   # Yum update kernel must reboot the system after the upgrade, the new kernel can beUse.  www.2cto.com     2. Install Kernel-devel and GCC.   # yum Install kernel-devel gcc gcc-c++   3. Install enhancements. Go to the Enhancements CD root, execute Linux installation command:   # ./vboxlinuxadditions.run  Verifying archive integrity ... All good. uncompressing VirtualBox 4.2.4 Guest additions for Linux ..... VirtualBox Guest Additions Installer removing installed version 4.2.4 of VirtualBox Guest additions ... Removing existing VirtualBox non-dkms kernel modules[OK] building the VirtualBox Guest Additions kernel modules building T He main Guest additions module[OK] Building the shared folder support module[OK] building the OpenGL support module[OK] do ing Non-kernel setup of the guest additions[OK] starting the VirtualBox Guest additions [OK] installing the Window System Drivers installing x.org Server 1.10 modules[OK] Setting up the Windows System to use the Guest additions[OK] your may need To restart the HAL service and the Windows system (or just restart the guest System) to enable the guest AdditiOns.   Installing graphics libraries and desktop Services components[determine

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.