Google is your friend. Here it is quick and easy:
- Start the CentOS virtual machine.
- Mount the VboxGuestAdditions.iso
- Right-click on the VirtualBox CD icon
- Click VboxGuestAdditions.iso to mount it as a virtual CD in CentOS
- Press Ctrl+Alt+F2 to open a terminal session if you are not already in one.
- Login as yourself (if you have sudo permisions) or root (yes, I know, a terrible thing to ever do)
- As yourself preface your commands below with sudo; as root simply enter the following:
- mount /dev/hdc /media
- cp /media/VBoxLinuxAdditions-x86.run /home/your_username/
- cd ~/your_username
- chmod +x VBoxLinuxAdditions-x86.run
- yum -y install gcc
- If not already installed, you will also need to run:
- yum install kernel-devel kernel-headers
- Time to install the Guest Additions
- ./VBoxLinuxAdditions-x86.run
- reboot or telinit 6
1 comment:
Thanks for this post, helped me. Wasted a few hours before seeing this.
Post a Comment