0% found this document useful (0 votes)
175 views2 pages

Manually Install or Upgrade VMware Tools in A Linux Virtual Machine PDF

To manually install or upgrade VMware Tools in a Linux virtual machine, you must: 1. Mount the VMware Tools virtual CD-ROM image containing the installer. 2. Run the tar command to uncompress the installer files. 3. Run the vmware-install.pl script and follow prompts to configure VMware Tools. 4. Reboot the guest operating system or follow additional instructions to complete the installation.

Uploaded by

Omar Figo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
175 views2 pages

Manually Install or Upgrade VMware Tools in A Linux Virtual Machine PDF

To manually install or upgrade VMware Tools in a Linux virtual machine, you must: 1. Mount the VMware Tools virtual CD-ROM image containing the installer. 2. Run the tar command to uncompress the installer files. 3. Run the vmware-install.pl script and follow prompts to configure VMware Tools. 4. Reboot the guest operating system or follow additional instructions to complete the installation.

Uploaded by

Omar Figo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

ManuallyInstallorUpgradeVMwareToolsinaLinuxVirtualMachine

ForLinuxvirtualmachines,youmanuallyinstallorupgradeVMwareToolsbyusingthecommandline.
Prerequisites

Poweronthevirtualmachine.

Verifythattheguestoperatingsystemisrunning.

BecausetheVMwareToolsinstalleriswritteninPerl,verifythatPerlisinstalledintheguestoperatingsystem.

Procedure
1

Onthehost,fromtheWorkstationPromenubar,selectVM>InstallVMwareTools.
IfanearlierversionofVMwareToolsisinstalled,themenuitemisUpdateVMwareTools.

Inthevirtualmachine,logintotheguestoperatingsystemasrootandopenaterminalwindow.

RunthemountcommandwithnoargumentstodeterminewhetheryourLinuxdistributionautomaticallymountedthe
VMwareToolsvirtualCDROMimage.
IftheCDROMdeviceismounted,theCDROMdeviceanditsmountpointarelistedassomethinglikethis:

/dev/cdrom on /mnt/cdrom type iso9660 (ro,nosuid,nodev)


4

IftheVMwareToolsvirtualCDROMimageisnotmounted,mounttheCDROMdrive.
a

Ifamountpointdirectorydoesnotalreadyexist,createit.

mkdir /mnt/cdrom
SomeLinuxdistributionsusedifferentmountpointnames.Forexample,onsomedistributionsthemountpoint
is/media/VMware Toolsratherthan/mnt/cdrom.Modifythecommandtoreflecttheconventionsthat
yourdistributionuses.
b

MounttheCDROMdrive.

mount /dev/cdrom /mnt/cdrom


SomeLinuxdistributionsusedifferentdevicenamesororganizethe/devdirectorydifferently.IfyourCD
ROMdriveisnot/dev/cdromorifthemountpointforaCDROMisnot/mnt/cdrom,modifythecommand
toreflecttheconventionsthatyourdistributionuses.
5

Changetoaworkingdirectory,forexample,/tmp.

cd /tmp
6

Deleteanypreviousvmware-tools-distribdirectorybeforeyouinstallVMwareTools.
Thelocationofthisdirectorydependsonwhereyouplaceditduringthepreviousinstallation.Oftenthisdirectoryis
placedin/tmp/vmware-tools-distrib.

ListthecontentsofthemountpointdirectoryandnotethefilenameoftheVMwareToolstarinstaller.

ls mount-point
8

Uncompresstheinstaller.

tar zxpf /mnt/cdrom/VMwareTools-x.x.x-yyyy.tar.gz


Thevaluex.x.xistheproductversionnumber,andyyyyisthebuildnumberoftheproductrelease.
IfyouattempttoinstallatarinstallationoveranRPMinstallation,orthereverse,theinstallerdetectstheprevious
installationandmustconverttheinstallerdatabaseformatbeforecontinuing.
9

Ifnecessary,unmounttheCDROMimage.

umount /dev/cdrom
IfyourLinuxdistributionautomaticallymountedtheCDROM,youdonotneedtounmounttheimage.
10

RuntheinstallerandconfigureVMwareTools.

cd vmware-tools-distrib
./vmware-install.pl
Usually,thevmware-config-tools.plconfigurationfilerunsaftertheinstallerfilefinishesrunning.
11

Followthepromptstoacceptthedefaultvalues,ifappropriateforyourconfiguration.

12

Followtheinstructionsattheendofthescript.
Dependingonthefeaturesyouuse,theseinstructionscanincluderestartingtheXsession,restartingnetworking,
logginginagain,andstartingtheVMwareUserprocess.Youcanalternativelyreboottheguestoperatingsystemto
accomplishallthesetasks.

Whattodonext
Ifanewvirtualhardwareversionisavailableforthevirtualmachine,upgradethevirtualhardware.

Relatedtasks
ManuallyInstallorUpgradeVMwareToolsinaWindowsVirtualMachine
ManuallyInstallorUpgradeVMwareToolsinaNetWareVirtualMachine
ManuallyInstallorUpgradeVMwareToolsinaSolarisVirtualMachine
ManuallyInstallorUpgradeVMwareToolsinaFreeBSDVirtualMachine

You might also like