(Original release) how to install VMware Tools on centos? (OS) (Linux) (centos) (VMware)

Source: Internet
Author: User

Abstract
Security VMware Tools has many features, but in centos, security is more difficult than security. This article is my security experience.

Introduction
Use environment:
VMware 6.0.2 + centos 5.1

There are several points for installing VMware Tools:
1. Other resolutions are supported and no longer limited to 640x480 and 800x600.
2. When the host OS is connected to the guest OS, you only need to drag the mouse.
3. When switching between host OS and Guest OS, you do not need to press CTRL + ALT.

In the past, if Guest OS is between fedora and Windows XP, choose VM> install VMware Tools in VMware ..., VMware Tools appear on the desktop to enable security. However, if the guest OS is centos, no hosts are displayed on the desktop, follow these steps to install VMware Tools for centos.

Step 1:
Set VMware's CD host to c: \ Program Files \ VMware Workstation \ Linux. ISO, and VMware Tools in this ISO region.

Step 2:
.

When you see rpm, you should be very careful. Because centos and Fedora/RHEL have the same source, you should be able to use it. However, after my analysis, we can install it, the security process has not been completed, but it is a pity that the security system does not have the functions that VMware Tools should have. Therefore, you can only use the tarball to install it.

Step 3:
Run the vmwaretools-6.0.2.592.16.tar.gz command to connect to the home directory.

[ Root @ localhost ~ ] # Tar zxvf vmwaretools- 6.0.2 - 59824 .Tar.gz

Step 4:
Vmware-tools-distrib

[ Root @ localhost ~ ] # Cd vmware-tools-distrib/

Step 5:
Security line vmware-install.pl VMware Tools

[ Root @ localhost vmware-tools-distrib ] #./Vmware-install.pl

After that, many problems may occur. You just need to press enter for the setting value. The only problem is the screen resolution. If you want to use another resolution, set it as follows:

Please choose one of the following Display sizes that X will start ( 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 1 And 15 :

[2] 3

The following message is displayed, indicating that the security is successful.

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.9 - 67 . Elsmp i686 Red Hat , Inc.
Current operating system: Linux localhost. localdomain 2.6.18 - 53.1.19 . EL5 # 1 SMP Wed May 7   08 : 20 : 19 EDT 2008 I686
Build Date: 19 January 2008
Build ID: xorg-x11-server 1.1.1 - 48.26 . El5_1 . 5  
Before reporting problems , Check 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. 2977 " , Time: Fri Jun 6   15 : 14 : 32   2008
(++) Using config file: " /Tmp/vmware-config0/xf86config. 2977 "

X is running fine with the new config file.

Freefontpath: FPE " UNIX/: 7100 " Refcount is 2 , Shocould be 1 ; Fixing.
Starting VMware Tools Services in the virtual machine:
Switching to guest Configuration: [ Confirm ]
Guest filesystem DRIVER: [ Confirm ]
Mounting HGFS shares: [ Loss of memory ]
Guest Memory Manager: [ Confirm ]
Guest vmxnet fast network device: [ Confirm ]
Blocking File System: [ Confirm ]
DMA setup: [ Confirm ]
Guest Operating System daemon: [ Confirm ]

The configuration of VMware Tools6.0.2Build-59824For 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

Enjoy,

-- The VMware team

When you restart centos, you will find a new screen resolution, and the mouse does not need to be switched, and you can drag the screen to adjust the resolution.

Conclusion
In the past, VMware Tools was able to drag and drop zookeeper in VMware 5, but it was very slow, but it was very fast in VMware 6. It seems that there have been a lot of progress.

See also
(Zookeeper) how to install VMware Tools on Ubuntu? (OS) (Linux) (UBUNTU) (VMware)

Reference
Norman's centos VM Security VMware Tools

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.