Chinaunix首页 | 论坛 | 博客
  • 博客访问: 93570
  • 博文数量: 16
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 175
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-04 15:33
文章分类

全部博文(16)

文章存档

2009年(5)

2008年(11)

我的朋友

分类: LINUX

2008-12-03 14:52:51

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.
阅读(645) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~