VirtualBox Guest Additions on CentOS 7 Notes - rharmonson/richtech GitHub Wiki
Virtualbox Guest Additions on CentOS 7 Notes
Virtual Machines
Install Dependencies
# yum install epel-release
# yum clean all
# yum update -y
# yum install -y dkms kernel-devel bzip2
Install Guest Additions
Within VirtualBox select "Devices" menu then "Insert Guest Additions CD Image..."
# mkdir /media/cdrom
# mount /dev/sr0 /media/cdrom
# cd /media/cdrom
# ./VBoxLinuxAdditions.run
Results
# systemctl status vboxadd.service
# systemctl status vboxadd-service.service
# systemctl status vboxadd-x11.service
If not using X11, ignore errors. Probably save to systemctl disable vbox-x11.service
.
cleanup
# cd ~
# umount /media/cdrom
# rmdir /media/cdrom