官术网_书友最值得收藏!

Installing VMware Tools

In this recipe, we will demonstrate how to install Kali Linux as a virtual machine using VMware Tools.

Getting ready

The following requirements need to be fulfilled:

  • A previously installed Kali Linux VMware virtual machine
  • An Internet connection

How to do it...

Let's begin the process of installing Kali Linux on VMware:

  1. With your virtual machine's guest operating system powered on and connected to the Internet, open a Terminal window and type the following command to prepare the kernel sources:
    prepare-kernel-sources
    
    Note

    These instructions are assuming you are using either Linux or Mac OS machines. You will not need to perform these steps under Windows.

  2. On the VMware Workstation menu bar, navigate to VM | Install VMware Tools…:
  3. Copy the VMware Tools installer to a temporary location and then change the location to the target directory:
    cp /media/VMware\ Tools/VMwareTools-8.8.2-590212.tar.gz /tmp/; cd /tmp/
    
    Note

    Replace the filename according to your VMware Tools version: VMwareTools-<version>-<build>.tar.gz

  4. Untar the installer by issuing the following command:
    tar zxpf VMwareTools-8.8.2-590212.tar.gz
    
  5. Go to the VMware Tools' directory and run the installer:
    cd vmware-tools-distrib/
    ./vmware-install.pl
    
  6. Press Enter to accept the default values in each configuration question; the same applies with the vmware-config-tools.pl script.
  7. Finally, reboot and we're done!

How it works...

In the first step, we prepared our kernel source. Next, we virtually inserted the VMware Tools CD into the guest operating system. Then, we created the mount point and mounted the virtual CD drive. We copied and extracted the installer in a temporary folder and finally we ran the installer leaving the default values.

主站蜘蛛池模板: 大城县| 平阴县| 汨罗市| 会泽县| 正阳县| 清水河县| 渑池县| 富阳市| 苗栗市| 潮安县| 固镇县| 温宿县| 新建县| 靖边县| 青州市| 达州市| 舒兰市| 新龙县| 固原市| 宁都县| 南康市| 温泉县| 宣化县| 巴南区| 昌图县| 济源市| 鹤峰县| 武宣县| 育儿| 渝北区| 增城市| 马龙县| 龙山县| 射洪县| 张家界市| 若羌县| 临洮县| 深州市| 富民县| 雷州市| 延津县|