Install VMware Tools and kalivmware in Kali Linux

Source: Internet
Author: User
Tags gz file kali linux

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.

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.