红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Debian

vmware debian linux vmwaretool的安装

发布时间:2008-06-10 21:02:24来源:红联作者:Sednol
VMware Tool(相当于显卡驱动)的安装:

1.让虚拟机的光驱载入Linux.iso,绿色版的VMware没有,可去VMware.cn下载

2.mount -t iso9660 /dev/cdrom /mnt

3.cp /mnt/VmwareTool.......tar.gz /tmp

4.umount /dev/cdrom

5.cd /tmp

6.tar zxf VMwareTool.......tar.gz

7.cd /vmware-tool......

8../vmware-install.pl

9.提示:binary files are in /usr/bin

init directoris are in /etc

init scripts are in /etc/init.d

library files are in /usr/lib/vmware-tools

10.提示找不到killall,

11.解决10的问题:apt-get install psmisc注1

12.提示:documentation files are in /usr/share/doc/vmware-tools

usinstall files are in /usr/bin/vmware-uninstall-tools.pl

config files are in /usr/bin/vmware-config-tools.pl

13.提示need a C compiler "make"

14.解决13:apt-get install make

15.再config,提示cannot find gcc,

16.于是,apt-get install gcc

17.提示 C head files 是否在 /usr/src/linux/include?直接回车,提示无法找到目录

18.在/usr/src下mkdir /linux/include

19.再config,提示/usr/src/linux/include doesn't contain a "linux" subdirectory

20.什么意思?再mkdir,然后config

21.出现not contain a version.h, suggest to rebuild the kernel,看来前面的mkdir是没用的。。无视之

22.uname -a,本机版本为linux 2.6.18-6-686

23.apt-get install linux-headers-2.6.18-6-686

24.突然网络出错,reboot后正常,与网络配置有关的几个文件和命令:/etc/resolv.conf /etc/network/interface /init.d/networking restart,本机的VMware采用NAT,即DHCP方式

25.再次config,enable VMCI(Experimental),以后可用vmware-experimental.pl控制

26.安装成功!

注1 :psmisc包括以下程序:fuser:processes's files use;

killall:kill processes by name

pstree:list processes as a tree

peekfd:peek file descriptor

下一步准备装X了
文章评论

共有 0 条评论