`

Ubuntu安装虚拟机工具(VMware Tool)详解

阅读更多

<!-- google adsense--> <script type="text/javascript">&lt;!-- google_ad_client = &quot;pub-8653261883330540&quot;; google_ad_slot = &quot;5431479749&quot;; google_ad_width = 250; google_ad_height = 250; //--&gt; </script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"> </script><script src="http://pagead2.googlesyndication.com/pagead/expansion_embed.js"></script><script src="http://googleads.g.doubleclick.net/pagead/test_domain.js"></script><script>google_protectAndRun(&quot;ads_core.google_render_ad&quot;, google_handleError, google_render_ad);</script> 在VMware下安装Ubuntu,那么必须安装VMware-tools,才能获得更好的体验,包括屏幕分辨率、声音、和windows共享剪贴板等等。


1、点击VMware菜单的-VM-Install VMware Tools

这时,在Ubuntu下会自动加载Linux版的VMware Tools的安装光盘镜像。你会看到虚拟机的桌面上出现了一个名为VMware Tools的光盘图标,并且被自动打开。


  其中包括VMwareTools-xxx-i386.rpm和VMwareTools- xxx.tar.gz两个文件。

如果你双击那个 rpm 文件,会提示说不支持的软件包,因为 rpm 是为 RedHat 准备的安装包,我们需要的是 .tar.gz 那个。

2、把 .tar.gz 文件拷贝而到桌面,右键菜单-解压缩到此处。会自动解压为一个 vmware-tools-distrib 目录。

打开终端(系统的应用程序菜单-附件-终端)


3、然后在终端里面执行以下命令行:

$ cd Desktop(要是中文的就是 $ cd 桌面)
$ cd vmware-tools-distrib

$ sudo ./vmware-install.pl

4、回车之后提示输入管理员密码,然后一路确认回车后(相当于在Windows里安装软件时所填答的诸多对话框,我们这里均采用缺省设置),直到最后出现“Enjoy——the VMware team”的字样后,VMwareTools终于安装完成了。

过程如下:
Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin] y

The path "y" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin] y

The path "y" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin] y

The path "y" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin] y

The path "y" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin] y

The path "y" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin] y

The path "y" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin] y

The path "y" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]

The installation of VMware Tools 6.5.0 build-118166 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]


Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Virtual Printing daemon: done
The bld-2.6.24-16-i386generic-Ubuntu8.04 - vmmemctl module loads perfectly into
the running kernel.

The bld-2.6.24-16-i386generic-Ubuntu8.04 - vmhgfs module loads perfectly into
the running kernel.

The bld-2.6.24-16-i386generic-Ubuntu8.04 - vmxnet module loads perfectly into
the running kernel.

update-initramfs: Generating /boot/initrd.img-2.6.24-16-generic
The bld-2.6.24-16-i386generic-Ubuntu8.04 - vmblock module loads perfectly into
the running kernel.

[EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that
creates backups of virtual machines. Please refer to the VMware Knowledge Base
for more details on this capability. Do you wish to enable this feature?
[no] yes

The bld-2.6.24-16-i386generic-Ubuntu8.04 - vmsync module loads perfectly into
the running kernel.

The bld-2.6.24-16-i386generic-Ubuntu8.04 - vmci module loads perfectly into the
running kernel.

The bld-2.6.24-16-i386generic-Ubuntu8.04 - vsock module loads perfectly into
the running kernel.

Detected X.org version 7.3.0.


Please choose one of the following display sizes that X will start with (1 -
29):

[1] "320x200"
[2] "320x240"
[3] "400x300"
[4] "512x384"
[5] "640x400"
[6] "640x480"
[7] "720x480"
[8] "800x480"
[9] "854x480"
[10]< "720x576"
[11] "800x600"
[12] "1024x768"
[13] "1280x720"
[14] "1280x768"
[15] "1152x864"
[16] "1280x800"
[17] "1366x768"
[18] "1280x960"
[19] "1440x900"
[20] "1280x1024"
[21] "1400x1050"
[22] "1680x1050"
[23] "1600x1200"
[24] "1920x1080"
[25] "1920x1200"
[26] "1920x1440"
[27] "2048x1536"
[28] "2560x1600"
[29] "2560x1920"
Please enter a number between 1 and 29:

[10] 11


This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Ubuntu (xorg-server 2:1.4.1~git20080131-1ubuntu9)
Current Operating System: Linux jim-desktop 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686
Build Date: 15 April 2008 05:26:17PM

Before reporting problems, check http://wiki.x.org to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/vmware-config0/XF86ConfigLog.6478", Time: Fri Sep 26 18:16:38 2008
(++) Using config file: "/tmp/vmware-config0/XF86Config.6478"
(II) Module "ramdac" already built-in

X is running fine with the new config file.

expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightnessDown: line 71 of pc
expected keysym, got XF86KbdBrightnessUp: line 72 of pc
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightnessDown: line 71 of pc
expected keysym, got XF86KbdBrightnessUp: line 72 of pc
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.
Checking acpi hot plug done
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Guest filesystem driver: done
Mounting HGFS shares: failed
Guest memory manager: done
Guest vmxnet fast network device: done
VM communication interface: done
VM communication interface socket family: done
Blocking file system: done
File system sync driver: done
Guest operating system daemon: done
Virtual Printing daemon: done

The configuration of VMware Tools 6.5.0 build-118166 for Linux for this running
kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.

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.

To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/networking stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/networking start

If the virtual printer feature is enabled, you will need to restart the CUPS
service to make use of this feature.

Enjoy,

分享到:
评论

相关推荐

    Ubuntu安装虚拟机工具VMware Tool详细教程.docx

    Ubuntu 安装 VMware Tool 详细教程 本文将详细介绍如何在 Ubuntu 环境中安装 VMware Tool,以获得更好的用户体验...安装 VMware Tool 对于 Ubuntu 环境中的虚拟机来说是非常重要的,可以解决很多问题,提高用户体验。

    VMware 虚拟机中如何安装 Ubuntu 系统.docx

    VMware 虚拟机中如何安装 Ubuntu 系统.docx VMware 虚拟机中如何安装 Ubuntu 系统.docx VMware 虚拟机中如何安装 Ubuntu 系统.docx VMware 虚拟机中如何安装 Ubuntu 系统.docx VMware 虚拟机中如何安装 Ubuntu 系统....

    FishOS-vmware虚拟机安装ubuntu

    vmware虚拟机安装ubuntu vmware虚拟机安装ubuntu vmware虚拟机安装ubuntu vmware虚拟机安装ubuntu vmware虚拟机安装ubuntu

    AIGC-Back-vmware虚拟机安装ubuntu

    vmware虚拟机安装ubuntu vmware虚拟机安装ubuntu vmware虚拟机安装ubuntu vmware虚拟机安装ubuntu vmware虚拟机安装ubuntu

    ubuntu-18.04.3虚拟机安装方法+VMwareTools安装方法

    - **安装细节:** 安装工具通常用于改进虚拟机的性能和管理功能。例如,若未安装VMwareTools,用户将不能使用复制和粘贴、拖放文件等便捷操作来在宿主机和虚拟机之间传输文件。 文件内容中提到的安装方法和步骤...

    虚拟机(VMware10.0)上安装ubuntu12.04操作系统

    虚拟机(VMware10.0)上安装ubuntu12.04操作系统.

    如何给ubuntu Vmware虚拟机添加硬盘

    "给 Ubuntu Vmware 虚拟机添加硬盘" 在使用 VMware 软件创建 Ubuntu 虚拟机时,可能会遇到硬盘空间不足的问题,当当前虚拟机的硬盘空间不足时,只要 Windows 下的空间足够,就可以任意扩展。本文将详细介绍给 ...

    Vmware 安装ubuntu虚拟机详细操作步骤.zip

    vmware安装ubuntu虚拟机,详细到每一个操作步骤,看了还不会安装的见鬼去吧!!!不懂的加qq2439644676 vmware安装ubuntu虚拟机,详细到每一个操作步骤,看了还不会安装的见鬼去吧!!! vmware安装ubuntu虚拟机,...

    ubuntu安装虚拟机教程

    在本篇教程中,我们将详细介绍如何在Ubuntu系统中安装虚拟机,并分享如何配置网络代理服务器以及设置磁盘共享目录。首先,让我们从Ubuntu操作系统的基础安装开始讲起。 Ubuntu操作系统是一款基于Linux内核的免费...

    VMware虚拟机安装Ubuntu系统步骤详解

    VMware虚拟机安装Ubuntu系统步骤详解Ubuntu系统介绍VMware安装Ubuntu步骤一.Ubuntu系统的下载二.VMware workstation的下载安装三.配置Ubuntu虚拟机系统四.VMware安装Ubuntu系统 Ubuntu系统介绍 Ubuntu是一个以桌面...

    VMware虚拟机中ubuntu安装VMware tools

    在VMware虚拟机中运行Ubuntu系统时,为了更好地优化性能、增强虚拟机与宿主机之间的交互,安装VMware Tools是必不可少的一步。本文将详细解析在VMware虚拟机中的Ubuntu系统上安装VMware Tools的过程,以及这一操作...

    详解:Vmware虚拟机下Ubuntu8.04安装.pdf

    Vmware虚拟机下Ubuntu 8.04安装 Vmware虚拟机下Ubuntu 8.04安装可以分为两个部分:Vmware虚拟环境的安装和Ubuntu系统的安装。在Vmware虚拟环境的安装中,我们需要首先安装Vmware Workstation,然后创建一个新的...

    如何安装VMware tool

    对于使用 VMware 虚拟机软件(如 VMware Workstation、VMware Fusion 或 VMware ESXi)的用户来说,安装 VMware Tool 是必不可少的一环。 #### 安装前准备 1. **确认操作系统**:确保虚拟机中安装的是支持的操作...

    ubuntu虚拟机windows

    在 Ubuntu 上通过 VirtualBox 安装 Windows XP 本资源摘要信息将指导您如何在 Ubuntu 操作系统上通过 VirtualBox 安装 Windows XP。VirtualBox 是一款免费的虚拟机软件,可以在 Ubuntu 上运行 Windows 操作系统。 ...

    在VMware的ubuntu虚拟机中实现和Windows文件共享

    ### 在VMware的Ubuntu虚拟机中实现与Windows文件共享 #### 环境配置与准备工作 在本教程中,我们将详细介绍如何在VMware Workstation环境下搭建一个Ubuntu虚拟机,并实现Ubuntu虚拟机与宿主机(假设为Windows操作...

    SeedUbuntu虚拟机使用手册1

    在安装VMware后,用户需要创建一个新的虚拟机,选择Ubuntu作为操作系统,并分配相应的资源(如CPU、内存、磁盘空间等)。 虚拟机软件:vmware VMware是目前最流行的虚拟机软件之一,能够模拟硬件环境,运行多种...

    Vmware vSphere(一)安装vSphere client 以及 ubuntu

    本篇文章将探讨如何安装vSphere Client以及在Ubuntu操作系统上进行相关操作。 **vSphere Client安装** vSphere Client是vSphere平台的主要管理工具,它允许用户远程连接到vCenter Server或ESXi主机,进行虚拟机的...

    虚拟机VMware 下的UbuntuUSB 设备识别问题的解决方法

    在使用虚拟机软件VMware时,特别是在虚拟机中安装了Ubuntu Linux系统的情况下,可能会遇到USB设备无法正常识别的问题。这种情况对于经常需要在虚拟环境中使用USB存储设备的用户来说是非常不便的。本文将详细介绍在...

    在 Linux (Ubuntu)虚拟机中手动安装 VMware Tools

    本文将详细介绍如何在Ubuntu虚拟机中手动安装VMware Tools,以及它的重要性和功能。 首先,让我们理解VMware Tools是什么。VMware Tools是由VMware公司开发的一套集成工具,它包含了驱动程序、管理工具和服务,旨在...

Global site tag (gtag.js) - Google Analytics