zoukankan      html  css  js  c++  java
  • kali2 vmtools

    root@kali:~# cat /etc/apt/sources.list
    # Regular Repositories
    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free
    # Source repositories
    deb-src http://http.kali.org/kali sana main non-free contrib
    deb-src http://security.kali.org/kali-security sana/updates main contrib non-free

    apt-get update

    apt-get upgrade

    Installing VMware Tools in Kali

    The latest version of vmware-tools at this date compiles against our kernel, albeit with several warnings. We utilise a set of vmware-tool patches to facilitate the installation.

    cd ~
    apt-get install git gcc make linux-headers-$(uname -r)
    git clone https://github.com/rasa/vmware-tools-patches.git
    cd vmware-tools-patches

    Next, mount the VMware tools ISO by clicking “Install VMware Tools” from the appropriate menu. Once the VMware Tools ISO has been attached to the virtual machine, copy the installer to the downloads directory and then run the installer script :

    cd ~/vmware-tools-patches
    cp /media/cdrom/VMwareTools-9.9.0-2304977.tar.gz downloads/
    ./untar-and-patch-and-compile.sh

    (正在读取数据库 ... 系统当前共安装有 334459 个文件和目录。)
    正准备解包 .../dkms_2.2.0.3-2_all.deb ...
    正在解包 dkms (2.2.0.3-2) ...
    正在选中未选择的软件包 linux-headers-amd64。
    正准备解包 .../linux-headers-amd64_4.0+65+kali1_amd64.deb ...
    正在解包 linux-headers-amd64 (4.0+65+kali1) ...
    正在处理用于 man-db (2.7.0.2-5) 的触发器 ...
    正在设置 dkms (2.2.0.3-2) ...
    正在设置 linux-headers-amd64 (4.0+65+kali1) ...
    VMware Tools 9.9.3 build-2759765 for Linux installer
    Usage: ./vmware-install.pl [[-][-]d[efault]]
    default: Automatically answer questions with the proposed answer.
    [[-][-]prefix=<path to install product: bin, lib, doc>] Put the installation
    at <path> instead of the default location. This implies '--default'.
    --clobber-kernel-modules=<module1,module2,...> Forcefully removes any VMware
    related modules installed by any other installer and installs the modules
    provided by this installer. This is a comma seperated list of modules.

    root@kali:~/vmware-tools-patches# ls
    CHANGELOG.md CONTRIBUTING.md downloads LICENSE patches patch.sh untar-all-and-patch.sh untar-and-patch.sh vmware-tools-distrib
    compile.sh download-patches.sh download-tools.sh patched-open-vm-tools.sh patch-module.sh README.md untar-and-patch-and-compile.sh untar.sh

    cd   vmware-tools-distrib

     ./vmware-install.pl  --default

    You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox-cmd" from the
    command line.

    To enable advanced X features (e.g., guest resolution fit, drag and drop, and
    file and text copy/paste), you will need to do one (or more) of the following:
    1. Manually start /usr/bin/vmware-user
    2. Log out and log back into your desktop session; and,
    3. Restart your X session.

    Enjoy,

    --the VMware team

    .

  • 相关阅读:
    【2021-01-07】叫我“何工”就好
    2021年的 目标计划
    转:我在拼多多的三年 https://www.leadroyal.cn/?p=1228#more-1228
    匀强电场等效重力场
    开源图片素材管理软件-civet
    心学#传习录学习
    工作感受月记202101月
    统计字典序元音字符的数量
    可被5整除的二进制
    假期刷题--JAVA
  • 原文地址:https://www.cnblogs.com/outline/p/4742022.html
Copyright © 2011-2022 走看看