« »

VMware下为Debian安装VMTools

VMwareWorkstation下装了Debian但是总存在系统时钟与宿主机不同步的情况,虽然参考官方提出的解决方法做一些conf的改动,但是还不是特别准确,所以决定装上VMTools。记录下过程,其他Linux安装过程也应该大同小异。

1.linux.iso解压到VM的目录下

2.启动要安装VMTools的虚拟Debian

3.VM菜单->VMware Tools Install

4.[root]#mount -t iso9660 -r /dev/cdrom /media/cdrom 挂载光驱

5.[root]#cd /tmp

6.[root]#tar zxpf /cdrom/VMwareTools-6.0.3-80004.tar.gz 解压

7.[root]#cd vmware-tools-distrib

8.[root]#./vmware-install.pl

提示我”Setup is unable to find the “killall” program on your machine. Please make sure
it is installed. Do you want to specify the location of this program by hand?”
[root]#apt-get install psmisc 安装psmisc包含killall的程序

9.安装kernel-header (主要是为了解决What is the location of the directory of C header files that match your running kernel?问题),步骤如下:

a.在命令行中键入:uname -a 查看版本我的版本是:Linux debian 2.6.18-6-686

b.接着键入:apt-cache search headers 2.6.18-6-686(然后搜一下内核的头文件)

c.键入命令安装:apt-get install linux-hearders-2.6.18-6-686
[root]#apt-get install make
[root]#apt-get install gcc 顺便安装gcc,后面一些编译要用到

10.最后做一些配置的工作
[root]#/usr/bin/vmware-config-tools.pl

删除程序:/usr/bin/vmware-uninstall-tools.pl
配置程序:/usr/bin/vmware-config-tools.pl

您还可能感兴趣的内容

日志信息 »

该日志于2008-08-30 13:51由 x72 发表在Debian分类下, 你可以发表评论。除了可以将这个日志以保留源地址及作者的情况下引用到你的网站或博客,还可以通过RSS 2.0订阅这个日志的所有评论。

没有评论

发表评论 »


返回顶部