1. Boot the login into the Linux command line, then click
VMware menu Bar VM--Install VMware Tools
This time the equivalent of Vmtools CD has been inserted into the Linux system, next to mount the disc
2. Mount the disc
Cd/mnt
mkdir CDROM
Mount/dev/cdrom/mnt/cdrom
Cd/mnt/cdrom
There are two files, one is rpm, one thing tar.gz, you can choose what you like, I use RPM package
3. Installation
RPM-IVH vm*********.rpm
or install it with a compressed package file
CP vmwaretools-5.5.1-19175.tar.gz/tmp
Cd/tmp
Tar zxpf vmwaretools-5.5.1-19175.tar.gz
CD Vmware-tools-distrib
[Email protected] vmware-tools-distrib]#./vmware-install.pl
Creating a new installer database using the TAR3 format.
Installing the content of the package.
# The installation process of the screen, all use the default value, always press Enter on the right
In which directory does want to install the binary files?
[/usr/bin]
What's the directory that contains the init directories (rc0.d/to rc6.d/)?
[/ETC/RC.D]
What's the directory that contains the init scripts?
[/ETC/RC.D/INIT.D]
In which directory does want to install the daemon files?
[/usr/sbin]
In which directory does want to install the library files?
[/usr/lib/vmware-tools]
Thepath "/usr/lib/vmware-tools" does not exist currently. This programisgoingto create it, including needed parent directories. is thiswhatyou want?
[Yes]
In which directory does want to install the documentation files?
[/usr/share/doc/vmware-tools]
Thepath "/usr/share/doc/vmware-tools" does not exist currently. Thisprogram isgoing to create it, including needed parent directories. Isthis What do you want?
[Yes]
The installation of VMware Tools 5.5.1 build-19175 for Linux completed
Successfully. You can decide to remove the software from your system on any
Time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, your 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 your now? [Yes]
Stopping VMware Tools Services in the virtual machine:
Guest Operating System daemon: [OK]
Trying to find a suitable VMHGFS module for your running kernel.
The module Bld-2.6.9-5.el-i686-rhel4 loads perfectly in the running kernel.
Pcnet32 30153 0
Unloading Pcnet32 Module
Trying to find a suitable vmxnet module for your running kernel.
The module Bld-2.6.9-5.el-i686-rhel4 loads perfectly in the running kernel.
Detected x.org version 6.8.
To close the console mouse service: [OK]
Start the console mouse service: [OK]
Enjoy,
--the VMware Team
[Email protected] vmware-tools-distrib]# Shutdown-r now
# After the modification is complete, restart the computer for VMware Tools to take effect
4.
Setting up the share is set in the VM, vm→setting→options→sharedfolders→add→ Select the folder to be shared and name the folder →ok,vmware will automatically mount this folder to/mnt/hgfs directory, OK!
Linux command-line installation Vmwaretools (CentOS)