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:

  1. 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:
    • RHEL 9
      https://[username]:[password]@archive.cloudera.com/p/cm7/[**Cloudera Manager version**]/redhat9/yum/cloudera-manager.repo
    • 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
    For example:
    sudo wget https://[username]:[password]@archive.cloudera.com/p/cm7/[**Cloudera Manager version**]/redhat9/yum/cloudera-manager.repo
  2. Edit the cloudera-manager.repo file and replace username:password with your Cloudera authentication credentials. For example:
    [cloudera-manager]
    name=Cloudera Manager 7.11.3
    baseurl=https://myUsername:myPassword@archive.cloudera.com/p/cm7/7.11.3/redhat9/yum/
    gpgkey=https://myUsername:myPassword@archive.cloudera.com/p/cm7/7.11.3/redhat9/yum/RPM-GPG-KEY-cloudera
    gpgcheck=1
    enabled=1
    autorefresh=0
    type=rpm-md
    [postgresql10]
    name=Postgresql 10
    baseurl=https://archive.cloudera.com/postgresql10/redhat9/
    gpgkey=https://archive.cloudera.com/postgresql10/redhat9/RPM-GPG-KEY-PGDG-10
    enabled=1
    gpgcheck=1
    module_hotfixes=true
  3. Import the repository signing GPG key:
    • RHEL 9 compatible:
      sudo rpm --import https://[username]:[password]@archive.cloudera.com/p/cm7/[**Cloudera Manager version**]/redhat9/yum/RPM-GPG-KEY-cloudera
    • 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
  4. Continue to Step 2: Install Java Development Kit.
  1. Update your system package index by running:
    sudo zypper refresh
  2. 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.11.3/sles15/yum/cloudera-manager.repo
  3. 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.11.3
    baseurl=https://myUsername:myPassword@archive.cloudera.com/p/cm7/7.11.3/sles15/yum/
    gpgkey=https://myUsername:myPassword@archive.cloudera.com/p/cm7/7.11.3/sles15/yum/RPM-GPG-KEY-cloudera
    gpgcheck=1
    enabled=1
    autorefresh=0
    type=rpm-md
    
    [postgresql10]
    name=Postgresql 10
    baseurl=https://archive.cloudera.com/postgresql10/sles15/
    gpgkey=https://archive.cloudera.com/postgresql10/sles15/RPM-GPG-KEY-PGDG-10
    enabled=1
    gpgcheck=1
    module_hotfixes=true
  4. Import the repository signing GPG key (substitute the correct URL):
    sudo rpm --import https://[username]:[password]@archive.cloudera.com/p/cm7/[**Cloudera Manager version**]/sles15/yum/RPM-GPG-KEY-cloudera
  5. Continue to Step 2: Install Java Development Kit.
  1. 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.

  2. Edit the cloudera-manager.list file and replace username:password with your Cloudera authentication credentials. For example:
    # Cloudera Manager 7.11.3
    # Changeme: change username and password below to match your license
    deb [arch=amd64] https://myUsername:myPassword@archive.cloudera.com/p/cm7/7.11.3/ubuntu2004/apt bionic-cm7.11.3 contrib
    
  3. Import the repository signing GPG key (substitute the correct URL):
    wget https://[username]:[password]@archive.cloudera.com/p/cm7/[**Cloudera Manager version**]/ubuntu2004/apt/archive.key
    sudo apt-key add archive.key
  4. Import the PostgreSQL repository signing key:
    wget https://archive.cloudera.com/postgresql10/deb/ACCC4CF8.asc
    sudo apt-key add ACCC4CF8.asc
  5. Update your system package index by running:
    sudo apt-get update
  6. Continue to Step 2: Install Java Development Kit.