当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 10 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : vmware tools 安装问题
帖子发表于 : 2008-10-20 11:12 

注册: 2006-05-24 10:00
帖子: 15
送出感谢: 0 次
接收感谢: 0 次
Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Your kernel was built with "gcc" version "4.2.3", while you are trying to use
"/usr/bin/gcc" version "4.2.4". This configuration is not recommended and VMware
Tools may crash if you'll continue. Please try to use exactly same compiler as
one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.2.4" anyway? [no]


页首
 用户资料  
 
2 楼 
 文章标题 : Re: vmware tools 安装问题
帖子发表于 : 2008-10-20 13:10 
头像

注册: 2008-10-20 10:10
帖子: 6
送出感谢: 0 次
接收感谢: 0 次
我也有个问题在初学者园地发了,没人回,在这里跟一下 :em95


不知道怎么回事,在网上下载下来的iso都不能用,总是提示:
root@anx-desktop:/home/anx# cd vmware-tools-distrib
root@anx-desktop:/home/anx/vmware-tools-distrib# ./*.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.

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

Installing VMware Tools.

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

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]

The file /etc/vmware-tools that this program was about to install already
exists. Overwrite? [yes] no

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

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

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

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

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

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

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


sh: /etc/vmware-tools: Permission denied
Making sure services for VMware Tools are stopped.

Unable to stop services for VMware Tools

Execution aborted.

root@anx-desktop:/home/anx/vmware-tools-distrib#

这要怎么解决啊?



还有,也试过网上一位仁兄的做法但发现好像有个文件应该不一样,现在也不知道要怎么办~~~~
晕了,弄了一整天



下面是他的日志:
================================================
以前的虚拟机又崩溃了,转到Ubuntu,整了一天的VmwareTools,终于弄好了。以后就安心用吧。下面记

录一下自己的步骤:
1.编译环境
sudo apt-get install build-essential libgtk2.0-dev

