Install the VMwareTools tool in CentOS Linux

Source: Internet
Author: User
[Root @ localhost ~] # Mount-tiso9660/dev/cdrom/mnt # load the CDROM device // at this time if you enter the/mnt directory, you will find a file more: VMwareTools-6.0.2-59824.tar.gz. This is the LINUX package of WMWARETOOLS. mount: blockdevice/dev

[Root @ localhost ~] # Mount-t iso9660/dev/cdrom/mnt# Loading CDROM devices

// If you enter the/mnt directory, you will find an additional file:VMwareTools-6.0.2-59824.tar.gz . This is the LINUX software package of wmware tools,


Mount: block device/dev/cdrom is write-protected, mountingread-only
Mount:/dev/cdrom already mounted or/mnt busy
Mount: according to mtab,/dev/hdc is already mounted on/mnt
[Root @ localhost ~] # Cp, mnt, VMwareTools-6.0.2-59824.tar.gz, tmp// Copy the package to the tmp directory of CentOS
[Root @ localhost ~] # Cd/tmp # enter the tmp Directory
[Root @ localhost tmp] # tar zxfVMwareTools-6.0.2-59824.tar.gz// Compress the package and decompress it to the vmware-linux-distrib Directory (with the same name as the file name) by default ).

[Root @ localhost tmp] # ls// View the files and files in the tmp DirectoryClip
Gconfd-root scim-panel-socket: 0-root
Keyring-7JZqvI scim-socket-frontend-root
Keyring-ReIvNv ssh-YBJsXe2479
Keyring-uVhSan virtual-root.fEFapV
Mapping-root virtual-root.KivsMu
Orbit-root virtual-root.SjEmT1
Scim-bridge-0.3.0.lockfile-0 @ localhost: 0.0 VMwareTools-6.0.2-59824.tar.gz
Scim-bridge-0.3.0.socket-0 @ localhost: 0.0 vmware-tools-distrib
Scim-helper-manager-socket-root
[Root @ localhost tmp] # cdvmware-tools-distrib// Enter the vmware-tools-distrib folder


[Root @ localhost vmware-tools-distrib] # ls // View the files in the folder and find the corresponding installation file *. pl (here is the vmware-install.pl)
Bin doc etc files install installer lib vmware-install.pl

[Root @ localhost vmware-tools-distrib] #./vmware-install.pl// Start Installation
Creating a new VMware Tools installer database using the tar4format.
Installing VMware Tools.
In which directory do you want to install the binaryfiles? //In this case, press enter.
[/Usr/bin]


What is the directory that contains the init directories (rc0.d/torc6.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. Thisprogram is
Going to create it, including needed parent directories. Is thiswhat you want?
[Yes] yes


In which directory do you want to install the documentationfiles?
[/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 thiswhat you
Want? [Yes]Yes


The installation of VMware Tools 6.0.2 build-59824 for Linuxcompleted
Successfully. You can decide to remove this software from yoursystem at any
Time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl ".
Before running VMware Tools for the first time, you need toconfigure 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 runningkernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the runningkernel.
Trying to find a suitable vmhgfs module for your runningkernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the runningkernel.
Pcnet32 30409 0
Unloading pcnet32 module
Trying to find a suitable vmxnet module for your runningkernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the runningkernel.
Trying to find a suitable vmblock module for your runningkernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the runningkernel.
[EXPERIMENTAL] The VMware CPU Time Accounting daemon (vmware-vmdesched) can
Help increase the accuracy of CPU time accounting completed Med by theguest
Operating system. Please refer to the VMware Knowledge Base formore 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, primarilyfor
Development at the moment. wocould you like to enable this feature? [No]No


Detected X.org version 6.8.
Please choose one of the following display sizes that X will startwith (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:
[5] 3

//Select the screen resolution after vmtools is installed. [3] "1024x768"
X WindowSystem Version 6.8.1
Release Date: 17 September 2004
X Protocol Version 11, Revision 0, Release 6.8.1
Build Operating System: Linux 2.6.9-1.860 _ ELsmp i686 [ELF]
Current Operating System: Linux localhost. localdomain 2.6.9-5.EL # 1Wed Jan 5 19:22:18 EST 2005 i686
Build Date: 09 December 2004
Build Host: tweety.build.redhat.com
Before reporting problems, checking http://wiki.X.Org
To make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.9-5.EL( bhcompile@decompose.build.redhat.com) (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9. EL4) #1 Wed Jan 5 19:22:18 EST 2005 P
Markers: (--) probed, (**) from config file, (=) defaultsetting,
(++) From command line ,(!!) Notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented ,(??) Unknown.
(++) Log file: "/tmp/vmware-config0/XF86ConfigLog. 3037", Time: TueJul 14 16:14:32 2009
(++) Using config file: "/tmp/vmware-config0/XF86Config. 3037"
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.2 build-59824 for Linux forthis running
Kernel completed successfully.
You must restart your X session before any mouse or graphicschanges 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 followingcommands:
/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 theCUPS service

// The system restarts and the configuration takes effect.

CentOS restart... You can see that icon 1 is displayed... Indicates that VMTools is successfully installed...

 

A strange phenomenon occurs: after CentOS is restarted, when we want to leave CentOS, we no longer need to press Ctrl + Alt!

 

Now we will share the WINXP_ OS folder for CentOS

5. go to "edit VM settings" of the VM"

 


 

This is the shared image. then we can go to CentOS to see if we can read the shared directory.

 

In the "/mnt/hgfs" folder, you can see the shared folder "text"... here, this experiment is successfully completed...

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.