Install
There are two installation packages for vmware-tools, one is the RPM package and the other is the tar package. The following two methods are used for installation:
I. RPM package installation
1. After starting the Linux virtual machine, click "VM" in the wmware menu bar, and then click the "Install VMware Tools" option in the drop-down menu.
2. Mount the optical drive:
[Root @ localhost ~] # Mount/mnt/CDROM/mnt/
[Root @ localhost ~] # Rpm-IVH/mnt/VMwareTools-6.0.0-45731.i386.rpm
Then the installation process appears. After installation
[Root @ localhost ~] # Cd/usr/bin
[Root @ localhost ~] # Ls *. pl
[Root @ localhost ~] #./Vmware-config-tools.pl
Then, follow the prompts to install it. The installation process will flash a few times, which is normal.
Finally, press CTRL + ALT. If the "vmware-tools not installed" prompt is not displayed in the lower left corner, the installation is successful.
Ii. Installation of the TAR package
1. After starting the Linux virtual machine, click "VM" in the wmware menu bar, and then click the "Install VMware Tools" option in the drop-down menu.
2. Mount the optical drive:
[Root @ localhost ~] # Mount-T iso9660/dev/CDROM/mnt
3. copy the file and copy the package to the tmp directory of Linux (this option is optional:
[Root @ localhost ~] # Cp, MNT, vmware-linux-tools.tar.gz, TMP
Go to the tmp directory:
[Root @ localhost ~] # Cd/tmp
Decompress the package:
[Root @ localhost ~] # Tar zxvf VMwareTools-6.0.0-45731.tar.gz
Enter the decompressed directory:
[Root @ localhost ~] # Cd vmware-tools-distrib/
Run the installation command:
[Root @ localhost ~] #./Vmware-install.pl
You can press enter all the way later. The "Install" prompt indicates whether to back up the previous configuration file. We recommend that you select "yes ".
After the installation is complete, you cannot see the prompt "No vmware-tools installed" in the lower left corner, which means the installation is successful.
Use
After the installation, choose VM-setting-Option-shared folders from the VM menu, select "enable", and specify the shared directory. In addition, if SELinux is enabled, sharing may not work properly. You can disable SELinux to solve this problem.
Finally, you can see the shared Windows folder in the file:/mnt/HGFS directory (in XWindow) of the virtual machine, or you can directly view the shared files under the/mnt/HGFS directory, in this way, you can use this folder to transfer files between the host and VM.
Bytes ----------------------------------------------------------------------------------------------
Set resolution
#> Cd/usr/bin
#>. /Vmware-config-tools.pl (some versions of VMware here is a vmware-configure-tool.pl, if you can not find this file, go in/usr/bin to find similar files) This step cannot be less, otherwise, VMWare cannot smoothly switch between virtual machines and real machines.
After you enter the preceding command, the result is as follows:
Enter 2 in the resolution setting area (set the display resolution to 800x600). Press enter and the following result is displayed:
Indicates that the resolution is correctly configured.
Enter the following command:
#> Service vmware-tools start
Start VMware Tools