Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

VSphere install vmtools

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Download vmtools

Open the official site: https://my.vmware.com/group/vmware/downloads

Enter vmtools in the search bar

Find a suitable version to download

Decompression

two。 Upload to ESXi or shared storage

Select ESXI host-configure storage, where local storage datastore1 is selected

Right-click on datastore1 and select "Browse data Store"

Select the tools folder to upload

After the upload is successful, you can see an extra vmtools folder. If you open it, you can see the iso images with various vmtools in it.

3. Install vmtools

Install vmtools under windows

In the list of virtual machines, locate the windows 2003 for which you need to install vmtools

Right-click "Open console" to log in to the system

Since the windows 2003 CD was used in the previous installation, you need to eject the CD image first, and then hang the windows image in vmtools.

Then edit the virtual machine settings and replace the CD image with vmtools's ISO file

Then go back to the console.

Windows will begin to install vmtools automatically and go straight to the next step to complete the installation.

Note: since this is the first time to install vmtools, the system will require a reboot to apply the update after the installation is complete. (no need to restart when upgrading vmtools later)

When the restart is complete, the installation is complete.

Vmtools installation under Linux

Similarly, uninstall the previous system installation CD and mount the vmtools. Note that this is the vmtools under the mount linux.

Note: if you previously mounted the system disk, you must enter the system and uninstall the system image ISO before you can replace it with the vmtools image.

Go back to the console, open the command line, and use the mount command to mount the vmtools image you just replaced

Mount / dev/cdrom / media

It will be prompted that the mounted image is read-only: mount:block device / dev/cdrom is write-protected,mounting read-only

Enter / media and you can see a VMwareTools-10.0.8-3746311.tar.gz

Since the files in the CD image are read-only, we copy them out and extract them for installation.

Cp VMwareTools-10.0.8-3746311.tar.gz / root

Then change to the / root directory and extract the installation

Tar-xvf VMwareTools-10.0.8-3746311.tar.gz

You can see that there is an extra vmware-tools-distrib folder under / root.

If you look inside, you can find a vmware-install.pl file.

Execution

. / vmware-install.pl

Start installation

Installing VMware Tools.

In which directory do you want to install the binary files?

[/ usr/bin] / / Select the installation directory for binary files. Enter defaults.

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

[/ etc/rc.d] / / Select the directory where the system initialization scripts are stored. Enter defaults.

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]

In which directory do you want to install the common agent library files?

[/ usr/lib]

In which directory do you want to install the common agent transient files?

[/ var/lib]

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 10.0.8 build-3746311 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 by

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

This program to invoke the command for you now? [yes]

Initializing...

Making sure services for VMware Tools are stopped.

Stopping VMware Tools services in the virtual machine:

Guest operating system daemon: [OK]

Common Agent: [OK]

VGAuthService: [OK]

VMware User Agent (vmware-user): [OK]

Unmounting HGFS shares: [OK]

Guest filesystem driver: [OK]

Guest memory manager: [OK]

VM communication interface socket family: [OK]

VM communication interface: [OK]

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

Software that is integrated with vSphere to create backups of the virtual

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

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? [no]

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. Do you wish to enable this feature?

[no]

Would you like to enable VMware automatic kernel modules?

[no]

Do you want to enable Guest Authentication (vgauth)? Enabling vgauth is needed

If you want to enable Common Agent (caf). [yes]

Do you want to enable Common Agent (caf)? [yes]

Detected X version 7.1

Do you want to change the starting screen display size? (yes/no) [no]

X is running fine with the new config file.

Creating a new initrd boot p_w_picpath for the kernel.

NOTE: both / etc/vmware-tools/GuestProxyData/server/key.pem and

/ etc/vmware-tools/GuestProxyData/server/cert.pem already exist.

They are not generated again. To regenerate them by force

Use the "vmware-guestproxycerttool-g-f" command.

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]

VMware User Agent: [OK]

Guest operating system daemon: [OK]

VGAuthService: [OK]

Common Agent: [OK]

The configuration of VMware Tools 10.0.8 build-3746311 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 "/ 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 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.

Enjoy

-- the VMware team

All defaults are selected. At this point, the vmtools under linux is installed successfully. Restart the system and finish the installation.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report