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

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

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?”

” 在线安装即可。

本文来自网络,不代表青岛站长网立场。转载请注明出处: https://www.0532zz.com/html/zhonghe/fwq/centos/20200729/7275.html
上一篇
下一篇

作者: dawei

【声明】:青岛站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。

为您推荐

【免责声明】本站内容转载自互联网,其发布内容言论不代表本站观点,如果其链接、内容的侵犯您的权益,烦请提交相关链接至邮箱xwei067@foxmail.com我们将及时予以处理。

Copygight © 2016-2023 https://www.0532zz.com All Rights Reserved.青岛站长网

站长:xwei067#foxmail.com(请把#换成@)