RHEL: Install vFabric Web Server from an RPM

VMware recommends that you install vFabric Web Server on a Red Hat Linux Enterprise (RHEL) computer by first installing the VMware RPM repository and then using yum to perform the actual installation. See Install vFabric Web Server from the VMware RPM Repository.

You can also download the RPM from the VMware Download page and install it on your RHEL computer using the rpm command, as described in Install vFabric Web Server from a Downloaded RPM. This installation option is necessary if you are installing a version of Web Server that is not yet certified for vFabric Suite, which means that it has not yet been added to the VMware RPM repository.

Install vFabric Web Server from the VMware RPM Repository

VMware recommends that you install Web Server on RHEL computers using the VMware RPM repository.

Prerequisites

  • Verify that your system meets the supported configurations and installation requirements. See Supported Configurations and System Requirements.

  • Install the vFabric repository RPM, which makes it easier for you to browse the vFabric RPMs, including the vFabric Web Server RPM. The vFabric repository contains all RPMs that are certified with this release of vFabric Suite. You install the vFabric repository RPM on each RHEL computer on which you want to install one or more vFabric components, such as vFabric Web Server.

    1. On the RHEL computer, start a terminal as the root user.

    2. Install the vFabric repository RPM using the following wget command, passing it the appropriate URL. The URL differs depending on the version of RHEL you are using.

      Important: You must run the entire wget command on a single line. Be sure you include the | sh at the end, or the RPM installation will not work.

      For RHEL 5:

      prompt# wget -q -O - http://repo.vmware.com/pub/rhel5/vfabric/5.2/vfabric-5.2-suite-installer | sh

      For RHEL 6:

      prompt# wget -q -O - http://repo.vmware.com/pub/rhel6/vfabric/5.2/vfabric-5.2-suite-installer | sh

      The command performs the following tasks:

      • Imports the vFabric GNU Privacy Guard (GPG) key.

      • Installs the vFabric 5.2 repository RPM.

      • Launches the VMware End User License Agreement (EULA) acceptance and repository configuration script.

      • Outputs the EULA for you to read; you must answer yes to accept the terms and continue.

    3. Use the yum search vfabric or yum search vmware command to view the list of vFabric components that you can install from the VMware repository. For example (output truncated for clarity):

      prompt# yum search vfabric
      ...
      ======================================== Matched: vfabric ========================================
      vfabric-rabbitmq-java-client-bin.noarch : The RabbitMQ Java Client Library
      vfabric-rabbitmq-server.x86_64 : The RabbitMQ server
      vfabric-tc-server-standard.noarch : VMware vFabric tc Server Standard
      vfabric-web-server.x86_64 : VMware vFabric Web Server
      ...

      The vFabric Web Server RPM is called vfabric-web-server.

Procedure

  1. From the RHEL computer on which you will install vFabric Web Server, log in as the root user and start a terminal.

  2. Execute the following yum command:

    prompt# yum install vfabric-web-server

    The yum command begins the install process, resolves dependencies, and displays the packages it will install.

    The yum command automatically chooses the appropriate RPM package based on your architecture (32- or 64-bit).

    To install the developer's package:

    prompt# yum install vfabric-web-server-devel
  3. Enter y at the prompt to begin the actual installation.

    If the installation is successful, you see a Complete! message at the end.

What the yum install command does

The yum install command:

  • Installs vFabric Web Server into the /opt/vmware/vfabric-web-server directory.

  • Sets the owner of installation directory, along with all child directories and files, to root:root.

What to do next

Install vFabric Web Server From a Downloaded RPM

You can install vFabric Web Server on RHEL by downloading the RPM from the VMware download center and executing the rpm command. This procedure is necessary if you want to install a version of Web Server that has not yet been certified for vFabric Suite.

Prerequisites

Procedure

  1. Log in to the RHEL computer on which you will install vFabric Web Server as the root user.

  2. Browse to the VMware Download page and download the Web Server RPM file to a directory on your computer. The RPM file is called vfabric-web-server-version.architecture.rpm.

  3. Start a terminal and change to the directory in which you downloaded the RPM.

  4. Execute the following rpm command to install Web Server:

    prompt# rpm -ivhf vfabric-web-server-version.architecture.rpm
  5. In the previous section, see What the yum install command does for post-installation information, such as the installation directory. (The yum install command corresponds to the rpm command in this procedure.)

See What to do next for the suggested next steps.