Last active
October 25, 2015 19:15
-
-
Save mhuckaby/04ea5eb7ce3b50f9e469 to your computer and use it in GitHub Desktop.
virtual box guest additions on centos 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### | |
# For Centos 7 | |
# iso | |
# https://www.centos.org/download/mirrors/ | |
sudo yum update | |
sudo yum -y install gcc make gcc-c++ kernel-devel-`uname -r` zlib-devel openssl-devel readline-devel sqlite-devel perl wget dkms nfs-utils bzip2 | |
sudo mkdir /mnt/cdv2 | |
sudo mount -r -t iso9660 /dev/sr1 /mnt/cdv2 | |
cd /mnt/cdv2 | |
sudo ./VBoxLinuxAdditions.run | |
#### | |
# For Ubuntu 15 Vivid | |
# Download and install the VBoxGuestAdditions | |
# http://download.virtualbox.org/virtualbox/4.3.26/VBoxGuestAdditions_4.3.26.iso | |
# In VirtualBox place ISO in tray, vagrant up the box, and vagrant ssh | |
sudo mkdir /mnt/vboxadds | |
sudo mount -r -t iso9660 /dev/sr0 /mnt/vboxadds | |
sudo /mnt/vboxadds/VBoxLinuxAdditions.run | |
exit | |
vagrant reload | |
# The additions can be found by vagrant now - in order to avoid these steps the next time you use the box, | |
# run a re-package | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment