这是有声音的视频,请检查播放器或者声音输出设备。

虚拟机的版本号:
VMware Workstation 7.1.0 build-261024

Linux系统:
Ubuntu10.10 (Maverick Meerkat) Alpha-2

网络情况: 真实电脑没有连接到互联网(断开网络状态)

================================================================
下面开始:

给虚拟机VMware7.1上的Ubuntu10.10安装VMware tools

实现对文件从windows真实系统和虚拟机系统的一个拖拉操作。

VM -> install VMware tools

对这个文件进行一个解压操作 : VMwareTools-8.4.2-261024.tar.gz

我把他解压到桌面了 ,然后使用 终端命令 找到解压后的文件 sudo ./vmware-install.pl 进行安装。

rumen@17rumen:~$ ls
examples.desktop  Ubuntu One  公共的  模板  视频  图片  文档  下载  音乐  桌面
rumen@17rumen:~$ cd 桌面
rumen@17rumen:~/桌面$ ls
vmware-tools-distrib  新文件.txt
rumen@17rumen:~/桌面$ cd vmware-tools-distrib
rumen@17rumen:~/桌面/vmware-tools-distrib$ ls
bin  doc  etc  FILES  INSTALL  installer  lib  vmware-install.pl
rumen@17rumen:~/桌面/vmware-tools-distrib$ sudo ./vmware-install.pl
[sudo] password for rumen:

下面是一些安装过程的信息,可以参考一下,遇到提示, 我都是直接按回车,默认操作。

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]

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 8.4.2 build-261024 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
Unmounting HGFS shares:                                             done
Guest filesystem driver:                                            done

The module vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer.  Use the flag
--clobber-kernel-modules=vmmemctl to override.

Before you can compile modules, you need to have the following installed...

make
gcc
kernel headers of the running kernel

Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]

Searching for a valid kernel header path...
Detected the kernel headers of the running kernel at
"/lib/modules/2.6.35-6-generic/build/include".
The path "/lib/modules/2.6.35-6-generic/build/include" appears to be a valid
path to the kernel headers of the running kernel.
Would you like to change it? [no]

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmxnet-only'
make -C /lib/modules/2.6.35-6-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-6-generic'
CC [M]  /tmp/vmware-root/modules/vmxnet-only/vmxnet.o
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_load_multicast’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2795: error: ‘struct net_device’ has no member named ‘mc_list’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2805: error: ‘struct net_device’ has no member named ‘mc_count’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2806: error: dereferencing pointer to incomplete type
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2807: error: dereferencing pointer to incomplete type
make[2]: *** [/tmp/vmware-root/modules/vmxnet-only/vmxnet.o] 错误 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmxnet-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-6-generic'
make: *** [vmxnet.ko] 错误 2
make:离开目录“/tmp/vmware-root/modules/vmxnet-only”

The fast network device driver (vmxnet module) is used only for our fast
networking interface. The rest of the software provided by VMware Tools is
designed to work independently of this feature.
If you wish to have the fast network driver enabled, you can install the driver
by running vmware-config-tools.pl again after making sure that gcc, binutils,
make and the kernel sources for your running kernel are installed on your
machine. These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmci-only'
make -C /lib/modules/2.6.35-6-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-6-generic'
CC [M]  /tmp/vmware-root/modules/vmci-only/kernelStubsLinux.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciDatagram.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciEvent.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciGuestDs.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciGuestKernelIf.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciKernelIf.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciProcess.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciQueuePair.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciUtil.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmci_drv.o
LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.o
Building modules, stage 2.
MODPOST 1 modules
CC      /tmp/vmware-root/modules/vmci-only/vmci.mod.o
LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.ko
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-6-generic'
make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: 正在进入目录 `/tmp/vmware-root/modules/vmci-only'
make[1]: “postbuild”是最新的。
make[1]:正在离开目录 `/tmp/vmware-root/modules/vmci-only'
cp -f vmci.ko ./../vmci.o
make:离开目录“/tmp/vmware-root/modules/vmci-only”

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmci-only'
make -C /lib/modules/2.6.35-6-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-6-generic'
CC [M]  /tmp/vmware-root/modules/vmci-only/kernelStubsLinux.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciDatagram.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciEvent.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciGuestDs.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciGuestKernelIf.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciKernelIf.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciProcess.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciQueuePair.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmciUtil.o
CC [M]  /tmp/vmware-root/modules/vmci-only/vmci_drv.o
LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.o
Building modules, stage 2.
MODPOST 1 modules
CC      /tmp/vmware-root/modules/vmci-only/vmci.mod.o
LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.ko
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-6-generic'
make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: 正在进入目录 `/tmp/vmware-root/modules/vmci-only'
make[1]: “postbuild”是最新的。
make[1]:正在离开目录 `/tmp/vmware-root/modules/vmci-only'
cp -f vmci.ko ./../vmci.o
make:离开目录“/tmp/vmware-root/modules/vmci-only”
Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vsock-only'
make -C /lib/modules/2.6.35-6-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-6-generic'
CC [M]  /tmp/vmware-root/modules/vsock-only/linux/af_vsock.o
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:312: warning: initialization from incompatible pointer type
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:359: warning: initialization from incompatible pointer type
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c: In function ‘VSockVmciStreamConnect’:
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:3224: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:3247: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:3259: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c: In function ‘VSockVmciAccept’:
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:3319: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:3335: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:3369: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c: In function ‘VSockVmciPoll’:
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:3467: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c: In function ‘VSockVmciStreamSendmsg’:
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:4107: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:4144: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:4197: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c: In function ‘VSockVmciStreamRecvmsg’:
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:4431: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:4471: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:4537: error: ‘struct sock’ has no member named ‘sk_sleep’
make[2]: *** [/tmp/vmware-root/modules/vsock-only/linux/af_vsock.o] 错误 1
make[1]: *** [_module_/tmp/vmware-root/modules/vsock-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-6-generic'
make: *** [vsock.ko] 错误 2
make:离开目录“/tmp/vmware-root/modules/vsock-only”

The VM communication interface socket family is used in conjunction with the VM
communication interface to provide a new communication path among guests and
host.  The rest of this software provided by VMware Tools is designed to work
independently of this feature.  If you wish to have the VSOCK feature  you can
install the driver by running vmware-config-tools.pl again after making sure
that gcc, binutils, make and the kernel sources for your running kernel are
installed on your machine. These packages are available on your distribution's
installation CD.
[ Press the Enter key to continue.]

The module vmxnet3 has already been installed on this system by another
installer or package and will not be modified by this installer.  Use the flag
--clobber-kernel-modules=vmxnet3 to override.

The module pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer.  Use the flag
--clobber-kernel-modules=pvscsi to override.

Disabling timer-based audio scheduling in pulseaudio.

Detected X.org version 7.7.1.

No drivers for X.org version: 7.7.1.
Skipping X configuration because X drivers are not included.

Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-2.6.35-6-generic
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
VM communication interface:                                         done
Blocking file system:                                               done
Guest operating system daemon:                                      done
Virtual Printing daemon:                                            done

The configuration of VMware Tools 8.4.2 build-261024 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 "/usr/bin/vmware-toolbox-cmd" from the
command line or by invoking "/usr/bin/vmware-toolbox" from the command line
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.

Enjoy,

--the VMware team

Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
/dev/sr0 ...
rumen@17rumen:~/桌面/vmware-tools-distrib$

安装完毕后就 重新启动系统,

然后就可以对文件在真实系统和虚拟机上的系统做一个拖拉操作。

安装成功了, 视频就到这里结束了。。88


“给虚拟机VMware7.1上的Ubuntu10.10安装VMware tools视频演示”没有评论

有任何疑问或建议,可以给作者留言:



公告:

  • 2010年5月之前的视频是文字解说演示,没有声音。
  • 2010年5月以后的视频全部带声音。