RedHat5虚拟机上安装vmware-tools实现与windows主机共享

首先在vmware上点击安装vmware tools按钮,然后mount挂载到red hat 5上,最后到系统中安装tar,rpm命令等

 

[root@bogon home]# ls

VMwareTools-6.0.2-59824.tar.gz

[root@bogon home]#  tar -xzvf VMwareTools-6.0.2.59824.tar.gz  解压vmware-tools

[root@bogon home]# ls

vmware-tools-distrib   

[root@bogon home]# cd vmware-tools-distrib/

[root@bogon vmware-tools-distrib]# dir

bin  doc  etc  FILES  INSTALL  installer  lib  vmware-install.pl

[root@bogon 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]

 

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

[/etc/rc.d]

 

What is the directory that contains the init scripts?

[/etc/rc.d/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.0.2 build-59824 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:                          [确定]

Trying to find a suitable vmmemctl module for your running kernel.

 

The module bld-2.6.18-8.el5-i686smp-RHEL5 loads perfectly in the running

kernel.

 

Trying to find a suitable vmhgfs module for your running kernel.

 

The module bld-2.6.18-8.el5-i686smp-RHEL5 loads perfectly in the running

kernel.

 

pcnet32                35269  0

Unloading pcnet32 module

 

Trying to find a suitable vmxnet module for your running kernel.

 

The module bld-2.6.18-8.el5-i686smp-RHEL5 loads perfectly in the running

kernel.

 

Trying to find a suitable vmblock module for your running kernel.

 

The module bld-2.6.18-8.el5-i686smp-RHEL5 loads perfectly in the running

kernel.

 

[EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service

provides a new communication capability with the Host, primarily for

development at the moment.  Would you like to enable this feature? [no]

 

 

 

Detected X.org version 7.1.

 

 

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

15):

 

[1]  "640x480"

[2]< "800x600"

[3]  "1024x768"

[4]  "1152x864"

[5]  "1280x800"

[6]  "1152x900"

[7]  "1280x1024"

[8]  "1376x1032"

[9]  "1400x900"

[10]  "1400x1050"

[11]  "1440x900"

[12]  "1680x1050"

[13]  "1600x1200"

[14]  "1920x1200"

[15]  "2364x1773"

Please enter a number between 1 and 15:

 

[2] 2                为了使用方便,分辨率选2

 

 

X Window System Version 7.1.1

Release Date: 12 May 2006

X Protocol Version 11, Revision 0, Release 7.1.1

Build Operating System: Linux 2.6.18-128.1.16.el5 i686 Red Hat, Inc.

Current Operating System: Linux bogon 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686

Build Date: 22 July 2009

Build ID: xorg-x11-server 1.1.1-48.67.el5

        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.2955", Time: Wed Dec 22 03:04:24 2010

(++) Using config file: "/tmp/vmware-config0/XF86Config.2955"

 

X is running fine with the new config file.

 

The XKEYBOARD keymap compiler (xkbcomp) reports:

> Warning:          Multiple symbols for level 1/group 1 on key <I5F>

>                   Using XF86Sleep, ignoring XF86Standby

> Warning:          Symbol map for key <I5F> redefined

>                   Using last definition for conflicting fields

Errors from xkbcomp are not fatal to the X server

FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.

Starting VMware Tools services in the virtual machine:

   Switching to guest configuration:                       [确定]

   Guest filesystem driver:                                     [确定]

   Mounting HGFS shares:                                    [确定]

   Guest memory manager:                                   [确定]

   Guest vmxnet fast network device:                    [确定]

   Blocking file system:                                          [确定]

   DMA setup:                                                       [确定]

   Guest operating system daemon:                     [确定]

 

The configuration of VMware Tools 6.0.2 build-59824 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 use the vmxnet driver, restart networking using the following commands:

/etc/init.d/network stop

rmmod pcnet32

rmmod vmxnet

modprobe vmxnet

/etc/init.d/network start

 

To make use of the virtual printer, you will need to restart the CUPS service

 

Enjoy,

 

--the VMware team

 

[root@bogon vmware-tools-distrib]#

在虚拟机打开root的主文件,就可年到windows的E盘共享情况。如图:

在RedHat5虚拟机上安装vmware-tools实现与windows主机共享 - 双佑 - 双佑的博客
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值