Step 1: Configure a Repository for Cloudera Manager
How to configure a package repository to install 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 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.4/redhat7/yum/cloudera-manager.repo
sudo wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.4/redhat7/yum/cloudera-manager.repo
- SLES
https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.4/sles12/yum/cloudera-manager.repo
sudo wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.4/sles12/yum/cloudera-manager.repo
- Ubuntu
https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.4/ubuntu1804/apt/cloudera-manager.list
sudo wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.4/ubuntu1804/apt/cloudera-manager.list
- 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.4 baseurl=https://archive.cloudera.com/p/cm7/7.1.4/redhat7/yum/ gpgkey=https://archive.cloudera.com/p/cm7/7.1.4/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. - SLES
- Open the
/etc/zypp/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.4 baseurl=https://archive.cloudera.com/p/cm7/7.1.4/sles12/yum/ gpgkey=https://archive.cloudera.com/p/cm7/7.1.4/sles12/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. - Ubuntu
- Open the
etc/apt/sources.list.d/cloudera-manager.list
file in a text editor. The file will look like this:
Replace the two# Cloudera Manager 7.1.4 # Changeme: change username and password below to match your license deb [arch=amd64] http://username:password@archive.cloudera.com/p/cm7/7.1.4/ubuntu1804/apt bionic-cm7.1.4 contrib
username
andpassward
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.4/redhat7/yum/RPM-GPG-KEY-cloudera
- SLES
12
sudo rpm --import https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.4/sles12/yum/RPM-GPG-KEY-cloudera
- Ubuntu
wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.4/ubuntu1804/apt/archive.key sudo apt-key add archive.key
- RHEL 7
compatible:
- Run the following command:
- SLES
12
sudo zypper refresh
- Ubuntu
sudo apt-get update
- SLES
12
- Continue to Step 2: Install Java Development Kit.