sudo apt-get install libproc-dev libdumbnet-dev xorg-dev
2.解压
tar xzvf VMware*.gz
tar xzvf open-vm-tools-2008.04.14-87182.tar.gz
3.编译
cd open-vm-tools-2008.04.14-87182/./configure && makecd modules/linux/
4.替换原来vmtools的包
for i in *; do mv ${i} ${i}-only; tar -cf ${i}.tar ${i}-only; done
这一个步骤工作就是将目录下的四个包改名成×-only,然后利用tar -cf *tar *-only进行压缩,
cd ../../..mv -f open-vm-tools-2008.04.14-87182/modules/linux/*.tar vmware-tools-

distrib/lib/modules/source/
将vmware-tools-distrib/lib/modules/source/目录下的.tar包替换为open-vm-tools-2008.04.14-

87182/modules/linux/目录下的那几个包
5.安装
cd vmware-tools-distrib/sudo ./vmware-install.pl
安装完vmware tools后一般会有鼠标滚轮不能使用的情况,请按如下解决:
修改xorg.conf配置文件:
sudo gedit /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Configured Mouse"
Driver "vmmouse"
Option "Protocol" "ImPS/2"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
================================================

从解压那步的
tar xzvf open-vm-tools-2008.04.14-87182.tar.gz
开始就执行不了了,应该是下载的文件不同吧,请问怎么找出那个相关的压缩文件呢?或者要怎么做?


页首
 用户资料  
 
3 楼 
 文章标题 : Re: vmware tools 安装问题
帖子发表于 : 2008-10-22 0:12 

注册: 2006-05-24 10:00
帖子: 15
送出感谢: 0 次
接收感谢: 0 次
:em05


页首
 用户资料  
 
4 楼 
 文章标题 : Re: vmware tools 安装问题
帖子发表于 : 2008-10-22 18:44 

注册: 2008-10-20 15:21
帖子: 1
送出感谢: 0 次
接收感谢: 0 次
vmware tools这个 文件不需要下载
安装系统后这个文件会在vmware这个目录下的系统ISO里
比如你安装了UBUNTU,那就在vmware这个目录下的linux.iso里
如果你装的WIN系统,那这个 文件就在vmware这个目录下的windows.iso里
所以你只需要在虚拟机里映像这个文件就 可以正常安装。
ubuntu光盘映像后可能需要从新启动才能装载。


页首
 用户资料  
 
5 楼 
 文章标题 : Re: vmware tools 安装问题
帖子发表于 : 2008-10-22 22:14 

注册: 2008-05-31 19:32
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
我也有这问题,至今还没解决,请高手帮忙!


页首
 用户资料  
 
6 楼 
 文章标题 : Re: vmware tools 安装问题
帖子发表于 : 2008-10-23 0:14 
头像

注册: 2007-10-21 16:41
帖子: 1289
地址: GD
送出感谢: 0 次
接收感谢: 0 次
你打yes,再回车试试看行不行。


_________________
吼吼


页首
 用户资料  
 
7 楼 
 文章标题 : Re: vmware tools 安装问题
帖子发表于 : 2008-10-24 10:42 

注册: 2006-05-24 10:00
帖子: 15
送出感谢: 0 次
接收感谢: 0 次
打入yes 回车不行。
4楼说的情况我不是太明白。


页首
 用户资料  
 
8 楼 
 文章标题 : Re: vmware tools 安装问题
帖子发表于 : 2008-10-24 18:48 
头像

注册: 2008-10-20 10:10
帖子: 6
送出感谢: 0 次
接收感谢: 0 次
过程已经在这里了,但始终无法完成,有人知道原因吗?比如,是什么导致无法安装之类的

root@anx-desktop:/home/anx# cd vmware-tools-distrib
root@anx-desktop:/home/anx/vmware-tools-distrib# ./*.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.

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

Installing VMware Tools.

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

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]

The file /etc/vmware-tools that this program was about to install already
exists. Overwrite? [yes] no

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

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

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

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

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

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

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


sh: /etc/vmware-tools: Permission denied
Making sure services for VMware Tools are stopped.

Unable to stop services for VMware Tools

Execution aborted.

root@anx-desktop:/home/anx/vmware-tools-distrib#


页首
 用户资料  
 
9 楼 
 文章标题 : Re: vmware tools 安装问题
帖子发表于 : 2008-10-25 0:25 

注册: 2008-10-19 21:58
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
今天刚刚解决了这个问题,主要是由于vmware6.0版本的vm_tool不和ubuntu8.04兼容有问题。
1,用install vmwaretool命令把虚拟机软件download到桌面
Open a Terminal (Applications menu -> Accessories -> Terminal). We’ll do all the work from the Terminal. First, we need to install some dependencies:

sudo apt-get install build-essential libgtk2.0-dev
sudo apt-get install libproc-dev libdumbnet-dev xorg-dev
cd Desktop/

wget http://mesh.dl.sourceforge.net/sourcefo ... 182.tar.gz

2,解压vm-tool和下载的open-vm-tool
tar xzvf VMware*.gz
tar xzvf open-vm-tools*.gz
3,重新编译open-vm-tool
cd open-vm-tools-2008.04.14-87182/
./configure && make
cd modules/linux/
4.把编译号的文件复制到vm-tool中
for i in *; do mv ${i} ${i}-only; tar -cf ${i}.tar ${i}-only; done
cd ../../..

mv -f open-vm-tools-2008.04.14-87182/modules/linux/*.tar vmware-tools-distrib/lib/modules/source/
5,重新安装vm-tool
cd vmware-tools-distrib/
sudo ./vmware-install.pl

(系统会提示你是否重新编译,选择YES
如:

Your kernel was built with "gcc" version "4.2.3", while you are trying to use
"/usr/bin/gcc" version "4.2.4". This configuration is not recommended and VMware
Tools may crash if you'll continue. Please try to use exactly same compiler as
one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.2.4" anyway? [yes]
类似的提示都选择YES)
配置完后vmtool应该可以使用


页首
 用户资料  
 
10 楼 
 文章标题 : Re: vmware tools 安装问题
帖子发表于 : 2008-10-31 19:06 

注册: 2006-05-24 10:00
帖子: 15
送出感谢: 0 次
接收感谢: 0 次
还是不行啊。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 10 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译