Virtualbox installation on CentOS 7

su –
cd /etc/yum.repos.d/
wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo

yum update
rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm

yum install binutils gcc make patch libgomp glibc-headers glibc-devel

yum install  kernel-headers kernel-PAE-devel dkms
yum install kernel-devel
yum install VirtualBox-5.1        <or latest available version>

/usr/lib/virtualbox/vboxdrv.sh setup
#Replace user_name with your own user name or some another real user name.
usermod -a -G vboxusers <user_name>

Use launcher from menu or simply run:
VirtualBox

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s