- Install the needed packages to create kernel modules:
sudo yum -y install gcc dkms kernel-devel kernel-headers
- Press the
Host+ Dkey combination or click on the Devices menu and choose the Install Guest Additions… option.
- The Guess Additions CD image will be automatically mounted.
- Run the installation.
- Restart the guest machine.