1、Install packages to build the kernel modules
# yum install gcc kernel-devel
2、Check the running kernel matches the kernel headers
# uname -r # running kernel
# rpm -q kernel-devel # installed kernel headers
3、If the two versions do not match, run
# yum -y upgrade kernel kernel-devel
# reboot
4、Find out where the kernel headers are (you may need this later)
# ls -d /usr/src/kernels/$(uname -r)*/include
5、From VMware Workstation: go to VM> Install VMware Tools
From the VM: mount the virtual cd drive
# cd /media/VMware Tools
6、Extract VMware Tools to /tmp/
# cp VMwareTools-1.0.6-91891.tar.gz /tmp
# cd /tmp
# tar -zxvf VMwareTools-1.0.6-91891.tar.gz
# cd /tmp/vmware-tools-distrib
# ./vmware-install.pl
7、When asked Do you want to run vmware-config-tools.pl?, answer "Yes".
8、edit /etc/X11/xorg.conf
added:
Section "Monitor"
Identifier "vmware"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "vmmouse"
Option "Protocol" "Auto"
Option "Device" "/dev/input/mouse0"
EndSection
and change the "ServerLayout"
added:
InputDevice "Mouse0" "CorePointer"
9、use vmware toolbox
# cd /tmp/vmware-tools-distrib/lib/bin32
# ./vmware-toolbox
choose
Time synchrononiztion between the virtual machine and the host operating system.
阅读(665) | 评论(0) | 转发(0) |