VMwareTools安裝及出現kernel header path的解決方法

1.將安裝文件提取到本地磁盤
打開加載的VMwareTools光盤,鼠標右鍵 VMwareTools-*.tar.gz 文件,提取到系統盤下的文件夾,這裏
以 Documents 爲例。
文件名版本號可能有所區別,認準文件後綴名爲 .tar.gz 即可
2.啓用 Root超級權限
Ctrt+Ait+T快捷打開終端(或者 應用程序 - 附件 - 終端)
終端輸入 sudo su 回車
然後輸入 設置的密碼 回車(Ubuntu 輸入密碼是看不到提示符的)
3.執行安裝命令
輸入 cd ./Documents/vmware-tools-distrib 回車(d與/之間有空格)
輸入 ./vmware-install.pl 回車,即開始安裝
4.回車直到你看到 Enjoy, --the VMware team 關閉終端,重起電腦安裝完成。


------VMWare安裝VM Tools出現kernel header path問題解決方法--------
Ubuntu14.04安裝VMWare Tools

遇到一點問題,提示找不到內核頭文件,於是baidu之,作如下總結。
首先執行:

sudo apt-get install build-essential linux-headers-$(uname -r)
sudo cp /lib/modules/3.13.0-24-generic/build/include/generated/uapi/linux/version.h 
/lib/modules/3.13.0-24-generic/build/include/linux/
此處的3.13.0-24是--not a valid path to the 3.13.0-24-generic kernel headers.中的數字,


然後:
The path "" is not a valid path to the 3.13.0-24-generic kernel headers.
Would you like to change it? [yes]
Enter the path to the kernel header files for the 3.13.0-24-generic kernel? 
/lib/modules/3.13.0-24-generic/build/include/

The path "/lib/modules/3.13.0-24-generic/build/include/" appears to be a valid
path to the 3.13.0-24-generic kernel headers.
Would you like to change it? [no]
3.如果看到 Enjoy, --the VMware team  但是還是無法複製文件,設置-共享文件(啓用)
    
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章