As we all know, we always use VMware to install Vmware-tools to facilitate us to share files with the host, which also greatly facilitates our operation, so installation is also necessary to choose, but few people can understand the principle of this, small series this will be their experience and share with you, For novice friends to provide reference! Daniel Please bypass ~~~0x01: First in the terminal Input command: Apt-get install linux-headers-$ (uname-r) to see if there is a kernel header file; This is one of the preparations for installing Vmware-tools However, many times it is unfortunate to see the result is unable to locate the package or find the kernel header file; Do not worry, small to help you solve; see the next step:
0X02: At this time, the small part of the proposal to update the Linux source, because in many cases the system comes from the source is official or foreign, resulting in our update will lose packets, so that can not be updated, I recommend the use of Zhong Ke source, open files:/etc/apt/sources.list, with # Comment out the source that comes with the system: Add the following source and save it:
deb http://mirrors.ustc.edu.cn/kali sana main non-free contribdeb-src http://mirrors.ustc.edu.cn/kali sana main non-free contribdeb http://mirrors.ustc.edu.cn/kali-security/sana/updates main contrib non-freedeb-src http://mirrors.ustc.edu.cn/kali-security/sana/updates main contrib non-free
0X03: Next terminal Run command: Apt-get update (
SOURCE index UPDATE!!! 0X04: After the above command is finished, run the command: Apt-get upgrade (
Package UPDATE!!! -For more details, please read the article on a blog0X05: The next step is much better, select "Install Vmware-tools" or "Reinstall Vmware-tools" on the Virtual Machine menu (
you should try to pretend, but not to pretend, hey! Do not worry, this time will be able to install a good! Believe me) 0X06: A CD disc will pop up on the desktop (
If you have a card, wait a moment.), click to copy a zip file ending with. tar.gz to the home directory, this is the installation file. 0X07: In terminal input: Cd/home into the home directory; 0X08: Then enter: Tar zxvf vmwaretools-
***. tar.gz (
* Number represents a different version, the version of the small edition is not necessarily the same as everyone, so omitted!!! 0X09: After the decompression is complete, go to the folder command: CD vmware-tools-distrib/0x10: Then enter:./vmware-install.pl; You can perform the installation process by pressing ENTER (
do not ask why, because you are a novice, some paths have changed you are dumbfounded, you can not find! So don't die oh ...); install until enjoy appears; 0X11: Last step, enter: Init 6 or Reboot! OK, everything OK, restart detection, you can be in the host and virtual machine copy and paste come and go!!! (
Add: Init 6 is Linux system-level permissions: reboot)
Kali linux2.0 installation Vmware-tools method update