Friends who install Linux using VirtualBox often install the enhanced tools guest addtions, the main purpose of which is to enable the mouse to travel freely between the virtual machine and the real machine, automatically changing the x size according to the VirtualBox window size, and so on. But often when the installation will encounter setbacks!
The reason often lies in such a few things:
1. When you click Install Guest Additions, the desktop will appear in the Virtual installation CD folder, which is the enhanced toolkit, but if you need to install the enhanced package, you need to have at least Read and execute permissions, but the CD file can not modify the file permissions attribute, so you need to copy the CD file in the file , create a new folder on the desktop and paste the file into it! Modify file permissions.
Here according to the virtual system you install different choose different file execution, if install is Linux, chmod 777 Vboxlinuxadditions-x86.run.
This is where the Add tool can be installed:./vboxlinuxadditions-x86.run (Note: Execute the Vboxlinuxadditions-x86.run under the current folder and require the command to be run at the terminal).
2. When you execute the./vboxlinuxadditions-x86.run in the terminal, the system may also prompt you:
Building the VirtualBox Guest Additions kernel modules [failed]
This hint often indicates that you have not installed the necessary packages such as the GCC compiler, kernel-devel and Kernel-headers.
You can find them from the system installation CD and install them into the system, and when you install GCC, you may also be prompted to have the software package dependencies, the prompts to install the dependency pack!
Basically there is no problem, restart your system will be more perfect!
Summary: If you encounter a dependency problem when installing the software, it is recommended that you use Yum to install the software to get rid of the dependency problem! Please refer to other relevant information if you use a good Yum server.
This article is from the "Ding Ding Adventure" blog, please be sure to keep this source http://manual.blog.51cto.com/3300438/788653