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

  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 8
      https://[username]:[password]@archive.cloudera.com/p/cm7/7.2.4/redhat8/yum/cloudera-manager.repo
    • RHEL 7
      https://[username]:[password]@archive.cloudera.com/p/cm7/7.2.4/redhat7/yum/cloudera-manager.repo
    For example:
    sudo wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.2.4/redhat8/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.2.4
    baseurl=https://myUsername:myPassword@archive.cloudera.com/p/cm7//redhat7/yum/
    gpgkey=https://myUsername:myPassword@archive.cloudera.com/p/cm7/7.2.4/redhat7/yum/RPM-GPG-KEY-cloudera
    gpgcheck=1
    enabled=1
    autorefresh=0
    type=rpm-md
    [postgresql10]
    name=Postgresql 10
    baseurl=https://archive.cloudera.com/postgresql10/redhat7/
    gpgkey=https://archive.cloudera.com/postgresql10/redhat7/RPM-GPG-KEY-PGDG-10
    enabled=1
    gpgcheck=1
    module_hotfixes=true
  3. Import the repository signing GPG key:
    • RHEL 8 compatible:
      sudo rpm --import https://[username]:[password]@archive.cloudera.com/p/cm7/7.2.4/redhat8/yum/RPM-GPG-KEY-cloudera
    • RHEL 7 compatible:
      sudo rpm --import https://[username]:[password]@archive.cloudera.com/p/cm7/7.2.4/redhat7/yum/RPM-GPG-KEY-cloudera
  4. Continue to Step 2: Install Java Development Kit.

SLES

  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.2.4/sles12/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.2.4
    baseurl=https://myUsername:myPassword@archive.cloudera.com/p/cm7/7.2.4/sles12/yum/
    gpgkey=https://myUsername:myPassword@archive.cloudera.com/p/cm7/7.2.4/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
  4. Import the repository signing GPG key (substitute the correct URL):
    sudo rpm --import https://[username]:[password]@archive.cloudera.com/p/cm7/7.2.4/sles12/yum/RPM-GPG-KEY-cloudera
  5. Continue to Step 2: Install Java Development Kit.

Ubuntu

  1. Download the cloudera.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.2.4
    # Changeme: change username and password below to match your license
    deb [arch=amd64] https://myUsername:myPassword@archive.cloudera.com/p/cm7/7.2.4/ubuntu2004/apt bionic-cm7.2.4 contrib
    deb [arch=amd64] https://archive.cloudera.com/postgresql10/deb/ bionic-pgdg main
    
  3. Import the repository signing GPG key (substitute the correct URL):
    wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.2.4/ubuntu2004/apt/archive.key
    sudo apt-key add archive.key
  4. Update your system package index by running:
    sudo apt-get update
  5. Continue to Step 2: Install Java Development Kit.