Skip to content

Instantly share code, notes, and snippets.

@gbraccialli
Last active August 29, 2015 14:16
Show Gist options
  • Save gbraccialli/0cd5fd217662d367f898 to your computer and use it in GitHub Desktop.
Save gbraccialli/0cd5fd217662d367f898 to your computer and use it in GitHub Desktop.
virtualbox
guest addition centos:
1- Devices - Insert Guest Additions CD Image
2- Mount
3- install core extensions:
yum groupinstall "Development Tools"
yum install kernel-devel kernel-headers dkms gcc gcc-c++
(if does not work, BE CAREFUL: yum update kernel)
4- install guest additions
/mnt/cdrom/VBoxLinuxAdditions.run
5- mount shared folders:
mount -t vboxsf -o uid=222,gid=222 share /mnt/vboxshare
mount -t vboxsf share /mnt/vboxshare
6- edit /etc/fstab
share /mnt/vboxshare vboxsf rw,uid=222,gid=222 0 0
share /mnt/vboxshare vboxsf rw 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment