Install VMwareTools and share local and virtual machine files

Source: Internet
Author: User

Installing VMWare Tools has several advantages:

When transferring files between. Host OS and Guest OS, you only need to drag the file.
When switching between Host OS and Guest OS, you do not need to press Ctrl + Alt.

The purpose of this installation of VMWare Tools is the third point: to switch between the local machine and centos, you can switch directly without pressing ctrl + Alt. This makes it much more convenient,

Step 1:
Choose "VM"> "Install VMWare Tools" in VMWare, And the VMWare Tools icon will appear on the desktop.

Step 2:
.
You should be very excited when you see rpm, because CentOS and Fedora/RHEL have the same source, so it should be available, but after my test results, it can be installed, and there is no error during the installation process, however, unfortunately, security does not have the functions that VMWare Tools should have. Therefore, you can only use tarball to install security.

Step 3:
Copy vmwarw.ls-6.0.2.592.16.tar.gz to home directory and decompress the package.
[Root @ localhost ~] # Tar zxvf VMwareTools-6.0.2-59824.tar.gz

Step 4:
Go to the decompressed vmware-tools-distrib directory
[Root @ localhost ~] # Cd vmware-tools-distrib/

Step 5:
Run vmware-install.pl Security VMWare Tools
[Root @ localhost vmware-tools-distrib] #./vmware-install.pl

After that, many problems will occur. You can accept the default value and press enter. The only question is the screen resolution. If you want to use other resolutions, set them as follows:
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:

[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, 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. 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: [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 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

Restart CentOS, and you will find that the new screen resolution appears, and you do not need to switch the mouse, and you can drag the file.

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.