VirtualBoxGuestAdditions tools on CentOS 7

glitchlist Blog Leave a Comment

First of all: Update your VM:

sudo su - root
cat /etc/redhat-release
yum check-update
yum update kernel*
yum update
reboot

Verify your new kernel:

cat /etc/redhat-release

Create DIR on witch mount VirtualBoxCD:

mkdir /media/VirtualBox_tools
mount -r /dev/cdrom /media/VirtualBox_tools

add Rep:


rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Install serious stuff:


yum install gcc kernel-devel kernel-headers dkms make bzip2 perl
KERN_DIR=/usr/src/kernels/`uname -r`

KERN_DIR=/usr/src/kernels/3.10.0-693.17.1.el7-x86_64/build
export KERN_DIR
cd /media/VirtualBoxGuestAdditions
./VBoxLinuxAdditions.run
reboot

enjoy Virtual_centOS7

.glitchlist crew

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.