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/ |
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/cm5/redhat/7/x86_64/cm/cloudera-manager.repo | |
cd /var/www/html | |
sudo mkdir -p cm5/redhat/7/x86_64/cm/5 | |
sudo reposync -r cloudera-manager | |
sudo mv /var/www/html/cloudera-manager/RPMS /var/www/html/cm5/redhat/7/x86_64/cm/5 | |
cd /var/www/html/cm5/redhat/7/x86_64/cm/5 | |
sudo createrepo . |
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
sudo yum -y install wget createrepo yum-utils | |
sudo mkdir -p /var/www/html | |
sudo systemctl restart httpd |