-
-
Save Rhayar-dr/6a7b9f312b97f446e8d1b498669b0dab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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