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

    .

  • 相关阅读:
    定时器Timer的使用
    Queue和BlockingQueue的使用以及使用BlockingQueue实现生产者-消费者
    ReentrantReadWriteLock读写锁的使用
    利用Lucene与Nutch构建简单的全文搜索引擎
    再见了,DM
    互联网公司高并发图片(缩略图)处理中间层服务架构设计一
    poj 3131 双向搜索+hash判重
    [置顶] linux常用命令大全
    堆排序
    iOS UIView非常用方法及属性详解
  • 原文地址:https://www.cnblogs.com/outline/p/4742022.html
Copyright © 2011-2022 走看看