The local operating system is vista, virtualbox is 3.1.2 r56127, and the virtual machine is CentOS 5.4 i386. To install the vitualbox enhancement function, follow these steps:
1. Start CentOS, log on as root, and enter the desktop environment. 2. Select "device --> install enhancement" in the virtualbox menu, and a "VBOXADDITIONS_3.1.2_56127" icon appears on the desktop. 3. Double-click the above icon to open the file window, and select the "tools --> open terminal" menu to enter terminal mode. 4. run the following command: # yum install kernel-devel // if an error occurs, ignore the command; # yum install gcc // if an error occurs, ignore the command; ln-s/usr/src/kernels/2.6.18 -...... -i686/usr/src/linux // use the TAB key to complete the sh VBoxLinuxAdditions-x86.run www.2cto.com 5. restart the system. 6. change screen resolution: # vi/etc/X11/xorg. conf SubSection "Display" Viewport 0 0 Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection from the blog