Installing HDF Services on an Existing HDP Cluster
Also available as:

Setting Up a Local Repository with No Internet Access


Complete the Getting Started Setting up a Local Repository procedure.


  1. Obtain the tarball for the repository you would like to create.

  2. Copy the repository tarballs to the web server directory and untar the archive.

    1. Browse to the web server directory you created.

      For RHEL/CentOS/Oracle Linux:
      cd /var/www/html/
      For SLES:
      cd /srv/www/htdocs/rpms
      For Debian/Ubuntu:
      cd /var/www/html/
    2. Untar the repository tarballs to the following locations: where <web.server>, <>, <OS>, <version>, and <latest.version> represent the name, home directory, operating system type, version, and most recent release version, respectively.

      Untar Locations for a Local Repository - No Internet Access

      Ambari Repository

      Untar under <>

      HDF Stack Repositories

      Create a directory and untar it under <web.server.direcotry>/hdf

      HDP Stack Repositories

      Create directory and untar under <>/hdp

  3. Confirm you can browse to the newly created local repositories.

    URLs for a Local Repository - No Internet Access

    Ambari Base URL


    HDF Base URL


    HDP Base URL





    • <web.server> – The FQDN of the web server host

    • <version> – The Hortonworks stack version number

    • <OS> – centos6, centos7, sles11, sles12, ubuntu14, ubuntu16, or debian7


    Be sure to record these Base URLs. You will need them when installing Ambari and the cluster.

  4. Optional: If you have multiple repositories configured in your environment, deploy the following plug-in on all the nodes in your cluster.

    1. Install the plug-in.

      For RHEL and CentOS 7:
      yum install yum-plugin-priorities
      For RHEL and CentOS 6:
      yum install yum-plugin-priorities
    2. Edit the /etc/yum/pluginconf.d/priorities.conf file to add the following: