Monday, June 18, 2018

VBoxGuestAdditions in vagrant centos



1. sudo yum update && sudo yum -y install kernel-headers kernel-devel

2. manually by downloading the iso file inside VM (e.g. wget) and installing it, e.g.

wget http://download.virtualbox.org/virtualbox/5.0.16/VBoxGuestAdditions_5.0.16.iso -P /tmp

(read only to write permission)
sudo chmod 777 /tmp/VBoxGuestAdditions_5.0.16.iso

sudo mount -o loop /tmp/VBoxGuestAdditions_5.0.16.iso /mnt

(install libraries)
sudo yum -y install gcc
sudo yum install freeglut-devel
sudo yum install mesa*

sudo sh -x /mnt/VBoxLinuxAdditions.run # --keep


forget all the commands above , just download the geerlingguy/centos7

that's it!!! voila

No comments:

Post a Comment

free online comma separating tool

https://delim.co/#