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 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
    For example:
    sudo wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.3/redhat7/yum/cloudera-manager.repo
    Move the cloudera-manager.repo file to the /etc/yum.repos.d/ directory.
    Debian / Ubuntu
    https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.3/ubuntu1804/apt/cloudera-manager.list
    For example:
    sudo wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.3/ubuntu1804/apt/cloudera-manager.list
    Move the cloudera-manager.list file to the /etc/apt/sources.list.d directory.
  2. 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:
    [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
    
    Replace the two 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:
    # 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
    
    Replace the two username and passward placeholders with your username and password.
    Move the cloudera-manager.list file to the /etc/apt/sources.list.d directory.
  3. 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
  4. Run the following command:
    • Ubuntu
      sudo apt-get update
  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 in the Repo File column in the Cloudera Manager Download Information table for the Cloudera Manager version you want to install.

  2. Import the repository signing GPG key:
    wget https://archive.cloudera.com/cm6/6.3.1/ubuntu1604/apt/archive.key
    sudo apt-key add archive.key
  3. Update your system package index by running:
    sudo apt-get update
  4. Continue to Install Java Development Kit.