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

    .

  • 相关阅读:
    图像通道的分离与合并
    frame表单嵌套的定位
    windows10(家庭版)+ laradock 安装踩坑记一记
    Laradock + tp5 + nginx 配置虚拟机域名始终跳转首页/502报错
    php私有组件以及创建自己的composer私有组件(packagist+git+composer)
    申请一个美国paypal账户
    php执行shell脚本
    Linux修复日志
    php7 安装redis拓展
    vim编辑器-删除命令
  • 原文地址:https://www.cnblogs.com/outline/p/4742022.html
Copyright © 2011-2022 走看看