CentOS 7
Sponsored Link

VirtualBox : Install GuestAdditions
2016/01/23
 
Install GuestAdditions into a Virtual Machine to improve Virtual Machine's System Performance.
The example below is to install GuestAdditions on a Virtual Machine "CentOS_7".
[1] Attach GuestAdditions' disk to the VM on VirtualBox Host.
[[email protected] ~]#
VBoxManage storageattach CentOS_7 \
--storagectl CentOS_7_SATA \
--port 0 \
--type dvddrive \
--medium /usr/share/virtualbox/VBoxGuestAdditions.iso
[2] Install GuestAdditions on the VM.
# install some packgaes

[[email protected] ~]#
yum -y update kernel

[[email protected] ~]#
[[email protected] ~]#
yum -y install gcc make bzip2 kernel-devel
[[email protected] ~]#
mount /dev/cdrom /mnt

[[email protected] ~]#
cd /mnt

[[email protected] mnt]#
./VBoxLinuxAdditions.run

[[email protected] mnt]#
[3] After installing GuestAdditions, System Performance is improved.