Install VMware Tools on a Linux instance

Source: Internet
Author: User
Tags knowledge base

The procedure is as follows:

[Root @ localhost ~] # Cd/
[Root @ localhost/] # ls
Bin Dev home lost + found MISC net proc sbin SRV tftpboot USR
Boot etc lib media MNT opt root SELinux sys TMP VaR
[Root @ localhost/] # cd/Media
[Root @ localhost media] # ls
VMware Tools
[Root @ localhost media] # cd VMware \ tools/
[Root @ localhost VMware Tools] # ls
Manifest.txt VMwareTools-8.1.3-203739.tar.gz
[Root @ localhost VMware Tools] # cp VMwareTools-8.1.3-203739.tar.gz/tmp
[Root @ localhost VMware Tools] # cd/tmp
[Root @ localhost TMP] # ls
Gconfd-root scim-helper-Manager-socket-Root
Keyring-lbbfvv scim-panel-socket: 0-Root
Mapping-root scim-socket-frontend-Root
Orbit-root ssh-FmnVlj2751
Scim-bridge-0.3.0.lockfile-0 @ localhost: 0.0 virtual-root.ZxmHUV
Scim-bridge-0.3.0.socket-0 @ localhost: 0.0 VMwareTools-8.1.3-203739.tar.gz
[Root @ localhost TMP] # tar-zxf VMwareTools-8.1.3-203739.tar.gz
[Root @ localhost TMP] # ls
Gconfd-root scim-panel-socket: 0-Root
Keyring-lbbfvv scim-socket-frontend-Root
Mapping-root ssh-FmnVlj2751
Orbit-root virtual-root.ZxmHUV
Scim-bridge-0.3.0.lockfile-0 @ localhost: 0.0 VMwareTools-8.1.3-203739.tar.gz
Scim-bridge-0.3.0.socket-0 @ localhost: 0.0 vmware-tools-distrib
Scim-helper-Manager-socket-Root
[Root @ localhost TMP] # cd vmware-tools-distrib/
[Root @ localhost vmware-tools-distrib] # ls
Bin Doc etc files install installer lib vmware-install.pl
[Root @ localhost vmware-tools-distrib] #./vmware-install.pl
Creating a New VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/Usr/bin] Yes

The path "yes" is a relative path. Please enter an absolute path.

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 "yes" is a relative path. Please enter an absolute path.

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]
The installation of VMware Tools 8.1.3 build-203739 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]

Stopping VMware Tools Services in the virtual machine:
Guest Operating System daemon: [OK]
Virtual printing daemon: [OK]
Unmounting HGFS shares: [OK]
Guest filesystem DRIVER: [OK]

Found a compatible pre-built module for vmmemctl. installing it...

Found a compatible pre-built module for vmhgfs. installing it...

Found a compatible pre-built module for vmxnet. installing it...

Found a compatible pre-built module for vmblock. installing it...

[Experimental] The VMware filesystem sync Driver (vmsync) is a new feature that
Creates backups of virtual machines. Please refer to the VMware Knowledge Base
For more details on this capability. Do you wish to enable this feature?
[No]

Found a compatible pre-built module for VMCI. installing it...

Found a compatible pre-built module for vsock. installing it...

Found a compatible pre-built module for vmxnet3. installing it...

Found a compatible pre-built module for pvscsi. installing it...

Detected x.org version 7.1.

Host resolution detected as "1440x900 ".

Please choose one of the following Display sizes that X will start:

[1] "320x200"
[2] "320x240"
[3] "400x300"
[4] "512x384"
[5] "640x400"
[6] "640x480"
[7] "720x480"
[8] "800x480"
[9] "854x480"
[10] "720x576"
[11] "800x600"
[12] "1024x768"
[13] "1280x720"
[14] "1280x768"
[15] "1152x864"
[16] "1280x800"
[17] <"1366X768"
Please enter a number between 1 and 17:

[17] 12

X Window System Version 7.1.1
Release date: 12 May 2006
X protocol version 11, Revision 0, release 7.1.1
Build Operating System: Linux 2.6.18-128.1.16.el5 i686 Red Hat, Inc.
Current operating system: Linux localhost. localdomain 2.6.18-164. EL5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686
Build Date: 22 July 2009
Build ID: xorg-x11-server 1.1.1-48.67.el5
Before reporting problems, checking http://wiki.x.org
To make sure that you have the latest version.
Module loader present
Markers: (--) 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. 16172", time: Thu Apr 1 02:40:28 2010
(++) Using config file: "/tmp/vmware-config0/xf86config. 16172"
The xkeyboard keymap Compiler (xkbcomp) reports:
> Warning: Multiple symbols for level 1/group 1 on key <i5f>
> Using xf86sleep, ignoring xf86standby
> Warning: symbol MAP for key <i5f> redefined
> Using last definition for conflicting Fields
Errors from xkbcomp are not fatal to the X server

X is running fine with the new config file.

Freefontpath: FPE "UNIX/: 7100" refcount is 2, shocould be 1; fixing.
Creating a New initrd boot image for the kernel.
Starting VMware Tools Services in the virtual machine:
Switching to guest configuration: [OK]
Paravirtual SCSI module: [OK]
Guest filesystem DRIVER: [OK]
Mounting HGFS shares: [failed]
Guest Memory Manager: [OK]
Guest vmxnet fast network device: [OK]
VM Communication Interface: [OK]
VM communication interface socket family: [OK]
Blocking File System: [OK]
File System sync DRIVER: [OK]
Guest Operating System daemon: [OK]
Virtual printing daemon: [OK]

The configuration of VMware Tools 8.1.3 build-203739 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 enable advanced X features (e.g., guest resolution fit, drag and drop, and
File and text copy/paste), you will need to do one (or more) of the following:
1. manually start/usr/bin/vmware-user
2. log out and log back into your desktop session; and,
3. Restart your X 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

Enjoy,

-- The VMware team

Found VMware Tools CDROM mounted at/Media/VMware Tools. ejecting Device
/Dev/HDC...
[Root @ localhost vmware-tools-distrib] #

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.