KAIL2 Linux installation VMware Tools

Source: Internet
Author: User

Kali go in, install vmtools a bit of egg ache, halfway will ask you to compile kernel module required kernel header file, but not installed by default. When installing headers, we have to do some preparatory work because there is no source to download.

First open the shell, we want to add a source.

View Source

1 vim/etc/apt/sources.list

Or

1 nano/etc/apt/sources.list

Add the following two lines:

1 Deb Http://http.kali.org/kali Kali main Non-free contrib

2 deb-src Http://http.kali.org/kali Kali main Non-free contrib

Added source, we update Apt-get:

View Source

1 apt-get Update

After the update is complete, install Linux-header:

View Source

1 apt-get Install gcc make linux-headers-$ (uname-r)

This is because different Debian kernel versions may be different, so use a uname-r command to request a publication for the installation.

Then we do a link file to/usr/srcnux-headers-$ (uname-r)/includenux/, because the Vmtools installation when the default here to find. h file, do a link we do not have to manually input.

1 ln-s/usr/srcnux-headers-$ (uname-r)/include/generated/uapinuxersion.h/usr/srcnux-headers-$ (uname-r)/ includenux/

Now that the preparations are complete, you can start loading the vmtools.

Click on the Virtual Machine menu: Virtual machine-Install Vmtools, the virtual machine will automatically load on the Vmtools CD, we need to mount it. But generally we use a graphical interface, open "Computer", there is a CD/DVD drive, there is a tar.gz compression package, we copy it to/root under the line.

Then under the shell:

1 cd/root

2 tar zxvf vmwaretools*

Unzip the compressed package that was just copied to the/root. When we enter the name, press TAB to fill the line, do not silly lose.

After extracting the/root directory is one more folder:

1 CD vmware-tools-distrib/

2 . mware-tools-install.pl

The CD enters the folder and allows the vmware-tools-install.pl in that directory. Then the automated installation process begins, and all the way to the finish line is reached.

KAIL2 Linux installation VMware Tools

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.