VMware Tools可以实现在主机<->虚拟机之间拷贝文字、文件等功能。本文讲述如何在VMware ubuntu linux虚拟机中安装VMware tools.

测试环境:

VMware Workstation 12.5

主机:windows7 sp1 x64

虚拟机:ubuntu linux 16.4

Step1

在VMware菜单中选择,虚拟机 -->更新VMware Tools

出现如下提示:

在客户机中装载虚拟CD驱动器,启动终端,使用tar解压缩安装程序,然后执行vmware-install.pl安装VMware Tools.

Step2 解压VMwareTools

在VMwareTools-xxxx.tar.gz上面鼠标右键选择Extract,然后选择解压的地址,我准备把文件解压到tmp文件夹:

选择other location --> computer --> tmp

Step3 导航到解压后的目录,执行vmware-install.pl

导航到解压目录 tmp/vmware-tools-distrib

鼠标右键 -->open int terminal

执行

  1. sudo ./vmware-install.pl

然后按照提示安装。安装后,可以使用copy-paste将虚拟机中的文字拷贝出来了。以下是我拷贝出来的安装对话。


  1. lion@ubuntu:/tmp/vmware-tools-distrib$ sudo ./vmware-install.pl
  2. [sudo] password for lion:
  3. The installer has detected an existing installation of open-vm-tools packages
  4. on this system and will not attempt to remove and replace these user-space
  5. applications. It is recommended to use the open-vm-tools packages provided by
  6. the operating system. If you do not want to use the existing installation of
  7. open-vm-tools packages and use VMware Tools, you must uninstall the
  8. open-vm-tools packages and re-run this installer.
  9. The packages that need to be removed are:
  10. open-vm-tools
  11. The installer will next check if there are any missing kernel drivers. Type yes
  12. if you want to do this, otherwise type no [yes] yes
  13. A previous installation of VMware Tools has been detected.
  14. The previous installation was made by the tar installer (version 4).
  15. Keeping the tar4 installer database format.
  16. You have a version of VMware Tools installed. Continuing this install will
  17. first uninstall the currently installed version. Do you wish to continue?
  18. (yes/no) [yes] yes
  19. Uninstalling the tar installation of VMware Tools.
  20. Stopping services for VMware Tools
  21. The removal of VMware Tools 10.1.6 build-5214329 for Linux completed
  22. successfully.
  23. Installing VMware Tools.
  24. In which directory do you want to install the binary files?
  25. [/usr/bin]
  26. What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
  27. [/etc]
  28. What is the directory that contains the init scripts?
  29. [/etc/init.d]
  30. In which directory do you want to install the daemon files?
  31. [/usr/sbin]
  32. In which directory do you want to install the library files?
  33. [/usr/lib/vmware-tools]
  34. The path "/usr/lib/vmware-tools" does not exist currently. This program is
  35. going to create it, including needed parent directories. Is this what you want?
  36. [yes] yes
  37. In which directory do you want to install the documentation files?
  38. [/usr/share/doc/vmware-tools]
  39. The path "/usr/share/doc/vmware-tools" does not exist currently. This program
  40. is going to create it, including needed parent directories. Is this what you
  41. want? [yes] yes
  42. The installation of VMware Tools 10.1.6 build-5214329 for Linux completed
  43. successfully. You can decide to remove this software from your system at any
  44. time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
  45. Before running VMware Tools for the first time, you need to configure it by
  46. invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
  47. this program to invoke the command for you now? [yes] yes
  48. You have chosen to install VMware Tools on top of an open-vm-tools package.
  49. You will now be given the option to replace some commands provided by
  50. open-vm-tools. Please note that if you replace any commands at this time and
  51. later remove VMware Tools, it may be necessary to re-install the open-vm-tools.
  52. The file /usr/bin/vmware-hgfsclient that this program was about to install
  53. already exists. Overwrite? [no]
  54. The file /sbin/mount.vmhgfs that this program was about to install already
  55. exists. Overwrite? [no]
  56. The file /usr/bin/vmhgfs-fuse that this program was about to install already
  57. exists. Overwrite? [no]
  58. Initializing...
  59. Making sure services for VMware Tools are stopped.
  60. The module vmci has already been installed on this system by another installer
  61. or package and will not be modified by this installer.
  62. The module vsock has already been installed on this system by another installer
  63. or package and will not be modified by this installer.
  64. The module vmxnet3 has already been installed on this system by another
  65. installer or package and will not be modified by this installer.
  66. The module pvscsi has already been installed on this system by another
  67. installer or package and will not be modified by this installer.
  68. The module vmmemctl has already been installed on this system by another
  69. installer or package and will not be modified by this installer.
  70. The VMware Host-Guest Filesystem allows for shared folders between the host OS
  71. and the guest OS in a Fusion or Workstation virtual environment. Do you wish
  72. to enable this feature? [yes] yes
  73. The vmxnet driver is no longer supported on kernels 3.3 and greater. Please
  74. upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)
  75. VMware automatic kernel modules enables automatic building and installation of
  76. VMware kernel modules at boot that are not already present. This feature can
  77. be enabled/disabled by re-running vmware-config-tools.pl.
  78. Would you like to enable VMware automatic kernel modules?
  79. [yes] yes
  80. Thinprint provides driver-free printing. Do you wish to enable this feature?
  81. [yes] yes
  82. Creating a new initrd boot image for the kernel.
  83. update-initramfs: Generating /boot/initrd.img-4.10.0-33-generic
  84. The configuration of VMware Tools 10.1.6 build-5214329 for Linux for this
  85. running kernel completed successfully.
  86. Enjoy,
  87. --the VMware team
  88. lion@ubuntu:/tmp/vmware-tools-distrib$

