Command Line Installation
Also available as:
PDF
loading table of contents...

Configuring Remote Repositories

The standard HDP install fetches the software from a remote yum repository over the Internet. To use this option, you must set up access to the remote repository and have an available Internet connection for each of your hosts. To download the HDP maven artifacts and build your own repository, see Download the HDP Maven Artifacts

[Important]Important

See the HDP Release Notes for the HDP 2.6.2.0 repo information.

[Note]Note

If your cluster does not have access to the Internet, or if you are creating a large cluster and you want to conserve bandwidth, you can instead provide a local copy of the HDP repository that your hosts can access. For more information, see Deploying HDP in Production Data Centers with Firewalls in the HDP Reference Guide.

  • 6.x line of RHEL/CentOS/Oracle Linux

    wget -nv http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.6.2.0/hdp.repo -O /etc/yum.repos.d/hdp.repo
             
  • 7.x line of RHEL/CentOS/Oracle Linux

    wget -nv http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.2.0/hdp.repo
  • SLES

    wget -nv http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/updates/2.6.2.0/hdp.repo
  • Ubuntu

    apt-get update
    wget http://public-repo-1.hortonworks.com/HDP/ubuntu<version>/2.x/updates/2.6.2.0/hdp.list -O /etc/apt/sources.list.d/hdp.list
  • Debian

    apt-get update
    wget http://public-repo-1.hortonworks.com/HDP/debian<version>/2.x/updates/2.6.2.0/hdp.list -O /etc/apt/sources.list.d/hdp.list