VMware6.5下ubuntu的VMwareTools的安装

刚安装完ubuntu虚拟机的朋友们肯定有很多人被安装VMwareTools给难住了,本文就是来解决此问题的。
我安装的是VMware6.5的版本,其它的版本也差不多,版本过早的可能要麻烦些,可能需要什么gcc之类的东西,不说了,开始吧。
1、点击Vmware菜单上的“虚拟机” ——>Install VMwaretools
2、打开终端,终端的启动位置为:应用程序--附件--终端 ,即整个ubuntu屏幕左上角第一个按钮中的第三个按钮的菜单中。
3、获得root权限,在终端中输入:sudo passwd root
接着会显示如下东东:
Enter new UNIX password:
你输入你想要设置的密码,完了回车,接着就显示如下东东:
Retype new UNIX password:
你再次重复输入你的密码,完了回车,就显示如下东东:
passwd: password updated successfully
不管它
4、在做完上述东西后,再输入:su - root
它就会显示:password:
就是让你输入密码,你输入你刚刚设定的密码就可以了,密码不回显,你管自己敲就行了,敲完回车。
5、做完4就会显示:“root@你的用户名:~#” 之类的东西,不管它
接着你就输入:tar -vzxf /cdrom/VMwareTools-6.5.0-118166.tar.gz
等它解压完了,出现输入符号“root@你的用户名:~#”时,
你再输入:sudo ./vmware-tools-distrib/vmware-install.pl
接着,你就等着,一路回车就完了。

 

以上的红色部分表示你要输入和屏幕显示的东西或你要注意的东西。

 


以下是安装过程中出现的东西,你可以核对一下,如果差不多,就说明你成功了。
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,

--the VMware team

看到英文部分中的红色部分,表示你成功了

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值