Virtualbox installation enhancements (centos 6.5)

Source: Internet
Author: User

First, on the Virtual Machine menu bar, select "Install enhancement", as shown in figure

In this way, there will be a file under/dev/CDROM

Then, prepare the preparations before installation (refer to: virtualbox installation enhancement (Linux) and install the dependency package:

#yum install kernel-headers#yum install kernel-devel#yum install gcc* 
#yum install make

The installation of kernel-devel, GCC, and make was successful. It took a lot of effort to install kernel-headers. The following message indicates that the installation package has been installed or the latest version has been installed. Run./vboxlinuxadditions. Run. If installation fails, the system prompts that the kernel-headers file cannot be found. You have no choice but to find the 6.5 kernel-headers file from CEN, and then download it at the address:

# Download kernel-headers: wget http://mirrors.ustc.edu.cn/centos/6.5/ OS /x86_64/Packages/kernel-headers-2.6.32-431.el6.x86_64.rpm

The version does not match. Download and decompress the package.

Then, install the function package:

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

However, after the installation is complete, when the graphic driver is installed, the system prompts that there is no graphical interface. skip this step. So far, the installation is complete and restart.

Finally, set sharing:

1. Set the local folder,

2. Mount and uninstall commands:

# Mount
# Mkdir/mnt/share # Mount-T vboxsf myshare/mnt/share/
# Uninstall
# Umount-F/mnt/share

Then, you can view the files in the local shared folder under/mnt/share.

Virtualbox installation enhancements (centos 6.5)

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.