如何在VMware ubuntu linux虚拟机中安装VMware tools的更多相关文章

  1. 如何在Ubuntu 18.04中安装VMware Workstation Player

    参考链接 如何在Ubuntu 18.04中安装VMware Workstation Player https://www.sysgeek.cn/ubuntu-18-04-install-vmware- ...

  2. linux虚拟机中安装mongodb

    今天在linux虚拟机中安装了mongodb数据库,安装过程主要参照了网上的一片文档,大部分地方都没有多大区别,只是在某些细节上有所改变. 我参考的文档是:http://my.oschina.net/ ...

  3. Ubuntu 14.04 中安装 VMware10 Tools工具

    Run: apt-get install dkms linux-headers-$(uname -r) build-essential psmisc2 - Run: git clone https:/ ...

  4. 在windows中,使用SSH登录VMware ubuntu linux虚拟机

    测试环境 主机:window7 sp1 64位 专业版 虚拟机:VMware workstation 12 player 虚拟机操作系统: ubuntu 16.4 目标:在ubuntu下运行SSH服务 ...

  5. linux虚拟机中安装vm_tool的方法及用处

    解决问题:实现虚拟机VMware上linux与windows互相自由复制与粘贴.如在同一个系统下ctrl+c 与ctrl+v一样方便.解决了只能通过U盘摆渡复制的繁琐问题. 系统环境: 虚拟机VMwa ...

  6. 【图文教程】Vmware Workstation 12虚拟机中安装CentOS 7详细步骤

    文档维护人:牛棚琐思 <viprs@qq.com> ,如有不妥之处,请不吝赐教. 文档目标:帮助新手在Vmware虚拟机软件中安装CentOS 7超详细教程. 目标人群:本篇教程比较简单, ...

  7. CentOS虚拟机中安装VMWare Tools

    1.单击VMWare的[虚拟机]菜单,选择[安装VMWare Tools]命令 2.接着CentOS系统会自动挂载VMWare  Tools,并自动打开,如果没有打开可以自己去图形界面打开VMWare ...

  8. VMware创建Linux虚拟机并安装CentOS(三)

    选择“创建自定义布局”手动给Linux指定系统分区.交换分区,鼠标单击“下一步”按钮继续. 首先创建交Swap分区,鼠标单击“创建”按钮,在弹出的“生成存储”对话框中,生成分区选择“标准分区”:鼠标单 ...

  9. 如何在Linux系统中安装VMware

    首先打开vmware官网的下载链接:https://my.vmware.com/web/vmware/info/slug/desktop_end_user_computing/vmware_works ...

随机推荐

  1. P3193 [HNOI2008]GT考试

    传送门 容易看出是道DP 考虑一位一位填数字 设 f [ i ] [ j ] 表示填到第 i 位,在不吉利串上匹配到第 j 位时不出现不吉利数字的方案数 设 g [ i ] [ j ] 表示不吉利串匹 ...

  2. jupyter notebook初步使用

    Jupyter Notebook(此前被称为 IPython notebook)是一个交互式笔记本,支持运行 40 多种编程语言.在本文中,我们将介绍 Jupyter notebook 的主要特性,以 ...

  3. APP微信支付实现

    参考官方文档 设计到的API: 统一下单API.支付结果通知API和查询订单API 下面代码是请求预支付ID // 构建下单bean final WxPayUnifiedOrderBean unifi ...

  4. git 合并某个提交commit到指定的分支上

    https://blog.csdn.net/anhenzhufeng/article/details/77962943 git checkout master git cherry-pick 62ec ...

  5. CHUCK手把手带你搞定OPENSTACK

    一.OpenStack初探 1.1 OpenStack简介 OpenStack是一整套开源软件项目的综合,它允许企业或服务提供者建立.运行自己的云计算和存储设施.Rackspace与NASA是最初重要 ...

  6. hive 存储格式及压缩

    -- 设置参数 set hivevar:target_db_name=db_dw; use ${hivevar:target_db_name}; -- 创建textfile表 create table ...

  7. sf04_操作系统中 heap 和 stack 的区别

    概述 本文分三部分,描述有所重叠,但可以让你对栈与堆有一个比较清晰.全面的认识 heap 和 stack是什么 堆栈是两种数据结构.堆栈都是一种数据项按序排列的数据结构,只能在一端(称为栈顶(top) ...

  8. php程序设计 1,2章节

    <?php/** * Created by PhpStorm. * User: DY040 * Date: 2017/9/4 * Time: 10:39 * * * 1: php起源于1995 ...

  9. 创建有关hbase数据库的项目时所遇到的问题

    1.在以前使用其他数据库时,经常会使用id自增来做主键,但是hbase数据库中不知道怎么来设置自增主键,所以我打算不要id自增主键.然后删除原来的表,重新创建表. 删除表语句: 用drop命令可以删除 ...

  10. protobuf在c++的使用方法以及在linux安装

      https://blog.csdn.net/wangyin668/article/details/80046798 https://www.cnblogs.com/zhouyang209117/p ...