Install VMware Tools and kalivmware in Kali Linux
Introduction
Kali Linux is a Debian-based Linux release designed for digital forensics and penetration testing. Installing Kali Linux is simple, but it is a bit difficult to install VMware Tools, because you will be asked during installation to compile the kernel header file required by the kernel module (Enter the path to the kernel header files for the 3.7-trunk-amd64 kernel ). Below are some ideas.
Preparations
First open the terminal and add a source:
Vim/etc/apt/sources. list
Or open the corresponding folder and edit it.
Add the following two lines:
Deb http://http.kali.org/kali kali main non-free contrib
Deb-src http://http.kali.org/kali kali main non-free contrib
Save the changes and update the following apt-get:
Apt-get update
After the update, install linux-header:
Apt-get install gcc make linux-headers-$ (uname-r)
Because different debian versions may have different kernel versions, you can use an uname-r command to find the version and install it.
Here, we can create a link file to/usr/src/linux-headers-$ (uname-r)/include/linux, by default, we will find the kernel header file here. We do not need to manually enter it as a link:
Ln-s/usr/src/linux-headers-@ (uname-r)/include/generated/uapi/linux/version. h/usr/src/linux-headers-@ (uname-r)/include // usr/src/linux-headers-@ (uname-r)/include
Note!The @ here should be replaced by the $ symbol !!!!!
Install VMware tools
At this point, the preparation is complete. Install VMware tools.
Choose Virtual Machine> install VMware tools from the menu. At this time, VMware tools will be mounted. Open the CD/DVD Driver in Kali Linux, and there is a tar.gz compressed package, copy it to/root, and execute the following commands in the terminal:
Cd/media/cdrom0/==> enter the system's CD/DVD drive
Ls ==> list all objects in this folder
Cp VMwareTools * .tar.gz/root ==> copy the .tar.gz file to the/root folder.
Cd/root ==> enter/root
Ls ==> list all objects in this folder
Tar-zxvf VMwareTools * .tar.gz ==> decompress .tar.gz to compress the file
Cd/vmware-tools-distrib/==> go to the/vmware-tools-distrib folder
./Vmware-install.pl ==> execute the VMware tools Installation File
Then, the automated installation starts. You can enter all the way to the end.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.