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/ # ./VBoxLinuxAdditions.run
Resource –
https://thedbadmin.com/centosfullscreenfix
https://www.tecmint.com/install-virtualbox-guest-additions-in-centos-rhel-fedora