在新安装完的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