11 月 302012
安装vmwaretools可以启用vmware高级特性并改善虚拟机性能
安装perl支持
yum install perl
yum install eject
创建挂载点
#mkdir /mnt/cdrom
挂载设备
#mount /deve/cdrom /mnt/cdrom
# tar xzvf VMwareTools-8.6.0-425873.tar.gz # cd vmware-tools-distrib/ # ./vmware-install.pl
指定安装目录
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]
第一次启动配置
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]
安装vmsync驱动
[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]
开启共享文件夹功能
The VMware Host-Guest Filesystem allows for shared folders between the host OS and the guest OS in a Fusion or Workstation virtual environment. Do you wish to enable this feature? [no]
安装后在CLI界面配置
/usr/bin/vmware-toolbox-cmd
安装后在GUI界面配置
/usr/bin/vmware-toolbox
卸载
/usr/bin/vmware-uninstall-tools.pl
启用X Window高级特性
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.
在CentOS6.3最小化桌面安装环境下程序自动弹出挂载镜像
Found VMware Tools CDROM mounted at /media. Ejecting device /dev/sr0 ...
查看运行进程
# ps aux|grep vmtoolsd root 13628 0.0 0.1 179512 3812 ? Sl 19:00 0:00 /usr/sbin/vmtoolsd root 13740 0.0 0.0 103244 836 pts/0 S+ 19:09 0:00 grep vmtoolsd