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:

  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.4/redhat7/yum/cloudera-manager.repo
    For example:
    sudo wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.4/redhat7/yum/cloudera-manager.repo
    Move the cloudera-manager.repo file to the /etc/yum.repos.d/ directory.
    SLES
    https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.4/sles12/yum/cloudera-manager.repo
    For example:
    sudo wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.4/sles12/yum/cloudera-manager.repo
    Move the cloudera-manager.repo file to the /etc/zypp/repos.d/ directory.
    Ubuntu
    https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.4/ubuntu1804/apt/cloudera-manager.list
    For example:
    sudo wget https://[username]:[password]@archive.cloudera.com/p/cm7/7.1.4/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.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
    
    Replace the two 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:
    [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
    
    Replace the two 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:
    # 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
    
    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.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
  4. Run the following command:
    • SLES 12
      sudo zypper refresh
    • Ubuntu
      sudo apt-get update
  5. Continue to Step 2: Install Java Development Kit.