Chinaunix首页 | 论坛 | 博客
  • 博客访问: 438776
  • 博文数量: 52
  • 博客积分: 3193
  • 博客等级: 中校
  • 技术积分: 860
  • 用 户 组: 普通用户
  • 注册时间: 2007-11-19 09:58
文章分类

全部博文(52)

文章存档

2012年(1)

2011年(9)

2009年(18)

2008年(24)

我的朋友

分类: LINUX

2008-09-21 22:56:54

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