Step 1: install RPM packages for YUM reposync & wget utility
yum install ./yum-utils-1.1.31-42.el7.noarch.rpm \
./python-kitchen-1.1.1-5.el7.noarch.rpm \
./python-chardet-2.2.1-1.el7_1.noarch.rpm \
./wget-1.14-15.el7.x86_64.rpm
Step 2: prepare RPM repo files
# /etc/yum.repos.d/cdh-manager.repo
[cloudera-manager]
# Packages for Cloudera Manager, Version 5, on RedHat or CentOS 7 x86_64
name=Cloudera Manager
baseurl=https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5/
gpgkey =https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/RPM-GPG-KEY-cloudera
gpgcheck = 1
#/etc/yum.repos.d/cdh5.repo
[cloudera-cdh5]
# Packages for Cloudera's Distribution for Hadoop, Version 5, on RedHat or CentOS 7 x86_64
name=Cloudera's Distribution for Hadoop, Version 5
baseurl=https://archive.cloudera.com/cdh5/redhat/7/x86_64/cdh/5/
gpgkey =https://archive.cloudera.com/cdh5/redhat/7/x86_64/cdh/RPM-GPG-KEY-cloudera
gpgcheck = 1
source URLs:
https://www.cloudera.com/documentation/enterprise/release-notes/topics/rg_vd.html
https://www.cloudera.com/documentation/enterprise/release-notes/topics/cm_vd.html#CM5.13.1
Step 3: Sync RPM repo
reposync --repoid=cloudera-manager
reposync --repoid=cloudera-cdh5
wget https://archive.cloudera.com/cdh5/redhat/7/x86_64/cdh/RPM-GPG-KEY-cloudera
Step 4: Download Parcels
wget https://archive.cloudera.com/cdh5/parcels/5/manifest.json
wget https://archive.cloudera.com/cdh5/parcels/5/CDH-5.13.1-1.cdh5.13.1.p0.2-el7.parcel.sha1
wget https://archive.cloudera.com/cdh5/parcels/5/CDH-5.13.1-1.cdh5.13.1.p0.2-el7.parcel
No comments:
Post a Comment