工具使用说明-09-安装VMware Tools
1.选择“虚拟机”à”安装Vmware Tools”
2.选择“是”以及RH中提示界面
3.使用命令行安装
3.1.创建临时安装目录并解压安装文件到指定目录
mkdir tmp cd /tmp mkdir vmtools cd /media/VMware Tools/ tar -zxvf VMwareTools-9.6.0-1294478.tar.gz -C /tmp/vmtools/ |
3.2.执行安装,按提示选择默认
[root@master vmtools]# cd /tmp/vmtools/vmware-tools-distrib/ [root@master vmware-tools-distrib]# ls bin doc etc FILES INSTALL installer lib vmware-install.pl [root@master vmware-tools-distrib]# ./vmware-install.pl Creating a new VMware Tools installer database using the tar4 format.
Installing VMware Tools.
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]
yes In which directory do you want to install the documentation files? [/usr/share/doc/vmware-tools] The path "yes" is a relative path. Please enter an absolute path.
In which directory do you want to install the documentation files? [/usr/share/doc/vmware-tools] yes
The path "yes" is a relative path. Please enter an absolute path.
In which directory do you want to install the documentation files? [/usr/share/doc/vmware-tools] yes
The path "yes" is a relative path. Please enter an absolute path.
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]
The installation of VMware Tools 9.6.0 build-1294478 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
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] yes
Initializing...
Making sure services for VMware Tools are stopped.
Stopping Thinprint services in the virtual machine: Stopping Virtual Printing daemon: done Stopping VMware Tools services in the virtual machine: Guest operating system daemon: [ OK ] Unmounting HGFS shares: [ OK ] Guest filesystem driver: [ OK ]
The VMware FileSystem Sync Driver (vmsync) allows external third-party backup software that is integrated with vSphere to create backups of the virtual machine. Do you wish to enable this feature? [no] ni^Ho
The answer "no" is invalid. It must be one of "y" or "n".
The VMware FileSystem Sync Driver (vmsync) allows external third-party backup software that is integrated with vSphere to create backups of the virtual machine. Do you wish to enable this feature? [no] no
Found a compatible pre-built module for vmci. Installing it...
Found a compatible pre-built module for vsock. Installing it...
Found a compatible pre-built module for vmxnet3. Installing it...
Found a compatible pre-built module for pvscsi. Installing it...
Found a compatible pre-built module for vmmemctl. Installing it...
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? [yes] yes
Found a compatible pre-built module for vmhgfs. Installing it...
Found a compatible pre-built module for vmxnet. Installing it...
The vmblock enables dragging or copying files between host and guest in a Fusion or Workstation virtual environment. Do you wish to enable this feature? [yes] yes
Found a compatible pre-built module for vmblock. Installing it...
VMware automatic kernel modules enables automatic building and installation of VMware kernel modules at boot that are not already present. This feature can be
enabled/disabled by re-running vmware-config-tools.pl.
Would you like to enable VMware automatic kernel modules? [no] no
Thinprint provides driver-free printing. Do you wish to enable this feature? [yes] yes
Detected X version 7.1
Unable to detect guest resolution.
Please choose one of the following display sizes that X will start with:
[1]< 640x480 [2] 800x600 [3] 1024x768 [4] 1280x800 Please enter a number between 1 and 4:
[1] 3
X is running fine with the new config file.
Creating a new initrd boot image for the kernel. Starting Virtual Printing daemon: done Checking acpi hot plug [ OK ] Starting VMware Tools services in the virtual machine: Switching to guest configuration: [ OK ] Paravirtual SCSI module: [ OK ] Guest memory manager: [ OK ] VM communication interface: [ OK ] VM communication interface socket family: [ OK ] Guest filesystem driver: [ OK ] Mounting HGFS shares: [FAILED] Blocking file system: [ OK ] Guest operating system daemon: [ OK ] The configuration of VMware Tools 9.6.0 build-1294478 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; and, 3. Restart your X session.
Enjoy,
--the VMware team
Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device /dev/scd0 ... umount: /media/VMware Tools: device is busy umount: /media/VMware Tools: device is busy eject: unmount of `/media/VMware Tools‘ failed Eject Failed: If possible manually eject the Tools installer from the guest cdrom mounted at /media/VMware Tools before canceling tools install on the host. |
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。