1、kali linux   安装vmware tools时报错

What is the location of the "gcc" program on your machine?

你点击what is the location of "gcc"program on your machine 然后回车,它会问你:Would you like to change it  注意这项,
你选 NO  ,输入的方法就是  空格+no  然后它就不会出现那个what is the location of "gcc"program on your machine,
然后出现警告,不管他,直接全部回车按下去,

2、kali linux 源

#官方源
 deb kali main non-free contrib
 deb-src kali main non-free contrib
 deb kali/updates main contrib non-free
 deb kali/updates main contrib non-free
 deb-src kali/updates main contrib non-free
 
# 上海交大的源
 #deb wheezy main non-free contrib
 #deb wheezy-proposed-updates main non-free contrib
 #deb wheezy/updates main non-free contrib
 
# 163的源
 #deb wheezy main non-free contrib
 #deb wheezy-proposed-updates main non-free contrib
 #deb wheezy/updates main non-free contrib
 
deb kali main non-free contrib
 deb-src kali main non-free contrib
 deb kali/updates main contrib non-free
 
#debian_wheezy国内源
 deb wheezy main non-free contrib
 deb-src wheezy main non-free contrib
 deb wheezy-proposed-updates main non-free contrib
 deb-src wheezy-proposed-updates main non-free contrib
 deb wheezy/updates main non-free contrib
 deb-src wheezy/updates main non-free contrib
 deb wheezy main non-free contrib
 deb-src wheezy main non-free contrib
 deb wheezy-proposed-updates main non-free contrib
 deb-src wheezy-proposed-updates main non-free contrib
 deb-src wheezy/updates main non-free contrib
 deb wheezy/updates main non-free contrib
 
#中科大kali源
 deb kali main non-free contrib
 deb-src kali main non-free contrib
 deb kali/updates main contrib non-free
 
#激进源,新手不推荐使用这个软件源
 deb kali-bleeding-edge main
 deb-src kali-bleeding-edge main
 
#阿里云kali源
 deb kali main non-free contrib
 deb-src kali main non-free contrib
 deb kali/updates main contrib non-free
 
 3、更新源文件名  /etc/apt/sources.list
 更新命令:
  apt-get update & apt-get upgrade

 apt-get dist-upgrade

 apt-get clean

 
4、 设置SSH 开机自启动:
  update-rc.d ssh enable