Linux虚拟机VMware Workstation中安装VMware Tools
[lijia@localhost Desktop]$ suPassword: [root@localhost Desktop]# cd /media[root@localhost media]# lsVMware Tools[root@localhost media]# cd *[root@localhost VMware Tools]# lsmanifest.txt
·
[lijia@localhost Desktop]$ su
Password:[root@localhost Desktop]# cd /media
[root@localhost media]# ls
VMware Tools
[root@localhost media]# cd *
[root@localhost VMware Tools]# ls
manifest.txt VMwareTools-9.6.2-1688356.tar.gz vmware-tools-upgrader-64
run_upgrader.sh vmware-tools-upgrader-32
[root@localhost VMware Tools]# cp VMwareTools-9.6.2-1688356.tar.gz /tmp
[root@localhost VMware Tools]# ls
manifest.txt VMwareTools-9.6.2-1688356.tar.gz vmware-tools-upgrader-64
run_upgrader.sh vmware-tools-upgrader-32
[root@localhost VMware Tools]# cd /tmp
[root@localhost tmp]# ls
keyring-VgnrLJ pulse-IIyiKVRaX7XB vmware-lijia
ks-script-KJfegt pulse-W5aXteUet9ne vmware-root
ks-script-KJfegt.log virtual-lijia.jiGExY vmware-root-1857424480
orbit-gdm vmware-config0 VMwareTools-9.6.2-1688356.tar.gz
orbit-lijia VMwareDnD yum.log
[root@localhost tmp]# chmod +x VMwareTools-9.6.2-1688356.tar.gz
[root@localhost tmp]# tar zxf VMwareTools-9.6.2-1688356.tar.gz
[root@localhost tmp]# ls
keyring-VgnrLJ pulse-W5aXteUet9ne vmware-root-1857424480
ks-script-KJfegt virtual-lijia.jiGExY VMwareTools-9.6.2-1688356.tar.gz
ks-script-KJfegt.log vmware-config0 vmware-tools-distrib
orbit-gdm VMwareDnD yum.log
orbit-lijia vmware-lijia
pulse-IIyiKVRaX7XB vmware-root
[root@localhost tmp]# cd *b
[root@localhost vmware-tools-distrib]# ls
bin doc etc FILES INSTALL installer lib vmware-install.pl
[root@localhost vmware-tools-distrib]# ./vmware-install.pl
A previous installation of VMware Tools has been detected.
The previous installation was made by the tar installer (version 4).
Keeping the tar4 installer database format.
You have a version of VMware Tools installed. Continuing this install will
first uninstall the currently installed version. Do you wish to continue?
(yes/no) [yes] yes
Uninstalling the tar installation of VMware Tools.
Stopping services for VMware Tools
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [ OK ]
VMware User Agent (vmware-user): [ OK ]
Blocking file system: [ OK ]
Unmounting HGFS shares: [ OK ]
Guest filesystem driver: [ OK ]
VM communication interface socket family: [ OK ]
VM communication interface: [ OK ]
Stopping Thinprint services in the virtual machine:
Stopping Virtual Printing daemon: done
File /etc/pulse/default.pa is backed up to /etc/pulse/default.pa.old.0.
Stopping HAL daemon: [ OK ]
Starting HAL daemon: [ OK ]
The removal of VMware Tools 9.6.2 build-1688356 for Linux completed
successfully.
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]
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.2 build-1688356 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]
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 ]
VMware User Agent (vmware-user): [ OK ]
Blocking file system: [ OK ]
Unmounting HGFS shares: [ OK ]
Guest filesystem driver: [ OK ]
VM communication interface socket family: [ OK ]
VM communication interface: [ OK ]
Found a compatible pre-built module for vmci. Installing it...
Found a compatible pre-built module for vsock. Installing it...
The module vmxnet3 has already been installed on this system by another
installer or package and will not be modified by this installer.
Use the flag --clobber-kernel-modules=vmxnet3 to override.
The module pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer.
Use the flag --clobber-kernel-modules=pvscsi to override.
The module vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer.
Use the flag --clobber-kernel-modules=vmmemctl to override.
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]
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]
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]
Thinprint provides driver-free printing. Do you wish to enable this feature?
[yes]
Disabling timer-based audio scheduling in pulseaudio.
Detected X server version 1.7.7
Stopping HAL daemon: [ OK ]
Starting HAL daemon: [ OK ]
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 ]
Guest vmxnet fast network device: [ OK ]
VM communication interface: [ OK ]
VM communication interface socket family: [ OK ]
Guest filesystem driver: [ OK ]
Mounting HGFS shares: [FAILED]
Blocking file system: [ OK ]
VMware User Agent: [ OK ]
Guest operating system daemon: [ OK ]
The configuration of VMware Tools 9.6.2 build-1688356 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.
to use the vmxnet driver, either reboot or
1. stop networking or stop any interface using the vmxnet or pcnet32 driver
2. remove the pcnet32 module with 'rmmod pcnet32'
3. remove the vmxnet module with 'rmmod vmxnet'
4. load the vmxnet module with 'modprobe -v vmxnet'
5. and restart networking or restart the stopped network interfaces
Enjoy,
--the VMware team
Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
/dev/sr0 ...
[root@localhost vmware-tools-distrib]#
更多推荐
已为社区贡献1条内容
所有评论(0)