Log into the machine which is to serve as the Ambari Server as
root. This is the main installation host.Download the HDP RPM Package or Repository File from the Hortonworks public repo.
Table 2.1. Download the repo
| Platform | RPM Package | Repository File |
|---|---|---|
| RHEL and CentOS 5 | rpm -Uvh //public-repo-1.hortonworks.com/AMBARI-1.x/repos/centos5/AMBARI-1.x-1.el5.noarch.rpm | wget http://public-repo-1.hortonworks.com/AMBARI-1.x/repos/centos5/ambari.repo cp ambari.repo /etc/yum.repos.d |
| RHEL and CentOS 6 | rpm -Uvh //public-repo-1.hortonworks.com/AMBARI-1.x/repos/centos6/AMBARI-1.x-1.el6.noarch.rpm | wget http://public-repo-1.hortonworks.com/AMBARI-1.x/repos/centos6/ambari.repo cp ambari.repo /etc/yum.repos.d |
| SLES 11 | rpm -Uvh //public-repo-1.hortonworks.com/AMBARI-1.x/repos/suse11/AMBARI-1.x-1.noarch.rpm | wget http://public-repo-1.hortonworks.com/AMBARI-1.x/repos/suse11/ambari.repo cp ambari.repo /etc/zypp/repos.d |
![]() | 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 need to provide access to the bits using an alternative method. For more information, see Optional: Configure the Local Repositories section. |
When you have the software, continue your install based on your base platform.

![[Note]](../common/images/admon/note.png)
