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.3/redhat7/yum/cloudera-manager.repo
sudo wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.3/redhat7/yum/cloudera-manager.repo
- Debian / Ubuntu
https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.3/ubuntu1804/apt/cloudera-manager.list
sudo wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.3/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.3 baseurl=https://archive.cloudera.com/p/cm7/7.1.3/redhat7/yum/ gpgkey=https://archive.cloudera.com/p/cm7/7.1.3/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. - Debian / 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.3 # Changeme: change username and password below to match your license deb [arch=amd64] http://username:password@archive.cloudera.com/p/cm7/7.1.3/ubuntu1804/apt bionic-cm7.1.3 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.3/redhat7/yum/RPM-GPG-KEY-cloudera
- Ubuntu
wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.3/ubuntu1804/apt/archive.key sudo apt-key add archive.key
- RHEL 7
compatible:
- Run the following command:
- Ubuntu
sudo apt-get update
- Ubuntu
- Continue to Step 2: Install Java Development Kit.