×î½üÒ»Ö±ÏëÔÚLinuxÖпª·¢S1mp3ÏîÄ¿£¬¿ÉÊÇÎÒÔÚVMwareÖÐ×°ÉÏDebian/Linuxºó¾ÍÊÇ×°²»ÉÏVMware-tools,ÔÚÍøÉÏËѼ¯ÁËÒ»ÏÂ×ÊÁÏûÓÐÒ»¸öÊʺÏÎҵģ¬¶øÇÒ½²µÄ¶¼ÊǺܼòµ¥¾Í×°ÉÏÀ´£¬Ã»°ì·¨£¬Ö»ÄÜ×Ô¼ºÏÂÊÖ£¬¾¹ý¼¸¸öСʱµÄŬÁ¦ÖÕÓÚ½â¾öÁË£¬ÏÖÔÚ°Ñ×Ô¼ºµÄ·½·¨¹«²¼¸ø´ó¼Ò£¬·ÀÖ¹´ó¼Ò×ßÍä·¡£
Óõ½ÁËÒÔϼ¸¸öÃüÁîapt-get¡¢apt-cache¡¢uname-a
Ê×Ïȼì²éµÄDebianÔÚ°²×°Ê±£¬¸ù±¾¾ÍûÓа²×°gcc¡¢ÄÚºËÍ·ÎļþҲûÓС£
Ö´Ðв½ÖèÈçÏ£º
1.ÔÚvmwareµÄ²Ëµ¥ÖÐÑ¡ÔñVm->install vmware-tools£¬Õâ¸öʱºòvmware¾Í»á°Ñ°²×°ÎļþÓ³Éäµ½ÄãµÄcdrom¡£
2.½øÈëÄãµÄcdrom£¬µãÓÒ¼ü¸´ÖÆVMwareTools-5.5.0-18463.tar.gzµ½/tmpĿ¼Ï£¬ÓÒ¼üµ¥»÷Ñ¡Ôñ½âѹ¡£µ±È»ÕâÁ½²½ÄãÒ²¿ÉÒÔʹÓÃÃüÁîÐз½Ê½£¬ÎÒ¶ÔÃüÁîÐв»ÊìϤ¡£ÏêϸµÄÃüÁîÐз½Ê½£¬´ó¼Ò×Ô¼ºÔÚÍøÉϾÍÄÜËѵ½×ÊÁÏ¡£
3.°²×°c±àÒëÆ÷£¨Ç°ÌáûÓа²×°gcc,¿ÉÒÔͨ¹ýwhich gccÃüÁîÀ´²é¿´ÊÇ·ñÒÑ°²×°£©¡£
a.ÔÚÃüÁîÐÐÖмüÈ룺su (½øÈëroot½øÐгÌÐò°²×°£¬ÆÕͨÓû§²»ÄÜʹÓÃapt-get install)£¬ÊäÈërootµÄÃÜÂë¼´¿É´ËʱÃüÁîÐдÓqinfengling@debian:$±äΪdebian:/home/qinfengling#
b:½Ó×ÅÔÚÃüÁîÐÐÖмüÈëapt-get install gcc,Ñ¡ÔñĬÈϾͿÉ˳Àû×°ÉÏÖøÃûµÄgcc±àÒëÆ÷
4.°²×°kernel-header (Ö÷ÒªÊÇΪÁ˽â¾öWhat is the location of the directory of C header files that match your running kernel?ÎÊÌâ)£¬²½ÖèÈçÏ£º
a.ÔÚÃüÁîÐÐÖмüÈ룺uname -a ²é¿´°æ±¾Îҵİ汾ÊÇ£ºLinux debian 2.6.18-4-686
b.½Ó׿üÈ룺apt-cache search headers 2.6.18-4-686£¨È»ºóËÑÒ»ÏÂÄں˵ÄÍ·Îļþ£©
c.¼üÈëÃüÁî°²×°£ºapt-get install Linux hearders-2.6.18-2-686
5.Ö®ºóÄã¾Í˳ÀûÁË£¬Ê×ÏÈÔÚÃüÁîÐÐÖнøÈë/tmp/vmware-tools-distribÎļþ¼ÐÏ£¬Ö®ºóÊäÈë./vmware-install.pl£¬Ñ¡ÔñĬÈÏ°²×°¾ÍÐÐÁË£¬Óöµ½[yes]¾ÍÊäÈëyes»òÕßy¡£