Introduction
Kali Linux is a Debian-based Linux distribution that is designed for digital forensics and penetration testing. Installing Kali Linux is simple, but the process of installing VMware Tools is a bit of a hassle, because in the middle of the installation you will be asked the kernel header file you need to compile the kernel module (Enter the path to the kernel header files for the 3.7 -TRUNK-AMD64 kernel). Let's tidy up the idea below.
Preparatory work
First open the terminal and add a source:
Vim/etc/apt/sources.list
Or simply open the appropriate folder to edit
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
After the modifications are complete, save and then update the following apt-get:
Apt-get Update
After the update is complete, install Linux-header:
Apt-get Install gcc make linux-headers-$ (uname-r)
Because of different Debian, the kernel version may be different, so use a uname-r command to publish the book and then install it.
Here, we can make a link file to/usr/src/linux-headers-$ (uname-r)/include/linux/, because Vmtools installation, will default to here to find the kernel header file, do a link we do not have to manually enter:
Ln-s/usr/src/[email protected] (UNAME-R)/include/generated/uapi/linux/version.h/usr/src/[email protected] (uname-r )/include//usr/src/[email protected] (uname-r)/include
Watch out! The @ here should be replaced with the $ symbol!!!!!
Installing VMware Tools
Here, the preparation is over. Start installing VMware tools below.
Click the virtual machine's menu: Virtual machine –> install VMware tools. At this point, VMware tools will be mounted. Open the CD/DVD drive of Kali Linux with a tar.gz compression package, copy it to/root, and execute the following command in the terminal:
cd/media/cdrom0/===> Enter the system's CD/DVD drive
LS ===> lists all files in this folder
CP vmwaretools*.tar.gz/root ===> Copy the. tar.gz file to the/root folder
Cd/root ===> into/root
LS ===> lists all files in this folder
TAR-ZXVF vmwaretools*.tar.gz ===> decompression. tar.gz Compressed file
cd/vmware-tools-distrib/===> into/vmware-tools-distrib folder
./vmware-install.pl ===> executing VMware Tools installation files
Then, the automated installation begins, all the way to the end of the Enter.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Installing VMware Tools under Kali Linux