» 您尚未 登录   注册 | 银行 | 首页调用管理 | 博客 | 帮助 | 社区 | 无图版
华镭社区论坛 -> 安装引导 -> 在VMW6.0中的Linux如何安装VMw-Tools?
 XML   RSS 2.0   WAP 

<<   1   2  >>  Pages: ( 1/2 total )
--> 本页主题: 在VMW6.0中的Linux如何安装VMw-Tools? 加入收藏 | 收藏主题 | 上一主题 | 下一主题
不懂就问




该用户目前不在线
级别: 新手上路
精华: 0
发帖: 31
威望: 32 点
镭: 41 L
贡献值: 0 点
在线时间:27(小时)
注册时间:2007-08-30
最后登录:2007-12-04
查看作者资料 发送短消息 推荐此帖 引用回复这个帖子

在VMW6.0中的Linux如何安装VMw-Tools?

问题如题。

我无法在Linux中安装虚拟机的工具。请高手指点一下。


[楼 主] | Posted: 2007-09-09 16:12
顶端
rokee


头衔:王牌少校王牌少校
该用户目前不在线
级别: 论坛版主
精华: 1
发帖: 1180
威望: 237 点
镭: 239 L
贡献值: 0 点
在线时间:514(小时)
注册时间:2005-05-19
最后登录:2009-11-01
查看作者资料 发送短消息 推荐此帖 引用回复这个帖子



启动vmware进入RAYS,选择vmware菜单tools--install vmware tools,此时rays 桌面会自动挂载vmware tools虚拟光盘, 双击进入,将其中的tar.gz文件解压到一目录内运行INSTALL编译安装.
当然如果你怕编译麻烦,也可以直接将虚拟光盘中的rpm拷出,用sudo alien -i 安装

[1 楼] | Posted: 2007-09-10 11:39 顶端
不懂就问




该用户目前不在线
级别: 新手上路
精华: 0
发帖: 31
威望: 32 点
镭: 41 L
贡献值: 0 点
在线时间:27(小时)
注册时间:2007-08-30
最后登录:2007-12-04
查看作者资料 发送短消息 推荐此帖 引用回复这个帖子



root@RAYS-ylj:~/vmware-tools-distrib# ./vmware-install.pl
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

Uninstalling the tar installation of VMware Tools.

Stopping VMware Tools services in the virtual machine:
  Guest operating system daemon:                         done

The removal of VMware Tools 6.0.0 build-45731 for Linux completed successfully.
Thank you for having tried this software.

Installing VMware Tools. This may take from several minutes to over an hour
depending upon its size.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] y

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes] y

The installation of VMware Tools 6.0.0 build-45731 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes] y


Stopping VMware Tools services in the virtual machine:
  Guest operating system daemon:                         done
Trying to find a suitable vmmemctl module for your running kernel.

None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmmemctl module
for your system (you need to have a C compiler installed on your system)?
[yes] y

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] y

The path "y" is not an existing directory.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

[2 楼] | Posted: 2007-09-10 15:41 顶端
不懂就问




该用户目前不在线
级别: 新手上路
精华: 0
发帖: 31
威望: 32 点
镭: 41 L
贡献值: 0 点
在线时间:27(小时)
注册时间:2007-08-30
最后登录:2007-12-04
查看作者资料 发送短消息 推荐此帖 引用回复这个帖子



到这里就走不动了,我对E文不懂。请各位专家给看看。
[3 楼] | Posted: 2007-09-10 15:50 顶端
不懂就问




该用户目前不在线
级别: 新手上路
精华: 0
发帖: 31
威望: 32 点
镭: 41 L
贡献值: 0 点
在线时间:27(小时)
注册时间:2007-08-30
最后登录:2007-12-04
查看作者资料 发送短消息 推荐此帖 引用回复这个帖子



再用《当然如果你怕编译麻烦,也可以直接将虚拟光盘中的rpm拷出,用sudo alien -i 安装

[4 楼] | Posted: 2007-09-10 15:53 顶端
不懂就问




该用户目前不在线
级别: 新手上路
精华: 0
发帖: 31
威望: 32 点
镭: 41 L
贡献值: 0 点
在线时间:27(小时)
注册时间:2007-08-30
最后登录:2007-12-04
查看作者资料 发送短消息 推荐此帖 引用回复这个帖子



root@RAYS-ylj:~# sudo alien -i VMwareTools-6.0.0-45731.i386.rpm
Warning: Skipping conversion of scripts in package VMwareTools: postinst postrm preinst prerm
Warning: Use the --scripts parameter to include the scripts.
822-date: warning: This program is deprecated. Please use 'date -R' instead.
822-date: warning: This program is deprecated. Please use 'date -R' instead.

配置文件“/etc/vmware-tools/installer.sh”
==> 系统中的这个文件或者是由您创建的,或者是由脚本建立的。
==> 软件包维护者所提供的软件包中也包含了该文件。
  您现在希望如何处理呢? 您有以下几个选择:
  Y 或 I :安装软件包维护者所提供的版本
  N 或 O :保留您原来安装的版本
    D   :显示两者的区别
    Z   :把当前进程切换到后台,然后查看现在的具体情况
缺省的处理方法是保留您当前使用的版本。
*** installer.sh (Y/I/N/O/D/Z) [缺省选项=N] ? y
root@RAYS-ylj:~#

[5 楼] | Posted: 2007-09-10 15:54 顶端
不懂就问




该用户目前不在线
级别: 新手上路
精华: 0
发帖: 31
威望: 32 点
镭: 41 L
贡献值: 0 点
在线时间:27(小时)
注册时间:2007-08-30
最后登录:2007-12-04
查看作者资料 发送短消息 推荐此帖 引用回复这个帖子



好像运行正常了,但找不到程序在哪里? 专家给指点指点吧。先谢谢
[6 楼] | Posted: 2007-09-10 15:55 顶端
不懂就问




该用户目前不在线
级别: 新手上路
精华: 0
发帖: 31
威望: 32 点
镭: 41 L
贡献值: 0 点
在线时间:27(小时)
注册时间:2007-08-30
最后登录:2007-12-04
查看作者资料 发送短消息 推荐此帖 引用回复这个帖子



请各位专家指点指点,谢谢
[7 楼] | Posted: 2007-09-11 10:59 顶端
rokee


头衔:王牌少校王牌少校
该用户目前不在线
级别: 论坛版主
精华: 1
发帖: 1180
威望: 237 点
镭: 239 L
贡献值: 0 点
在线时间:514(小时)
注册时间:2005-05-19
最后登录:2009-11-01
查看作者资料 发送短消息 推荐此帖 引用回复这个帖子



QUOTE:
引用第6楼不懂就问2007-09-10 15:55发表的“”:
好像运行正常了,但找不到程序在哪里? 专家给指点指点吧。先谢谢


正常了还要指点什么呢?你可以运行sudo vmware-config-tools.pl配置一下,当然你运行之前得装内核头文件.

google,baidu其实是最好的老师,呵呵

[8 楼] | Posted: 2007-09-11 12:09 顶端
不懂就问




该用户目前不在线
级别: 新手上路
精华: 0
发帖: 31
威望: 32 点
镭: 41 L
贡献值: 0 点
在线时间:27(小时)
注册时间:2007-08-30
最后登录:2007-12-04
查看作者资料 发送短消息 推荐此帖 引用回复这个帖子



心急,表达错误。请原谅。
我已将两种安装过程的原文复上了。请帮忙看看。

[9 楼] | Posted: 2007-09-11 16:02 顶端
<<   1   2  >>  Pages: ( 1/2 total )

华镭社区论坛 -> 安装引导