vm-tools install for linux

 
在vm中安�blinux,�b完後安�bvm-tools出了一�c小���}..
    按正常布�e安�bvm-tools到某一步�r�s出�f如下提示:
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]
the path "/usr/src/linux/include" is an existing directory ,but it does not c a "linux" subdirectory as expected.

    用了最傻的一招,居然去��建了一��/usr/src/linux/include目�..(真想扇自己�啥�光!),�y果可想而知.
�^�m折�v�碚垓v去..�s忽略了一�l更重要的信息:(�_始那��不知道是�]注意�是真的�]出�f,反正�]看�)
using compiler "/usr/bin/gcc".use envir variable cc to override.
��..居然是gcc compiler的���}...
   
     kk.搞定..google�土舜竺�..  就是感�x特麻��...改改改..我改.
首先是安�b必要的��w
[root@netyang ~]# yum -y install gcc gcc-c++ kernel-devel
然後更新kernel
[root@netyang ~]# yum -y update kernel
�z查一下
[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
下�dvmware-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.
(中�g的一段省略.......)
trying to find a suitable vmmon module for your running kernel.
n 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 envir 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]
(我想大多�档娜硕伎ㄔ诹诉@一步上�砹恕9�哈,我也是,被玩了三四天了。其��解�q的方法非常��危�
[root@netyang vmware-distrib]#reboot
重�⑨峥��拥倪x�窆δ鼙矶喑隽艘豁�
fedora core (2.6.16-1.2080_fc5)
fedora core 5 (2.6.15-1.2054_fc5)
�x後面是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.
(中�g一段省略........)
n 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 envir 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.
哈哈,通�^完成。其他的都�x默�j就可以了。
vm的一��bug...�a丁打完..�得改改改...redhat 9直接就�b上了..
偶在�绦猩显v的�^程中遇到yum命令�箦e...需要改laseurl 然後更新..(在yum的配置�n中)..�直.麻�┧懒�..
    在安�b後..在一�...呵呵.那�死的提示�k於�]出�f了.....(忘著屏幕,真要失�×税晨隙ú徽垓v了.嘿嘿,大不了重�b.已�折�v�仔�r了.快崩�⒘�.)
        至此..�y束..真把俺折�v�k了.

你可能感兴趣的:(linux,职场,休闲)