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 | |
---|---|
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 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.4.2.0/hdp.repo
7.x line of RHEL/CentOS/Oracle Linux
wget -nv http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.4.2.0/hdp.repo
SLES SP3/SP4
wget -nv http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/updates/2.4.2.0/hdp.repo
Ubuntu 12
apt-get update wget http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.4.2.0/hdp.list -O /etc/apt/sources.list.d/hdp.list
Ubuntu 14
apt-get update wget http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.4.2.0/hdp.list -O /etc/apt/sources.list.d/hdp.list
Debian 6 (Deprecated)
HDP support for Debian 6 is deprecated with HDP 2.4.2. Future versions of HDP will no longer be supported on Debian 6.
apt-get update wget http://public-repo-1.hortonworks.com/HDP/debian6/2.x/updates/2.4.2.0/hdp.list -O /etc/apt/sources.list.d/hdp.list
Debian 7
apt-get update wget http://public-repo-1.hortonworks.com/HDP/debian7/2.x/updates/2.4.2.0/hdp.list -O /etc/apt/sources.list.d/hdp.list