How to install VMware Tools in CentOS (6)-CentOS

Source: Internet
Author: User

I have already entered the sixth article of CentOS for Linux learning. In this article, I will summarize the common development environment setup in CentOS, because I learned java, so here we will introduce the installation of VMware-Tools.

Install VMware-Tools

The main feature of VMware-Tools is to allow users to seamlessly switch between virtual machines and real systems. This feature is very convenient.Of course, VMware-Tools mainly implements file sharing between linux and windows.. In the previous article, I wrote that in a Linux system of a virtual machine, there are usually three methods to upload some files on windows to a Linux system, ① install VMware-Tools ② make the file into an ISO file and then mount it to the Linux system ③ share the folder (this requires the installation of VMware-Tools first, otherwise it cannot be implemented ). If the windows operating system is installed on the virtual machine, the installation is very simple. Simply double-click to install it.

 

SelectVM-> Install VMware Tools(Because the VM has started CentOS and VMware Tools has been installed, the picture may be different from the one you installed)

In Linux, after the Linux system is started, a prompt box will pop up below the vmvm, prompting you whether to install VMware-Tools on a virtual Linux system. In this case, you can select OK. If no prompt is displayed, follow the prompts and manually choose to install it.

Copy the file to the/home directory using the cp command, and then enter the command:

[Root @ xiaoluo/] # tar-zxvf/home/VMwareTools-8.4.6-385536.tar.gz
// Extract files in dense format by running the tar-zxvf command.

After decompression, we can find a folder vmware-tools-distrib under the/home directory. This is the folder that We decompress with the preceding command.

[Root @ xiaoluo/] # cd/home/vmware-tools-distrib // Go To The unzipped VMware-Tools Folder [root @ xiaoluo vmware-tools-distrib] # total ls-l usage 568drwxr-xr-x. 2 root 4096 March 26 2011 bindrwxr-xr-x. 2 root 4096 March 26 2011 docdrwxr-xr-x. 3 root 4096 March 26 2011 etc-r --. 1 root 557757 March 26 2011 FILESlrwxrwxrwx. 1 root 13 October 13 21:20 INSTALL->. /doc/INSTALLdrwxr-xr-x. 2 root 4096 July March 26 2011 installerdrwxr-xr-x. 17 root 4096 March 26 2011 liblrwxrwxrwx. 1 root March 31 21:20 vmware-install.pl->. // bin/vmware-uninstall-tools.pl// The file to be executed

Then we enter:

[Root @ xiaoluo vmware-tools-distrib] #. // vmware-install.pl // install vm-tools (In linux, the "./" command is used to install and execute software.)

In this way, we enter the vm-tools installation interface, and a lot of File Installation code will appear on the interface. We just need to press enter all the time.

The options below follow the default value. Press enter.: 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 goingto create it, including needed parent directories. is this what you want? [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 isgoing to create it, including needed parent directories. is this what you want? [Yes] The installation of VMware Tools 5.5.1 build-19175 for Linux completedsuccessfully. you can decide to remove this software from your system at anytime by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl ". before running VMware Tools for the first time, you need to configure it byinvoking the following command: '/usr/bin/vmware-config-tools.pl ". do you wantthis program to invo Ke the command for you now? [Yes] Stopping VMware Tools services in the virtual machine: Guest operating system daemon: [OK] Trying to find a suitable vmhgfs module for your running kernel. the module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel. pcnet32 30153 0 Unloading pcnet32 moduleTrying to find a suitable vmxnet module for your running kernel. the module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the ru Nning kernel. detected X.org version 6. 8. disable Console mouse service: [OK] Start console mouse service: [OK] Please choose one of the following display sizes (1-13): # display resolution, this example uses 1024 × 768 # When installing VMware Tools, the configuration file [1] "640 × 480" [2] <"800 × 600" [3] "1024 × 768" [4] "1152 × 864 of X server is automatically modified. "[5]" 1280x800 "[6]" 1152x900 "[7]" 1280x1024 "[8]" 1376x1032 "[9]" 1400x1050 ""[10]" 1680x1050 "[11]" 1600x1200 "[12]" 1920x1200 "[13]" 2364x1773 "Please ente R a number between 1 and 13: [2] 3X Window System Version 6.8.2Release Date: 9 February 2005X Protocol Version 11, Revision 0, Release 6.8.2Build Operating System: linux 2.6.9-34.EL i686 [ELF] Current Operating System: Linux rd01.domain 2.6.9-34.EL #1 Wed Mar 8 00:07:35 CST 2006 i686Build Date: 04 May 2006 Build Host: x8664-build.centos.orgBefore reporting problems, check [url] http://wiki.X.Org [/url] To make sure that you have the latest version. module Loader presentOS Kernel: Linux version 2.6.9-34.EL (buildcentos @ build-i386) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2) #1 Wed Mar 8 00:07:35 CST 2006 PMarkers: (-) 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. 3131 ", Time: Mon Jun 12 20:57:34 2006 (++) Using config file:"/tmp/vmware-config0/XF86Config. 3131 "(WW) VMWARE (0): Failed to set up write-combining range (0xf0000000, 0 × 1000000) 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] DMA setup: [OK] Guest operating system daemon: [OK] The configuration of VMware Tools 5.5.1 build-19175 for Linux for this runningkernel completed successfully. you must restart your X session before any mouse or graphics changes takeeffect. you can now run VMware Tools by invoking the following command: "/usr/bin/vmware-toolbox" during an XFree86 session. to use the vmxnet driver, restart networking using the following commands:/etc/init. d/network stoprmmod pcnet32rmmod vmxnetdepmod-amodprobe vmxnet/etc/init. d/network startEnjoy,-the VMware team

Finally, VMware-Tools is successfully installed. Restart the Linux system and we will find that VMware-Tools has been installed successfully, in this case, you can not only directly copy the required files or folders to the Linux System of the virtual machine on the windows interface, but also establish a seamless connection with the windows system through file sharing:

Now, the installation of VMware-Tools on Linux has come to an end !!!!!

 

 

 

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.