快速业务通道

安装Redflag下的linux vmware tools

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-05-03
前天装了一个redflag linux6.0感觉还可以,嘿嘿,然后就想用它来上网了,的确是感觉xp没得linux好玩一些,然后就在vmware下装了它,也装了vmware tools工具,但是却不能使用vmtools,这下子郁闷了.
于是就想起了我以前对于redhat linux,但是却无法使用,RF linux更多像xp设计的,没办法就重新想办法了
想到应该是服务没有开启吧,就用service vmware TAB一下子,出来service vmware-tools 选择
service vmware-tools start 出来了,小喜



安提示输入/usr/bin/vmware-config-tools.pl
却出来What is the location of the directory of C header files that match your runningkernel?



没有C内核的头文件,安网上提示安装一个kernel-devel-2.6.18-8.el5.i686.rpm就可以了,于是去 copy并rpm -ivh kernel-devel-2.6.18-8.el5.i686.rpm

这下应该可以了...、嘿嘿
以下是编译的内容 [root@localhost /]# /usr/bin/vmware-config-tools.pl

Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [确定]
Guest memory manager: [确定]
正在关闭接口 eth0: [确定]
关闭环回接口: [确定]
Guest vmxnet fast network device: [确定]
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)?
Empire CMS,phome.net

[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.22.6-1/build/include]

Extracting the sources of the vmmemctl module.

Building the vmmemctl module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmemctl-only''
make -C /lib/modules/2.6.22.6-1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.22.6-1-i686''
CC [M] /tmp/vmware-config2/vmmemctl-only/os.o
SHIPPED /tmp/vmware-config2/vmmemctl-only/vmmemctl1.o
LD [M] /tmp/vmware-config2/vmmemctl-only/vmmemctl.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /tmp/vmware-config2/vmmemctl-only/.vmmemctl1.o.cmd for /tmp/vmware-config2/vmmemctl-only/vmmemctl1.o
CC /tmp/vmware-config2/vmmemctl-only/vmmemctl.mod.o
LD [M] /tmp/vmware-config2/vmmemctl-only/vmmemctl.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.22.6-1-i686''
cp -f vmmemctl.ko ./../vmmemctl.o
make: Leaving directory `/tmp/vmware-config2/vmmemctl-only''
The module loads perfectly in the running kernel.

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

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

Extracting the source

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号