Skip to content

Instantly share code, notes, and snippets.

@dgadiraju
Created October 18, 2018 01:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dgadiraju/acce88c75ad0021c46b05c30d68e247b to your computer and use it in GitHub Desktop.
Save dgadiraju/acce88c75ad0021c46b05c30d68e247b to your computer and use it in GitHub Desktop.
cd /etc/yum.repos.d/
sudo wget https://archive.cloudera.com/cdh5/redhat/7/x86_64/cdh/cloudera-cdh5.repo
cd /var/www/html
sudo mkdir -p cdh5/redhat/7/x86_64/cdh/5/
sudo reposync -r cloudera-cdh5
sudo mv cloudera-cdh5/RPMS cdh5/redhat/7/x86_64/cdh/5/
cd cdh5/redhat/7/x86_64/cdh/5/
sudo createrepo .
cd /var/www/html/cdh5/redhat/7/x86_64/cdh
sudo wget https://archive.cloudera.com/cdh5/redhat/7/x86_64/cdh/RPM-GPG-KEY-cloudera
[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=http://bigdataserver-1/cdh5/redhat/7/x86_64/cdh/5/
gpgkey =http://bigdataserver-1/cdh5/redhat/7/x86_64/cdh/RPM-GPG-KEY-cloudera
gpgcheck = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment