加入收藏 | 设为首页 | 会员中心 | 我要投稿 鄂州站长网 (https://www.0711zz.com/)- 数据分析、网络、云渲染、应用安全、大数据!
当前位置: 首页 > 综合聚焦 > CentOS > 正文

安装VMwareTools时出错:What is the location of the directory of C

发布时间:2020-07-30 01:04:50 所属栏目:CentOS 来源:互联网
导读:Fedora13安装VMwareTools出现 :WhatisthelocationofthedirectoryofCheaderfilesthatmatchyourrunningkernel?Thepathisnotvalid.Wouldyouliketochangeit?[yes]解决办法:1.将VMwareTools- 8.1.4-227600.tar.gz文件复制到`/software/文件夹下面2.安装VMwareTool

<div id="blog_text" class="cnt">

WhatisthelocationofthedirectoryofCheaderfilesthatmatchyourrunningkernel?Thepath""isnotvalid.Wouldyouliketochangeit?[yes]

解决办法:1.将VMwareTools- 8.1.4-227600.tar.gz文件复制到`/software/文件夹下面2.安装VMwareTools:

[root@localhosttian]#cdsoftware[root@localhosttian]#tarxzxfVMwareTools-8.1.4-227600.tar.gz[root@localhosttian]#cdvmware-tools-distrib/[root@localhosttian]#./vmware-install.plCreatinganewVMwareToolsinstallerdatabaseusingthetar4format.InstallingVMwareTools.Inwhichdirectorydoyouwanttoinstallthebinaryfiles?[/usr/bin]Whatisthedirectorythatcontainstheinitdirectories(rc0.d/torc6.d/)?[/etc/rc.d]Whatisthedirectorythatcontainstheinitscripts?[/etc/rc.d/init.d]Inwhichdirectorydoyouwanttoinstallthedaemonfiles?[/usr/sbin]Inwhichdirectorydoyouwanttoinstallthelibraryfiles?[/usr/lib/vmware-tools]Inwhichdirectorydoyouwanttoinstallthedocumentationfiles?[/usr/share/doc/vmware-tools]Thepath"/usr/share/doc/vmware-tools"doesnotexistcurrently.Thisprogramisgoingtocreateit,includingneededparentdirectories.Isthiswhatyouwant?[yes]TheinstallationofVMwareTools8.1.4build-227600forLinuxcompletedsuccessfully.Youcandecidetoremovethissoftwarefromyoursystematanytimebyinvokingthefollowingcommand:"/usr/bin/vmware-uninstall-tools.pl".BeforerunningVMwareToolsforthefirsttime,youneedtoconfigureitbyinvokingthefollowingcommand:"/usr/bin/vmware-config-tools.pl".Doyouwantthisprogramtoinvokethecommandforyounow?[yes]Initializing...StoppingVMwareToolsservicesinthevirtualmachine:Guestoperatingsystemdaemon:[确定]VirtualPrintingdaemon:[确定]UnmountingHGFSshares: [确定]Guestfilesystemdriver:[确定]Beforeyoucancompilemodules,youneedtohavethefollowinginstalled...makegcckernelheadersoftherunningkernelSearchingforGCC...DetectedGCCbinaryat"/usr/bin/gcc".Thepath"/usr/bin/gcc"appearstobeavalidpathtothegccbinary.Wouldyouliketochangeit?[no]Searchingforavalidkernelheaderpath...Thepath""isnotvalid.Wouldyouliketochangeit?[yes]WhatisthelocationofthedirectoryofCheaderfilesthatmatchyourrunningkernel?

3.下载相应的

Fedora13 Alpha版本内核版本为:2.6.33-0.52.rc8.git6.fc13.i686.PAE其下载地址为:注:不同的版本可在此网站找到相应的文件。

<div class="cnblogs_code">

[root@localhosttian]#rpm-qkernel-develpackagekernel-develisnotinstalled[root@localhosttian]#rpm-ivhftp://rpmfind.net/linux/fedora/releases/test/13-Alpha/Fedora/i386/os/Packages/kernel-devel-2.6.33-0.52.rc8.git6.fc13.i686.rpm[root@localhosttian]#rpm-qkernel-devel[root@localhosttian]#kernel-devel-2.6.33-0.52

提示:安装完kernel-devel后重启一下计算机,因为此时的系统检测的内核仍为启动时的内核版本。4.重新运行VMware的配置文件

[root@localhostbin]#/usr/bin/vmware-config-tools.pl

说明:

WhatisthelocationofthedirectoryofCheaderfilesthatmatchyourrunning kernel?”

” 在线安装即可。

(编辑:鄂州站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读