Wednesday, May 4, 2016

Cloudera CDH installation using local repo

Hadoop.CDH.Installation.LocalRepo
1.     Introduction
This document describes how to create a local YUM repository to install CDH on the machines in your cluster.

2.     Installation
1.     Login your YUM local repository server
2.     Download the repo file and save it in /etc/yum.repos.d
·         RHEL/CentOS/Oracle 5
·    RHEL/CentOS/Oracle 6
·    RHEL/CentOS/Oracle 7
3.     Install httpd package to setup the web server
yum install httpd
service httpd start
service iptables stop
chkconfig httpd on
chkconfig iptables off
4.     Install YUM utilities package and createrepo package
yum install yum-utils
yum install createrepo
5.     Synchronize remote yum repository to your local yum repository
mkdir -p /var/www/html/cdh
reposync -d -g -r cloudera-cdh5  ##have issues, the downloaded packages will be removed due  to missing GPG key
reposync -d -r cloudera-cdh5



3.     Reference
·         Creating a Local Yum Repository
·         Creating a Local Parcel Repository
·         Cloudera Manager RPM Repo (Section: Establish Your Cloudera Manager Repository Strategy)
·         Cloudera CDH 5.7.1 RPM Repo
·         Cloudera CDH 5.7.1 Parcel Repo





No comments:

Post a Comment