zoukankan      html  css  js  c++  java
  • Ubuntu 14.04 中安装 VMware10 Tools工具

    Run: apt-get install dkms linux-headers-$(uname -r) build-essential psmisc
    2 - Run: git clone https://github.com/rasa/vmware-tools-patches.git
    3 - Run: cd vmware-tools-patches/patches
    4 - Remove every folder except "vmhgfs".
    5 - Get the last version of VMwareTools clicking on VMWare Bar > VM > Install/Reinstall VMWare Tools. It will open a virtual CD containing the "tar" file.
    6 - Copy VMwareTools-9.2.4-1398046.tar.gz to "vmware-tools-patches" folder.
    7 - On "vmware-tools-patches" folder, run: ./untar-and-patch-and-compile.sh

    重新启动后,分辨率可自适应,剪贴板可正常使用,输入lsmod | grep vm可看到vmhgfs,但是在共享目录也就是/mnt/hgfs中,提示该文件夹不是目录

    在网上查说是VMware10的Bug,在10.0.2版本中修复了,正在下载,明日再试。

    重新启动后,分辨率可自适应,剪贴板可正常使用,输入lsmod | grep vm可看到vmhgfs,但是在共享目录也就是/mnt/hgfs中,提示该文件夹不是目录

    在网上查说是VMware10的Bug,在10.0.2版本中修复了,正在下载,明日再试。

    Creating a new initrd boot image for the kernel.
    update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
    initctl:未知任务: vmware-tools-thinprint
    Unable to start services for VMware Tools

    Execution aborted.

    一盆冷水啊,查了一些资料,跟打印有关,反正我也不用打印功能,干脆删掉吧

    root@ www.linuxidc.com:/etc/init# rm vmware-tools-thinprint.conf

    重新启动服务

    root@ www.linuxidc.com:/etc/vmware-tools# ./services.sh restart
    Stopping VMware Tools services in the virtual machine:
      Guest operating system daemon:                                      done
      VMware User Agent (vmware-user):                                    done
      Blocking file system:                                              done
      Unmounting HGFS shares:                                            done
      Guest filesystem driver:                                            done
      VM communication interface:                                        done
      Checking acpi hot plug                                              done
    Starting VMware Tools services in the virtual machine:
      Switching to guest configuration:                                  done
      VM communication interface:                                        done
      Guest filesystem driver:                                            done
      Mounting HGFS shares:                                              done
      Blocking file system:                                              done
      VMware User Agent:                                                  done
      Guest operating system daemon:                                      done

    查看共享目录

    root@ www.linuxidc.com:/etc/vmware-tools# df
    文件系统      1K-blocks    已用      可用 已用% 挂载点
    /dev/sda1      19478204  4487716  13978008  25% /
    none                  4        0        4    0% /sys/fs/cgroup
    udev            1010624        4  1010620    1% /dev
    tmpfs            204276    1072    203204    1% /run
    none                5120        0      5120    0% /run/lock
    none            1021364      152  1021212    1% /run/shm
    none              102400      56    102344    1% /run/user
    /dev/sr0          61542    61542        0  100% /media/yufan/VMware Tools
    .host:/        186165244 47665228 138500016  26% /mnt/hgfs
    root@ www.linuxidc.com:/etc/vmware-tools# cd /mnt/hgfs
    root@ www.linuxidc.com:/mnt/hgfs# ls
    WindowsShare
    root@ www.linuxidc.com:/mnt/hgfs# cd WindowsShare/
    root@ www.linuxidc.com:/mnt/hgfs/WindowsShare# ls
    abc  啦啦啦德玛西亚.txt

    终于搞定了!
    -----------------------------------------------------
    sudo mount -t vmhgfs .host:/ /mnt/hgfs
    vmware-hgfsclient.host:/shared /home/pnuts/shared vmhgfs defaults 0 0

    Ubuntu 12.04下安装VMware Tools http://www.linuxidc.com/Linux/2012-05/60472p2.htm

    更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2

    本文永久更新链接地址http://www.linuxidc.com/Linux/2014-05/101545.htm


  • 相关阅读:
    eclipse export runnable jar(导出可执行jar包) runnable jar可以执行的
    mave常用指令
    771. Jewels and Stones珠宝数组和石头数组中的字母对应
    624. Maximum Distance in Arrays二重数组中的最大差值距离
    724. Find Pivot Index 找到中轴下标
    605. Can Place Flowers零一间隔种花
    581. Shortest Unsorted Continuous Subarray连续数组中的递增异常情况
    747. Largest Number At Least Twice of Others比所有数字都大两倍的最大数
    643. Maximum Average Subarray I 最大子数组的平均值
    414. Third Maximum Number数组中第三大的数字
  • 原文地址:https://www.cnblogs.com/liang123/p/6325298.html
Copyright © 2011-2022 走看看