linux-虚拟机centos6.5安装tools

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

2、进入CentOS桌面后,将光盘打开,看到了VMWareTools-6.0.2.59824.tar.gz。

3、将VMWareTools-6.0.2.59824.tar.gz复制到/home,进行解压缩。

#cp  VMWareTools-6.0.2.59824.tar.gz /home

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


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

# cd vmware-tools-distrib/


执行vmware-install.pl安裝VMWare Tools

[root@localhost vmware-tools-distrib]# ./vmware-install.pl

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

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

[1]  ”640×480″
[2]< ”800×600″
[3]  ”1024×768″
[4]  ”1152×864″
[5]  ”1280×800″
[6]  ”1152×900″
[7]  ”1280×1024″
[8]  ”1376×1032″
[9]  ”1400×900″
[10]  ”1400×1050″
[11]  ”1440×900″
[12]  ”1680×1050″
[13]  ”1600×1200″
[14]  ”1920×1200″
[15]  ”2364×1773″
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,你就会发现新的萤幕解析度出现,并且鼠标不需再切换,且可使用拖曳的方式传档。
原文地址:https://www.cnblogs.com/sunshuhai/p/6250478.html