Installing VMware Tools under Kali Linux

Source: Internet
Author: User
Tags gz file kali linux

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.