在新安裝完的Kali系統上安裝VMware tool會提示讓你輸入kernel header文件的路徑:
"Enter the path to the kernel header files for the 3.18.0-kali1-686-pae kernel?"
此時應安裝linux-headers。操作如下:
1.apt-get update===系統更新
2.apt-get install dist-upgrade -y ===安裝系統更新
3.apt-get install linux-headers* ===安裝linux header文件,如果"apt-get install linux-headers-$(uname -r)"執行有問題的話,可以試試我這個。
4.重新安裝VMware tool。備註:我的VMware是11版的。
下面給出幾個測試過的apt源,For Kali:
#Zhongkeda's kali source
deb http://mirrors.aliyun.com/kali kali main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
deb http://mirrors.aliyun.com/kali-sercurity kali/updates main non-free contrib
#debain's source
#deb http://mirrors.163.com/debian/ wheezy main contrib
#deb http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib
#deb-src http://mirrors.163.com/debian/ wheezy main contrib
#deb-src http://mirrors.163.com/debian/ wheezy-proposed-updates main contrib
# ShanghaiJiaoda's source
#deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
#deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
#deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
#deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
#deb http://ftp.sjtu.edu.cn/debian-security wheezy updates main non-free contrib
#deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib