1.点击安装VMware tool,之后选择挂载进行挂载
2.挂载Tools并解压
# mkdir /mnt/cdrom
# mount -t auto /dev/cdrom /mnt/cdrom
# cd /mnt/cdrom/
# cp VMwareTools-10.1.7-5541682.tar.gz /root
# cd
# tar -zxvf VMwareTools-10.1.7-5541682.tar.gz
3.安装tools
# cd vmware-tools-distrib/
# yum -y install perl gcc make kernel-headers kernel-devel net-tools
# http://blog.51cto.com/wangzhijian/vmware-install.pl
open-vm-tools packages are available from the OS vendor and VMware recommends
using open-vm-tools packages. See http://kb.vmware.com/kb/2073803 for more
information.
Do you still want to proceed with this installation? [no] yes
Creating a new VMware Tools installer database using the tar4 format.
Installing VMware Tools.
......
Creating a new initrd boot image for the kernel.
Generating the key and certificate files.
Successfully generated the key and certificate files.
SELinux setup: The 'semanage' utility was not found.
There was an error setting up the SELinux security context for VMware Tools.
Please make sure SELinux is set up correctly.
The configuration of VMware Tools 10.1.7 build-5541682 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 "/usr/bin/vmware-toolbox-cmd" from the
command line.
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
3. Restart your X session.
Enjoy,
--the VMware team
Found VMware Tools CDROM mounted at /mnt/cdrom. Ejecting device /dev/sr0 ...
4.卸载tools
# umount /mnt/cdrom
5.查看是否成功安装tools