永发信息网

vmware tools 如何安装

答案:3  悬赏:40  手机版
解决时间 2021-05-04 09:56
如题
最佳答案
由于Fedora Core 5 采用新内核 所以安装vmware tools就有问题。我整理如下 安装步骤
进入root用户环境
第一步:
=======
- copy the vmware-tools%gz% file (not the RPM) that comes with VMware Workstation to /tmp
- cd /tmp ; tar -xvzf vmware-tools%gz%
- cd vmware-tools-distrib ; ./vmware-install.pl (!!! look next line for this)
- when vmware-install.pl launches vmware-config-tools.pl say "no" to compile it for a new kernel 
第二步 =======
下载二个文件到 /tmp:
http://www.edilauer.com/files/vmware-config-tools.zip
http://www.edilauer.com/files/vmware-tools-any-update1.tar.gz
- cd /tmp
- tar -xvzf vmware-tools-any-update1.tar.gz
- cd vmware-tools-any-update1
- ./runme.pl ( 为编译新内核用 ware-config-tools )
- unzip vmware-config-tools.zip 拷贝文件 vmware-config-tools.pl 到 /usr/bin
第三步:
========
- cd /usr/bin
- ./vmware-config-tools.pl
直到完成!

首先是安装必要的软件
[root@netyang ~]# yum -y install gcc gcc-c++ kernel-devel
然后更新kernel
[root@netyang ~]# yum -y update kernel
检查一下
[root@netyang `]# rpm -qa | grep kernel
kernel-2.6.15-1.2054_FC5
kernel-2.6.16-1.2080_FC5
kernel-devel-2.6.16-1.2080_FC5

下载VMware-any-any-update*(99-101)都可以。VMware-workstation-5.5.1-19175.tar.gz
全部放入/tmp中备用
[root@netyang tmp] tar zxvf VMware-workstation-5.5.1-19175.tar.gz
[root@netyang tmp]#cd vmware-distrib
[root@netyang vmware-distrib]# ls
bin doc etc FILES installer lib man vmware-install.pl
[root@netyang vmware-distrib]# ./vmware-install.pl
Creating a new installer database using the tar3 format.

(中间的一段省略.......)

Trying to find a suitable vmmon module for your running kernel.

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

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]

The path "/usr/src/linux/include" 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]

(我想大多数的人都卡在了这一步上来了。哈哈,我也是,被玩了三四天了。其实解决的方法非常简单)

[root@netyang vmware-distrib]#reboot
重启后看启动的选择菜单多出了一项
Fedora Core (2.6.16-1.2080_FC5)
Fedora Core 5 (2.6.15-1.2054_FC5)
选后面是2.6.16j-1.2080_FC5)那一项

[root@netyang ~]#cd /tmp
[root@netyang ~]#tar zxvf vmware-any-any-update101.tar.gz
[root@netyang ~]#cd vmware-any-any-update101

[root@netyang vmware-any-any-update101]# ./runme.pl
Updating /usr/bin/vmware-config.pl ... already patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.

(中间一段省略........)
None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

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? [/lib/modules/2.6.16-1.2080_FC5/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
通过完成。其他的都选默认就可以了。
全部回答
在虚拟机的安装目录下有,你可以找找
由于Fedora Core 5 采用新内核 所以安装vmware tools就有问题。我整理如下 安装步骤 进入root用户环境 第一步: ======= - copy the vmware-tools%gz% file (not the RPM) that comes with VMware Workstation to /tmp - cd /tmp ; tar -xvzf vmware-tools%gz% - cd vmware-tools-distrib ; ./vmware-install.pl (!!! look next line for this) - when vmware-install.pl launches vmware-config-tools.pl say "no" to compile it for a new kernel  第二步 ======= 下载二个文件到 /tmp: http://www.edilauer.com/files/vmware-config-tools.zip http://www.edilauer.com/files/vmware-tools-any-update1.tar.gz - cd /tmp - tar -xvzf vmware-tools-any-update1.tar.gz - cd vmware-tools-any-update1 - ./runme.pl ( 为编译新内核用 ware-config-tools ) - unzip vmware-config-tools.zip 拷贝文件 vmware-config-tools.pl 到 /usr/bin 第三步: ======== - cd /usr/bin - ./vmware-config-tools.pl 直到完成!
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
电脑的C:\Program Files\Online Services文件
2010年华南理工大学的录取分数线是多少?
DNF2.4出什么新职业
急!急!急!梦幻诛仙帮我看下宝宝值多少
魔域祥云在和谁聊天
夫晋,何厌之有 ;刘备天下枭雄 ;妪,先大母
茶源头我想知道这个在什么地方
浦东新区三林镇最近的成人高中在哪啊?
乾隆通宝到底值多少钱,乾隆通宝大概多少钱一
2010中考数学题求解(只一题)
丝绸英雄中的分城被别人攻打了,怎样才能把旗
请问在百度里搜索到的电影怎么下载?
Does Amy like blue?(否定的回答) Does Tom
比较准的心理测试
权志龙是什么时候剪得这个发型?
推荐资讯
夏家村地址在什么地方,想过去办事
500元可以买到什么好手机啊?
新课标数学还讲不讲和差化积公式了?
舟曲离四川有多远啊
我这电脑配置又什么问题?
做满月酒送什么礼物好,好朋友宝宝摆满月酒,
轻绳AB总长为l,用轻滑轮悬挂重为G的物体。绳
甚麽时候下雪?雪不是代表纯洁吗?看叻心情应
把别人的电脑桌面不小心给改了,他会不会很生
蓝拳升级穿暴击套还是裁决套好?
电脑贴吧怎么查历史,电脑上的百度贴吧浏览历
我的配置能玩《恶霸鲁尼》吗?
正方形一边上任一点到这个正方形两条对角线的
阴历怎么看 ?