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:
- Download the
cloudera-manager.repo
file for your OS version to the/etc/yum.repos.d/
directory on the Cloudera Manager Server host.You can download the repository file at the following location:For example:- RHEL
8
https://[username]:[password]@archive.cloudera.com/p/cm7/[**Cloudera Manager version**]/redhat8/yum/cloudera-manager.repo
- RHEL
7
https://[username]:[password]@archive.cloudera.com/p/cm7/[**Cloudera Manager version**]/redhat7/yum/cloudera-manager.repo
sudo wget https://[username]:[password]@archive.cloudera.com/p/cm7/[**Cloudera Manager version**]/redhat8/yum/cloudera-manager.repo
- RHEL
8
- Edit the cloudera-manager.repo file and replace
username:password
with your Cloudera authentication credentials. For example:[cloudera-manager] name=Cloudera Manager 7.7.3 baseurl=https://myUsername:myPassword@archive.cloudera.com/p/cm7/7.7.3/redhat8/yum/ gpgkey=https://myUsername:myPassword@archive.cloudera.com/p/cm7/7.7.3/redhat8/yum/RPM-GPG-KEY-cloudera gpgcheck=1 enabled=1 autorefresh=0 type=rpm-md [postgresql10] name=Postgresql 10 baseurl=https://archive.cloudera.com/postgresql10/redhat8/ gpgkey=https://archive.cloudera.com/postgresql10/redhat8/RPM-GPG-KEY-PGDG-10 enabled=1 gpgcheck=1 module_hotfixes=true
- Import the repository signing GPG key:
- RHEL 8
compatible:
sudo rpm --import https://[username]:[password]@archive.cloudera.com/p/cm7/[**Cloudera Manager version**]/redhat8/yum/RPM-GPG-KEY-cloudera
- RHEL 7
compatible:
sudo rpm --import https://[username]:[password]@archive.cloudera.com/p/cm7/[**Cloudera Manager version**]/redhat7/yum/RPM-GPG-KEY-cloudera
- RHEL 8
compatible:
- Continue to Step 2: Install Java Development Kit.
- Update your system package index by
running:
sudo zypper refresh
- Add the repo using
zypper addrepo
.You can find the URL on the Cloudera Manager Download Page.
For example:sudo zypper addrepo -f https://[username]:[password]@archive.cloudera.com/p/cm7/7.7.1/sles12/yum/cloudera-manager.repo
- Edit the /etc/zypp/repos.d/cloudera-manager.repo file and replace
username:password
with your Cloudera authentication credentials. For example:[cloudera-manager]bn name=Cloudera Manager 7.7.1 baseurl=https://myUsername:myPassword@archive.cloudera.com/p/cm7/7.7.1/sles12/yum/ gpgkey=https://myUsername:myPassword@archive.cloudera.com/p/cm7/7.7.1/sles12/yum/RPM-GPG-KEY-cloudera gpgcheck=1 enabled=1 autorefresh=0 type=rpm-md [postgresql10] name=Postgresql 10 baseurl=https://archive.cloudera.com/postgresql10/sles12/ gpgkey=https://archive.cloudera.com/postgresql10/sles12/RPM-GPG-KEY-PGDG-10 enabled=1 gpgcheck=1 module_hotfixes=true
- Import the repository signing GPG key (substitute the correct
URL):
sudo rpm --import https://[username]:[password]@archive.cloudera.com/p/cm7/7.7.1/sles12/yum/RPM-GPG-KEY-cloudera
- Continue to Step 2: Install Java Development Kit.
- Download the
cloudera-manager.list
file for your OS version to the/etc/apt/sources.list.d/
directory on the Cloudera Manager Server host.You can find the URL on the Cloudera Manager Download Page.
- Edit the cloudera-manager.list file and replace
username:password
with your Cloudera authentication credentials. For example:- Ubuntu 18
# Cloudera Manager 7.7.1 # Changeme: change username and password below to match your license deb [arch=amd64] https://myUsername:myPassword@archive.cloudera.com/p/cm7/7.7.1/ubuntu1804/apt bionic-cm7.7.1 contrib deb [arch=amd64] https://archive.cloudera.com/postgresql10/deb/ bionic-pgdg main
- Ubuntu 20
# Cloudera Manager 7.7.1 # Changeme: change username and password below to match your license deb [arch=amd64] https://myUsername:myPassword@archive.cloudera.com/p/cm7/7.7.1/ubuntu2004/apt bionic-cm7.7.1 contrib deb [arch=amd64] http://archive.cloudera.com/postgresql10/deb/ bionic-pgdg main
- Ubuntu 18
- Import the repository signing GPG key (substitute the correct URL):
- Ubuntu
18
wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.7.1/ubuntu1804/apt/archive.key sudo apt-key add archive.key
- Ubuntu
20
wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.7.1/ubuntu2004/apt/archive.key sudo apt-key add archive.key
- Ubuntu
18
- Import the PostgreSQL repository signing
key:
wget https://archive.cloudera.com/postgresql10/deb/ACCC4CF8.asc sudo apt-key add ACCC4CF8.asc
- Update your system package index by
running:
sudo apt-get update
- Continue to Step 2: Install Java Development Kit.