如何在CentOS下安装VMwareTools工具

如何在CentOS下安装VMwareTools工具



安裝VMWare Tools有几个优点:
1.可以支援其他解析度,不再局限于640 x 480和800 x 600。
2.Host OS与Guest OS传档时,只需鼠标拖曳即可。
3.鼠标在Host OS与Guest OS切换时,不需再按Ctrl + Alt。

此次安装VMWare Tools的目的是第三点:为了本机和centos切换时,可以直接切换,不需再按ctrl+Alt,这样会觉得方便许多哦,呵呵,


Step 1:
在VMWare选VM -> Install VMWare Tools...,就会在桌面出现VMWare Tools图示让你安裝


Step 2:
进入CentOS桌面后,将光碟机打开,看到了VMWareTools-6.0.2-59824.i386.rpm与VMWareTools-6.0.2.59824.tar.gz。

看到rpm你应该很兴奋,因为CentOS与Fedora/RHEL师出同源,所以应该可以用,但经我测试结果,是可以安裝,安装过程也没有错誤,但可惜安裝完沒有VMWare Tools该有的功能,所以只能用tarball来安裝了。


Step 3:
將VMWareTools-6.0.2.59824.tar.gz复制到home directory,进行解压缩。

# tar zxvf VMwareTools-6.0.2-59824.tar.gz


Step 4:
进入解压缩后的vmware-tools-distrib目录

# cd vmware-tools-distrib/


Step 5:
执行vmware-install.pl安裝VMWare Tools

# ./vmware-install.pl


之后出现很多问题,都接受预设值一直按enter即可,唯一问到萤幕解析度问题,若你想使用其他解析度,请自行设定如下:

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] 3


最后出现以下讯息,表示安裝成功。

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-67.ELsmp i686 Red Hat, Inc.
Current Operating System: Linux localhost.localdomain 2.6.18-53.1.19.el5 #1 SMP Wed May 7 08:20:19 EDT 2008 i686
Build Date: 19 January 2008
Build ID: xorg-x11-server 1.1.1-48.26.el5_1.5
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.2977", Time: Fri Jun 6 15:14:32 2008
(++) Using config file: "/tmp/vmware-config0/XF86Config.2977"

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: [ 确定 ]
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


重新启动CentOS,你就会发现新的萤幕解析度出现,并且鼠标不需再切换,且可使用拖曳的方式传档。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值