Data Analytics Studio Installation
Also available as:
PDF

Set up a local repository

Setting up a local repository involves moving the tarball to the selected mirror server and extracting the tarball to create the repository.

Ensure that you have downloaded the required tarballs from the Hortonworks customer portal by following the instructions provided as part of the product procurement process. To install the DAS DP app, you must download the CentOS tarball.

Hortonworks does not host any public repository for DAS. Therefore, you need to setup a local repository to install the binaries. As part of the DataPlane setup, you must have set up this local repository already and the same can be used for the DAS binaries. For more information, see Prepare the web server for the local repository.

  1. Copy the repository tarballs to the web server directory and expand (uncompress) the archive file:
    1. Change to the web server directory you previously created.
      cd /var/www/html/
      All content in this directory is served by the web server.
    2. Move the tarballs to the current directory and expand each of the repository tarballs that you downloaded.
      Replace <file-name> with the actual name of the RPM tarball that you are expanding.
      tar zxvf <file-name>.tar.gz
      When you expand the tarball, subdirectories are created in /var/www/html/, such as DAS/centos7. These directories contain the repositories.

      Expanding the DAS app tarball can take several seconds.

  2. Confirm that you can browse to the newly created local repositories by using the base URLs:
    http://<webserver-host-name>/<repo-name>/<OS>/<service-version-X>
    • <webserver-host-name>

      This is the FQDN of the web server host.

    • <repo-name>

      This is composed of the abbreviated name of the repository, such as DAS.

    • <OS>

      This is the operating system version.

    • <service-version-X>

      This is the version number of the downloaded repository, appended with a unique version number.

    Base URL Examples
    DAS Base URL:
    http://webserver.com:port/DAS/centos7/1.0.0.0-X
    Note the base URLs because you need them to install the DAS app on the host and to install the associated agent on the clusters.
  3. If you have configured multiple repositories in your environment, then install the following plugin on all the nodes in your cluster:
    yum install yum-plugin-priorities
  4. Edit the /etc/yum/pluginconf.d/priorities.conf file to add the following values:
    [main]
    enabled=1
    gpgcheck=0

The repositories for DAS are now prepared for installation.

Create the configuration file for the DAS repository.