3 Replies Latest reply on Oct 20, 2015 3:00 PM by suvrobhattacharya123

    How can I build RPM installer step by step?

    chinadaniu Lurker

      How can I build RPM installer step by step?

        • 1. Re: How can I build RPM installer step by step?
          Ravindar Saggam Enthusiast

          Can you please elaborate this question... with full details

          • 2. Re: How can I build RPM installer step by step?
            suvrobhattacharya123 Enthusiast

            Would you want to install VM Tools on Linux Guest using RPM Installer ?

            • 3. Re: How can I build RPM installer step by step?
              suvrobhattacharya123 Enthusiast

              Get some idea from here -


              Install VMware Tools on a Linux Guest with the RPM Installer

              Install VMware Tools to the latest version to enhance the performance of the virtual machine’s guest operating system and improve virtual machine management.

              Before you install or upgrade VMware Tools on a virtual machine, determine the status of VMware Tools. To do this, select the virtual machine and click the Summary tab. The VMware Tools label indicates whether VMware Tools is installed and current, installed and not current, or not installed.

              Note

               

              RPM packages are not available with the ESXi installer. Only the tar package is available for ESXi hosts.

               

              The following items are prerequisites for completing this procedure:

               

              A supported guest operating system must be installed on the virtual machine.

              You must have an ESX/ESXi license or be using evaluation mode to power on the virtual machine.

              1

              From the vSphere Client, right-click the virtual machine, select Power, and select Power On.

              2

              Click the Console tab to make sure that the guest operating system starts successfully, and log in if necessary.

              3

              Right-click the virtual machine, select Guest, and select Install/Upgrade VMware Tools.

              4

              Select Interactive Tools Installation and click OK.

              This step initiates the installation process by mounting the VMware Tools bundle on the guest operating system.

              5

              In the virtual machine console, log in as root (su -) and, if necessary, create the /mnt/cdrom directory:

              mkdir /mnt/cdrom

              6

              Mount the VMware Tools virtual CD-ROM image.

              Some Linux distributions automatically mount CD-ROMs. If your distribution uses automounting, do not use the mount and umount commands in this procedure.

              Some Linux distributions use different device names or organize the /dev directory differently. Modify the following commands to reflect the conventions used by your distribution:

              mount /dev/cdrom /mnt/cdrom cd /tmp

              7

              Change to a working directory (for example, /tmp):

              cd /tmp

              8

              If you have a previous installation, delete the previous vmware-tools-distrib directory:

              rm -rf /tmp/vmware-tools-distrib

              The default location of this directory is: /tmp/vmware-tools-distrib.

              9

              List the contents of the /mnt/cdrom/ directory, and note the filename of the VMware Tools rpm installer:

              ls /mnt/cdrom

              10

              Uncompress the rpm installer:

              rpm -Uhv /mnt/cdrom/VMwareTools-4.0.0-<xxxxxx>.i386.rpm

              Where <xxxxxx> is the build/revision number of the ESX/ESXi release.

              If you attempt to install an rpm installation over a tar installation, or the reverse, the installer detects the previous installation and must convert the installer database format before continuing.

              11

              Unmount the CD-ROM image:

              umount /dev/cdrom

              12

              Double-click the RPM installer file and step through the installation.

              13

              Run the ./usr/bin/vmware-config-tools.pl script to configure tools.

              14

              Log off the root account:

              exit