First, the scene description:
Virtual software uses VirtualBox, virtual machine operating system using CentOs7.3, in the virtual machine inside the installation of enhanced tools.
Second, installation method:
sudo mount/dev/cdrom/media
Note: If you do not see the enhanced tool file under the/dev/cdrom directory, force the above command to mount it.
Third, enter the/media directory, you can see the enhanced tool file, indicating that the mount was successful.
[Email protected] ~]$ ls/media/ 32Bit autorun.sh runasroot.sh Vboxwindowsadditions-amd64.exe 64Bit cert Vboxlinuxadditions.run VBoxWindowsAdditions.exe AUTORUN. INF OS2 vboxsolarisadditions.pkg Vboxwindowsadditions-x86.exe [Email protected] ~]$ |
Iv. install the kernel and GCC components before installing the enhancement tools.
Yum Install kernel-devel gcc |
Five, after the installation is complete, make a link
sudo ln-s/usr/src/kernels/3.10.0-514.2.2.el7.x86_64//usr/src/linux/ |
Six, install the Enhancement tool, run the Vboxlinuxadditions.run file.
[[email protected] media]$ sudo./vboxlinuxadditions.run |
Seven, restart the machine can be effective.
centos7.3 Installation Enhancement tool (VIRTUALBOX)