Install Guest Additions via Terminal in Centos 7 Virtual Box

Install Guest Additions in Centos 7

Run the following code for Linux.

# yum install dkms gcc make kernel-devel bzip2 binutils patch libgomp glibc-headers glibc-devel kernel-headers -y

# yum install perl
# yum -y install epel-release
# yum -y update

// Click on the Devices on top menu in Virtual Box windows and select “Insert Guest Editions CD Image”.

# mount -r /dev/cdrom /media
# cd /media/
# ./

Resource –