Linux installation VMware Tools methods (1)

Source: Internet
Author: User
Tags configuration settings virtual environment

Virtual machine installation VMware Tools for Linux



Introduced:


VMware Tools is an enhanced tool that comes with VMware virtual machines, equivalent to the enhancements in VirtualBox (Sun VirtualBox Guest additions), which VMware offers to enhance virtual graphics and hard disk performance, And a driver that synchronizes the virtual machine with the host clock.

Only VMware Tools is installed in the VMware virtual machine to enable file sharing between the host and virtual machines, while supporting free drag and drop, the mouse can move freely before the virtual machine and host (no more pressing ctrl+alt), and the virtual machine screen can be full screen.

The VMware Tools column provides download and installation methods for VMware tools (including the installation methods of VMware tools in Linux systems, such as the Ubuntu System), as well as workarounds for VMware Tools installation errors.


Function Analysis:


1. Update the graphics driver in the virtual machine so that the xwindows in the virtual machine can run in SVGA mode.

2. Provide a vmware-toolbox, this xwindows tool allows you to modify some of the parameters and functions of VMware.

3. Synchronize the time of the virtual machine and host.

4. Support the real start of the same partition and start from the virtual machine, automatically modify the corresponding settings file.

VMware Workstation installs the unmodified operating system directly from the floppy disk and/or CD-ROM. When constructing a virtual

The installation process is the first and only necessary step.

However, VMware strongly recommends that you install the VMware Tools Suite immediately after you complete the operating system installation in each virtual machine. It is important to install VMware Tools in the guest operating system. If you do not install VMware Tools, the graphics environment in the virtual machine is limited to VGA mode graphics (640x480,16 color).

Installed with the VMware TOOLS,SVGA driver, VMware Workstation supports up to 32-bit display and

High display resolution, which significantly improves overall graphics performance.

Other tools in the toolkit make it easier for you to use your virtual machine by supporting the following enhancements. Note that only the positive

These enhancements are available when you run VMware Tools.

Time synchronization between host and client

Note: You can synchronize time between the customer and the host operating system only if you set the clock in the guest operating system to a time earlier than the time set in the host.

Automatically capture and release the mouse cursor

Copy and paste operations between the host and client or from one virtual machine to another

Improved network performance


Part:


The VMware Tools Toolkit consists of two components:

A graphics driver optimized for the VMware Workstation virtual graphics card. For Linux guest operating systems, it contains our own version of XFree86 X server. The graphics driver is installed by the wizard. After the installation, it needs to be restarted before it can be used.

A small background application that allows you to change configuration settings in a virtual machine. VMware Workstation controls cursor settings and the connection status of removable devices, such as floppy disks and CD-ROM drives.

The cursor settings allow you to move the mouse cursor smoothly between the virtual machine and the host graphical user interface. The cursor settings also allow you to copy and paste the text cache between the virtual machine and the host, and from one virtual machine to another virtual machine. Note that these enhancements are available only when the application is running.


Linux VMware Tools Installation steps:


(1) Select the ISO image in the CD-ROM virtual drive to locate the VMware TOOLS installation files, such as C:\Program files (x86) \VMware\VMware Workstation\linux.iso

(2) Enter Linux as root

(3) Enter Linux to create a new terminal, enter/sbin/telinit 3 into plain text mode, and then log in in plain text mode again with the root identity

(4) Exit to Windows, in the Virtual Machine menu bar, click Virtual Machine, install VMware Tools submenu, the dialog will pop up and click "Confirm" to install

(5) Mount the optical drive Mount/dev/cdrom/mnt/cdrom (note the space entered in the command) at this point, your Linux.iso file is equivalent to the files in the Windows CD

(6) Using Cd/mnt/cdrom to enter the optical drive, enter the LS command you will find a *.tar.gz format file (such as vmware-linux-tools.tar.gz), and then enter the command CP vmware-linux-tools/tmp/ Copy it to the/tmp/directory

(7) Input command cd/tmp into/tmp directory

(8) Enter command TAR-ZXF vmware-linux-tools.tar.gz to unzip the vmware-linux-tools.tar.gz just copied, The default decompression to the Vmware-linux-tools directory (with the same name as the filename) at this time there will be a more named Vmware-linux-tools folder, which is the same as in Windows decompression results.

(9) Input command cdvmware-linux-tools into the extracted directory

(10) Enter the command./*.pl Run install VMware Tools (*.pl file mentioned earlier)

(11) During the run of the installation process, it will be a step-by-step problem to ask you to respond, in this process, you just see the problem after the display [yes], [no], [yes/no] input Yes, and then enter, the other problem regardless of [] inside what is directly enter the good, do not enter.

(12) Finally it will output 1--15 resolution let you enter a digital selection, according to your display to choose the resolution bar

(13) OK, the installation is complete, enter the command startx back to the Linux image interface bar.


The installation steps are as follows:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/3B/5C/wKiom1O9aczSv53BAALB2g5_u5I377.jpg "style=" float: none; "title=" 1.png "alt=" Wkiom1o9aczsv53baalb2g5_u5i377.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/3B/5C/wKiom1O9aczj5rgKAAIb9MmR_sQ318.jpg "style=" float: none; "title=" 2.png "alt=" Wkiom1o9aczj5rgkaaib9mmr_sq318.jpg "/>


[[email protected] VMware tools]# ls

Manifest.txt vmwaretools-9.6.0-1294478.tar.gz vmware-tools-upgrader-64

Run_upgrader.sh vmware-tools-upgrader-32

[Email protected] VMware tools]# CP vmwaretools-9.6.0-1294478.tar.gz/root/

[Email protected] VMware tools]# cd/root/

[Email protected] ~]# tar xzf vmwaretools-9.6.0-1294478.tar.gz

[[email protected] ~]# ls

Anaconda-ks.cfg Install.log vmwaretools-9.6.0-1294478.tar.gz

Desktop Install.log.syslog Vmware-tools-distrib

[Email protected] ~]# CD vmware-tools-distrib/

[[email protected] vmware-tools-distrib]# ls

Bin Doc etc FILES INSTALL installer Lib vmware-install.pl


Note: Executing the script command below will give you the choice of the situation, we do not let them directly press "enter" until the last return to the command line position. We then "Log off" or "Restart the system". Otherwise, do not do this operation, is not effective.

[Email protected] vmware-tools-distrib]# ./vmware-install.pl

Creating a new VMware Tools installer database using the TAR4 format.


Installing VMware Tools.


In which directory does want to install the binary files?

[/usr/bin]


What's the directory that contains the init directories (rc0.d/to rc6.d/)?

[/ETC/RC.D]


What's the directory that contains the init scripts?

[/ETC/RC.D/INIT.D]

In which directory does want to install the daemon files?

[/usr/sbin]


In which directory does 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. What are you want?

[Yes]

In which directory does 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

Want? [Yes]

The installation of VMware Tools 9.6.0 build-1294478 for Linux completed

Successfully. You can decide to remove the software from your system on any

Time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".


Before running VMware Tools for the first time, your need to configure it by

Invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want

This program to invoke the command for your now? [Yes]

Initializing ...

Making sure services for VMware Tools is stopped.


Stopping Thinprint services in the virtual machine:

Stopping Virtual Printing Daemon:done

Stopping VMware Tools Services in the virtual machine:

Guest Operating System daemon: [OK]

unmounting HGFS shares: [OK]

Guest filesystem driver: [OK]



The VMware FileSystem Sync Driver (vmsync) allows external third-party backup

Software that's integrated with VSphere to create backups of the virtual

Machine. Does 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 ...



Found a compatible pre-built module for VMMEMCTL. Installing it ...



The VMware host-guest Filesystem allows for shared folders between the Host OS

and the guest OS in a Fusion or Workstation virtual environment. Do you wish

To enable this feature? [Yes]

Found a compatible pre-built module for Vmhgfs. Installing it ...



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



The vmblock enables dragging or copying files between host and guest in a

Fusion or Workstation virtual environment. Does wish to enable this feature?

[Yes]

Found a compatible pre-built module for Vmblock. Installing it ...



VMware automatic kernel modules enables automatic building and installation of

VMware kernel modules at boot that is not already present. This feature can


Enabled/disabled by re-running vmware-config-tools.pl.


Would to enable VMware automatic kernel modules?

[No]

Thinprint provides driver-free printing. Does wish to enable this feature?

[Yes]



Detected X version 7.1



Resolution detected as "600 x".



Choose one of the following display sizes that X'll start with:


[1] 640x480

[2]< 800x600

[3] 1024x768

[4] 1280x800

Please enter a number between 1 and 4:


[2]



X is running fine with the new config file.


Creating a new INITRD boot image for the kernel.

Starting Virtual Printing Daemon:done

Checking ACPI Hot plug [OK]

Starting VMware Tools services in the virtual machine:

Switching to guest configuration: [OK]

Paravirtual SCSI module: [OK]

Guest memory Manager: [OK]

VM Communication interface: [OK]

VM Communication Interface Socket family: [OK]

Guest filesystem driver: [OK]

Mounting HGFS shares: [Failure]

Blocking file system: [OK]

Guest Operating System daemon: [OK]

The configuration of VMware Tools 9.6.0 build-1294478 for Linux

Running kernel completed successfully.


Must restart your X session before any mouse or graphics changes take

Effect.


You can now run VMware Tools by invoking '/usr/bin/vmware-toolbox-cmd ' from the

Command line.


To enable advanced X features (e.g., guest resolution fit, drag and drop, and

File and text copy/paste), you'll need to does one (or more) of the following:

1. Manually Start/usr/bin/vmware-user

2. Log out and log to into your desktop session; And,

3. Restart your X session.


Enjoy,


--the VMware Team


Found VMware tools CDROM mounted at/media/vmware tools. ejecting device

/dev/sr0 ...

Umount:/media/vmware Tools:device is busy

Umount:/media/vmware Tools:device is busy

Eject:unmount of '/media/vmware Tools ' failed

Eject failed:if Possible manually Eject the Tools installer from the guest

CDROM mounted at/media/vmware tools before canceling tools install on the

Host.

[[email protected] vmware-tools-distrib]# init 6 This command can be played, or not hit. If you don't, you'll be able to write off the phone.





This article is from the "Dragon" blog, make sure to keep this source http://1208073155.blog.51cto.com/9039381/1436524

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.