Monday, July 30, 2012

How to configure VirtualBox GuestAdditions on centOs

GuestAdditions:


1. Click Devices, and choose Install Guest Additons on VirtualBox.
then The VBOXADDITONS_version icon will appear on the desktop, double click the icon
and open a terminal.

2. Change to root user
> su
and then enter your root password.

3. Run the following commands:
yum install kernel-devel
yum install gcc 
ln -s /usr/src/kernels/2.6.18-......-i686 /usr/src/linux   [only need to enter 2.6.18, then press the buttonTab to complete the command, this button makes life easier, be careful about the space after i686]

4. run VBoxLinuxAdditions-x86.run by the following command:
> sh VBoxLinuxAdditions-x86.run  [this command is too long, use Tab :) ]
5. reboot centOs
> reboot


It should work now.


No comments:

Post a Comment