The test environment is vmware workstation 6.0 installed in Windows Vista, and the guest OS is centos 5.3. 1. Open vmware workstation and run centos 5.3. After centos 5.3 is started, log on to the system. After logging on to the system, choose VM> install VMware Tools from the menu of VMware, VMware will mount the VMware Tools image in the form of CDROM to guest OS (centos 6.3) 2. Open the terminal in centos 5.3 and run the su command to obtain the root permission. Run the following command to mount the Virtual CD drive. The mount point here uses the/mnt/directory. Mount/dev/CDROM/mnt/ Copy code 3. After mounting successfully, you can view the VMware Tools installation package in the/mnt/directory. Generally, there are two packages: one is an rpmpackage and the other is a compressed package in the tar.gz format. We use the following command to decompress the .tar.gz file. Tar-C/tmp-zxvf/mnt/VMwareTools-6.0.2-59824.tar.gz Copy code 4. After extracting the Installation File of VMware Tools to the/tmp directory, we do not need the Virtual CD prepared by VMWare for centos. Umount/mnt Copy code 5. Enter the installation package directory of VMware Tools in the/tmp directory to install it. CD/tmp/vmware-tools-distrib /Vmware-install.pl Copy code 6. When asked whether to run the vmware-config-tools.pl, select Yes, the installation process, you can have multiple directory settings need to interact, the default value can be. However, the last step is to select the screen resolution. I chose 800x600 here, which naturally varies from person to person. |
. Run vmware-install.pl Security VMware Tools:./vmware-install.pl
7.
Because I had already installed the VMware Tools, to practice for this tutorial, I get the message that VMware Tools are already installed.
Somewhere the installation will ask you the following question:
In which directory do you want to install the binary files?
Type an absolute path when typing the answer like "/usr/bin/vmware"
TypeYWhen it tells you "The path"/usr/bin/vmware "does not exist currently. This program is going to create it. Including needed parent directories. Is this what you want?
This is part of the log of the installation I went through:
What is the directory that contains the init scripts? [/Etc]
The file/etc/vmware-tools that this program was about to install already
Exists. Overwrite? [Yes] n
In which directory do you want to install the daemon files?
[/Usr/bin/sbin]/usr/sbin
In which directory do you want to install the library files?
[/Usr/bin/lib/vmware-tools]/usr/lib/Vmware
The path "/usr/lib/vmware" does not exist currently. This program is going
Create it, including needed parent directories. Is this what you want?
[Yes] y
In which directory do you want to install the documentation files?
[/Usr/bin/doc/vmware-tools]/usr/share/doc/Vmware
The path "/usr/share/doc/vmware" does not exist currently. This program is
Going to create it, including needed parent directories. Is this what you want?
[Yes] y
The installation of VMware Tools 2.0.0 build-122956 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/vmware-uninstall-tools.pl"
At this point, I will need to reboot the computer