Step 1: Configure a Repository for Cloudera Manager
Cloudera Manager is installed using package management tools such as
yum
for RHEL compatible systems. These tools depend on access to
repositories to install software. Cloudera maintains Internet-accessible repositories for
Runtime and Cloudera Manager installation files.
You can also create your own internal repository for hosts that do not have Internet access. For more information on creating an internal repository for Cloudera Manager, see Configuring a Local Package Repository.
To use the Cloudera repository:
RHEL compatible
- Download the repository file for your operating system and version
on the Cloudera Manager server host:
- RHEL / CentOS
https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.1/redhat7/yum/cloudera-manager.repo
sudo wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.1/redhat7/yum/cloudera-manager.repo
- Edit the repository file and add your username and password:
- RHEL / CentOS
- Open the
/etc/yum.repos.d/cloudera-manager.repo
file in a text editor. The file will look like this:
Replace the two[cloudera-manager] name=Cloudera Manager 7.1.1 baseurl=https://archive.cloudera.com/p/cm7/7.1.1/redhat7/yum/ gpgkey=https://archive.cloudera.com/p/cm7/7.1.1/redhat7/yum/RPM-GPG-KEY-cloudera username=changeme password=changeme gpgcheck=1 enabled=1 autorefresh=0 type=rpm-md
changeme
placeholders with your username and password.
- Import the repository signing GPG key:
- RHEL 7
compatible:
sudo rpm --import https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.1/redhat7/yum/RPM-GPG-KEY-cloudera
- RHEL 7
compatible:
- Continue to Step 2: Install Java Development Kit.