Install vmtools on a LINUX Virtual Machine

Source: Internet
Author: User

First start the VM_Linux system after the boot in the Virtual Machine menu bar click "Virtual Machine" and then click "Install VMware Tools" and then virtual opportunity to load CD-ROM... yes. the TAR file also has an RPM file. I have selected it. TAR file (read the online article saying that compatibility is better ),
I double-click it to decompress it, put the decompressed file under the/root directory, and then create a terminal to enter the decompressed directory (I .e: /root/vmware-tools-distrib), enter. /file name. pl (there is a small dot before "/"), and press Enter. For the first time, it seems that the installation was not successful, and the following result is displayed:
[Root @ localhost root] # cd vmware-tools-distrib
[Root @ localhost vmware-tools-distrib] #./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.
 
Installing VMware Tools. This may take from several minutes to over an hour
Depending upon its size.
 
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
 
 
Execution aborted.
 
Then I restarted the Virtual Machine and re-performed the operation. This time the operation was successful and the following results were displayed:
[Root @ localhost root] # cd vmware-tools-distrib
[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.
 
Uninstalling the tar installation of VMware Tools.
 
Skipping VMware Tools services shutdown on the host: [OK]
 
 
The removal of VMware Tools 6.0.0 build-45731 for Linux completed successfully.
Thank you for having tried this software.
 
Installing VMware Tools. This may take from several minutes to over an hour
Depending upon its size.
 
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 "/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] yes
 
The installation of VMware Tools 6.0.0 build-45731 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
Invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
This program to invoke the command for you now? [Yes] yes
 
 
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [OK]
Trying to find a suitable vmmemctl module for your running kernel.
 
The module up-2.4.20-8.athlon-RH9.0 loads perfectly in the running kernel.
 
Trying to find a suitable vmhgfs module for your running kernel.
 
The module up-2.4.20-8.athlon-RH9.0 loads perfectly in the running kernel.
 
Pcnet32 18016 0
Unloading pcnet32 module
 
Trying to find a suitable vmxnet module for your running kernel.
 
The module up-2.4.20-8.athlon-RH9.0 loads perfectly in the running kernel.
 
Trying to find a suitable vmblock module for your running kernel.
 
The module up-2.4.20-8.athlon-RH9.0 loads perfectly in the running kernel.
 
[EXPERIMENTAL] The VMware CPU Time Accounting daemon (vmware-vmdesched) can
Help increase the accuracy of CPU time accounting completed MED by the guest
Operating system. Please refer to the VMware Knowledge Base for more details on
This capability. Do you wish to enable this feature? [No] no
 
[EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service
Provides a new communication capability with the Host, primarily
Development at the moment. wocould you like to enable this feature? [No] no
 
 
 
Detected XFree86 version 4.3.0.
 
 
Please choose one of the following display sizes that X will start with (1-
15 ):
 
[1] "640x480"
[2] "800x600"
[3] <"1024x768"
[4] "1152x864"
[5] "1280x800"
[6] "1152x900"
[7] "1280x1024"
[8] "1376x1032"
[9] "1400x900"
[10] "1400x1050"
[11] "1440x900"
[12] "1680x1050"
[13] "1600x1200"
[14] "1920x1200"
[15] "2364x1773"
Please enter a number between 1 and 15:
 
[3] 3
 
 
XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-3 bigmem i686 [ELF]
Build Date: 27 February 2003
Build Host: porky.devel.redhat.com
 
Before reporting problems, check http://www.XFree86.Org/
To make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.4.20-8 (bhcompile@stripples.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) #1 Thu Mar 13 17:18:24 EST 2003 PFMarkers: (--) probed, (**) from config file, (=) default setting,
(++) From command line ,(!!) Notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented ,(??) Unknown.
(++) Log file: "/tmp/vmware-config0/XF86ConfigLog. 3622", Time: Mon Jul 21 01:44:44 2008
(++) Using config file: "/tmp/vmware-config0/XF86Config. 3622"
 
X is running fine with the new config file.
 
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: [OK]
Guest filesystem driver: [OK]
Mounting HGFS shares: [failed]
Guest memory manager: [OK]
Guest vmxnet fast network device: [OK]
Blocking file system: [OK]
DMA setup: [OK]
Guest operating system daemon: [OK]
 
The configuration of VMware Tools 6.0.0 build-45731 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 the following command:
"/Usr/bin/vmware-toolbox" during an X server session.
 
To use the vmxnet driver, restart networking using the following commands:
/Etc/init. d/network stop
Rmmod pcnet32
Rmmod vmxnet
Modprobe vmxnet
/Etc/init. d/network start
 
To make use of the virtual printer, you will need to restart the CUPS service
 
If you wish to configure any experimental features, please run the following
Command: "vmware-config-tools.pl -- experimental ".
 
Enjoy,
 
-- The VMware team
VMTools is successfully installed.

Excerpted from mongouture _ mongong's Blog

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.