Creating a Repository
Complete the following steps to create a HCP repository:
Create a file called
/etc/yum.repos.d/hcp.repo
.vi /etc/yum/repos.d/hcp.repo
Populate the file with the latest repository information.
For example:
#VERSION_NUMBER=1.2.2.0 [HCP-1.2.2.0-18] name=HCP Version - HCP-1.2.2.0 baseurl=http://public-repo-1.hortonworks.com/HCP/centos7/1.x/updates/1.2.2.0/hcp.repo gpgcheck=1 gpgkey=http://public-repo-1.hortonworks.com/HCP/centos7/1.x/updates/1.2.2.0/hcp.repo/BUILDS/1.2.2.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1 [HDP-UTILS-2.5.3.0] name=HDP-UTILS Version - HDP-UTILS-2.5.3.0 baseurl=http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-2.5.3.0/repos/centos7 gpgcheck=1 gpgkey=http://s3.amazonaws.com/dev.hortonworks.com/HCP/centos7/1.x/updates/2.5.3.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1