白天和黑夜只交替没交换无法想像对方的世界
分类: linux
2009-02-26 13:04:38
二、
[root@localhost ~]#mount /media
#这个命令可以通过图形操作,点击【计算机】->【cd/dvd】
[root@localhost ~]#cd /media
[root@localhost media]#cd vmware\ tools/
[root@localhost vmware tools]#ls
vmwaretools-6.0.2-59824.i386.rpm vmwaretools-6.0.2-59824.tar.gz
[root@localhost vmware tools]rpm -ivh vmwaretools-6.0.2-59824.i386.rpm
#如果你以前安装vmtools没安装成功。请rpm -e vmwaretools-....
[root@localhost vmware tools]cd /usr/bin
[root@localhost bin]ls *.pl
collateindex.pl fixmswrd.pl vmware-config-tools.pl
# 安装过程的画面,全部使用默认值,一直按 enter 就对了
[root@cmcc bin]# ./vmware-config-tools.pl
it looks like you are trying to run this program in a remote session. this
program will temporarily shut down your network connection, so you should only
run it from a local console session. are you sure you want to continue?
[no] yes
stopping vmware tools services in the virtual machine:
guest operating system daemon:[ ok ]
virtual printing daemon:[ ok ]
the bld-2.6.18-8.el5-i686smp-rhel5 - vmmemctl module loads perfectly into the
running kernel.
could not create the '/mnt/hgfs' directory.
the filesystem driver (vmhgfs module) is used only for the shared folder
feature. the rest of the software provided by vmware tools is designed to work
independently of this feature.
if you wish to have the shared folders 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 enter key to continue ]
the bld-2.6.18-8.el5-i686smp-rhel5 - vmxnet module loads perfectly into the
running kernel.
the bld-2.6.18-8.el5-i686smp-rhel5 - 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.18-8.el5-i686smp-rhel5 - vmsync module loads perfectly into the
running kernel.
the bld-2.6.18-8.el5-i686smp-rhel5 - vmci module loads perfectly into the
running kernel.
the bld-2.6.18-8.el5-i686smp-rhel5 - vsock module loads perfectly into the
running kernel.
detected x.org version 7.1.
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:
[12]
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.9-42.elsmp i686 red hat, inc.
current operating system: linux cmcc.com 2.6.18-8.el5 #1 smp fri jan 26 14:15:21 est 2007 i686
build date: 09 january 2007
build id: xorg-x11-server 1.1.1-48.13.el5
before reporting problems, check
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.2800", time: wed feb 25 03:07:13 2009
( ) using config file: "/tmp/vmware-config0/xf86config.2800"
(ee) aiglx: screen 0 is not dri capable
x is running fine with the new config file.
freefontpath: fpe "unix/:7100" refcount is 2, should be 1; fixing.
starting vmware tools services in the virtual machine:
switching to guest configuration:[ ok ]
guest memory manager:[ ok ]
guest vmxnet fast network device:[ ok ]
vm communication interface:[ ok ]
vm communication interface socket family:[ ok ]
blocking file system:[ ok ]
file system sync driver:[ ok ]
guest operating system daemon:[ ok ]
virtual printing daemon:[ ok ]
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/network stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/network 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
重启后,然后在windows下设定一个共享文件夹。比如:d:\share,将share文件夹设为共享。
然后选择【虚拟机】->【设置】出现如下对话框:
点击【添加(a)】->【next】->取一个名字,选路经 ->【next】->【finsh】
[root@localhost ~]cd /mnt/hgfs/share
[root@localhost ~]ls
#现在就可以看到windows下的share那个文件夹下的文件了。
这样就可以很方便的访问windows下的文件了。