3. Configure the 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.

[Note]Note

If your cluster does not have access to the Internet, or 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 "Deployment Strategies for Data Centers with Firewalls" in the HDP Reference Guide.

  • RHEL/CentOS/Oracle Linux 6

    wget -nv http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.2.4.2/hdp.repo
     -O /etc/yum.repos.d/hdp.repo
             
  • RHEL/CentOS/Oracle 5 Linux (Deprecated)

    wget -nv http://public-repo-1.hortonworks.com/HDP/centos5/2.x/updates/2.2.4.2/hdp.repo -O /etc/yum.repos.d/hdp.repo
  • SLES SP3/SP4

    wget -nv http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/updates/2.2.4.2/hdp.repo -O /etc/zypp/repos.d/hdp.repo
  • SLES SP1

    wget -nv http://public-repo-1.hortonworks.com/HDP/sles11sp1/2.x/updates/2.2.4.2/hdp.repo -O /etc/zypp/repos.d/hdp.repo
  • Ubuntu 12

    apt-get update
    wget http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.2.4.2/hdp.list -O /etc/apt/sources.list.d/hdp.list
  • Debian 6

    apt-get update
    wget http://public-repo-1.hortonworks.com/HDP/debian6/2.x/updates/2.2.4.2/hdp.list -O /etc/apt/sources.list.d/hdp.list

loading table of contents...