zoukankan      html  css  js  c++  java
  • 虚拟机乌班图系统安装 VMware tools 工具

    在VMware虚拟机中安装完毕Linux操作系统之后,我们经常会发现桌面不能全屏显示或者windows主机系统与linux操作系统之间无法创建共享文件夹。这是因为我们还没有安装VMware tools工具。

    1. 启动VMware虚拟机下的Linux操作系统。打开VMware虚拟机之后点击“开启此虚拟机”。

       
    2. 等待Linux操作系统正常启动完毕,然后点击VMware菜单栏“虚拟机”下的“安装VMware Tools”。
       
    3.  然后,会在Linux的系统桌面上生成一个名字为“VMware Tools”的光驱文件。
       
    4.  双击“VMware Tools”光驱文件并进入,会看到一个后缀为.tar.gz的压缩文件。
       
    5.  将压缩文件复制到home目录下,home目录即左侧的主目录文件夹。复制过程用鼠标操作完成即可。复制完毕如下图所示。
       
    6.  打开命令行终端,默认应该就是home目录,如果不是home目录,在命令行终端输入“cd ~”命令进入home目录下,在home目录下输入"ls"命令就可以看到我们刚刚复制的压缩包文件。
       
    7.  将压缩包用tar -zxvf命令解压,命令如下图所示。
       
    8.  解压完毕用“ls”命令查看,会看到在home目录下产生一个“vmware-tools-distrib”文件夹。
       
    9.  用“cd vmware-tools-distrib”命令进入vmware-tools-distrib文件夹,然后在命令行执行:“sudo ./vmware-install.pl”命令,输入用户密码即可进行vmware tools的安装。
       
    10.  等待VMware Tools安装完毕。安装成功会显示“Found VMware Tools CDROM mounted at ......"的字样,如下图所示。
       
    11.  为了说明一下VMware Tools是否真正的安装成功,我们可以利用Linux操作系统是否能够全屏显示来验证。如果能够全屏显示了说明VMware Tools安装成功。在VMware“查看”菜单栏下点击“立即适应客户机‘’,等待一会看是否Linux可以全屏显示。
       
    12.  全屏显示效果如下图所示,说明VMware Tools安装成功。
       
       
       
       
      实际过程中遇到的问题:

      The installer has detected an existing installation of open-vm-tools packages
      on this system and will not attempt to remove and replace these user-space
      applications. It is recommended to use the open-vm-tools packages provided by
      the operating system. If you do not want to use the existing installation of
      open-vm-tools packages and use VMware Tools, you must uninstall the
      open-vm-tools packages and re-run this installer.
      The packages that need to be removed are:
      open-vm-tools
      Packages must be removed with the --purge option.
      The installer will next check if there are any missing kernel drivers. Type yes
      if you want to do this, otherwise type no [yes]

      Uninstall failed. Please correct the failure and re run the install. Execution aborted.

  • 相关阅读:
    数据库设计时间修饰词
    Tomcat手动指定jdk路径
    linux删除乱码文件[转载]
    elasticsearch简单查询
    elasticsearch批量删除(查询删除)
    elasticsearch使用Analyze API
    elasticsearch批量索引数据示例
    Elasticsearch创建索引和映射结构详解
    mysql设置服务器编码
    HBase单机模式安装
  • 原文地址:https://www.cnblogs.com/Uni-Hoang/p/12873112.html
Copyright © 2011-2022 走看看