Step 1: Configure a Repository for Cloudera Manager

Step 1: Configure a Repository Step 2: Install Java Step 3: Install Cloudera Manager Server Step 4: Install Databases Step 5: Set Up the Cloudera Manager Database Step 6: Install CDH and Other Software Step 7: Set Up a Cluster

Cloudera Manager is installed using package management tools such as yum for RHEL compatible systems, zypper for SLES, and apt-get for Ubuntu. These tools depend on access to repositories to install software. Cloudera maintains Internet-accessible repositories for CDH 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 Using an Internal 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.

    See the Repo File column in the Cloudera Manager Version and Download Information table for the URL.

    For example:

    sudo wget <repo_file_url> -P /etc/yum.repos.d/
  2. Import the repository signing GPG key:
    • RHEL 7 compatible:
      sudo rpm --import https://username:password@archive.cloudera.com/p/cm5/redhat/7/x86_64/cm/RPM-GPG-KEY-cloudera
    • RHEL 6 compatible:
      sudo rpm --import https://username:password@archive.cloudera.com/p/cm5/redhat/6/x86_64/cm/RPM-GPG-KEY-cloudera
    • RHEL 5 compatible:
      sudo rpm --import https://username:password@archive.cloudera.com/p/cm5/redhat/5/x86_64/cm/RPM-GPG-KEY-cloudera
  3. Edit the cloudera-manager.repo file in a text editor and add the following lines:
    username=MyUserName
    password=MyPassword
    For example:
    [cloudera-manager]
    # Packages for Cloudera Manager, Version 5, on RedHat or CentOS 7 x86_64           
      
    name=Cloudera Manager
    baseurl=https://archive.cloudera.com/p/cm5/redhat/7/x86_64/cm/5/
    gpgkey =https://archive.cloudera.com/p/cm5/redhat/7/x86_64/cm/RPM-GPG-KEY-cloudera    
    gpgcheck = 1
    
    username=MyUserName
    password=MyPassword
  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.

    See the Repo File column in the Cloudera Manager Version and Download Information table for the URL.

    For example:
    sudo zypper addrepo -f https://username:password@archive.cloudera.com/p/cm5/sles/12/x86_64/cm/cloudera-cm.repo
  3. Edit the /etc/zypp/repos.d/cloudera-cm.repo file and add the following lines:
    username=MyUserName
    password=MyPassword
    For example:
    [cloudera-cm]
    # Packages for Cloudera's Distribution for cm, Version 5, on SLES 11 x86_64
    name=Cloudera's Distribution for cm, Version 5
    baseurl=https://archive.cloudera.com/cm5/sles/12/x86_64/cm/5/
    gpgkey = https://archive.cloudera.com/cm5/sles/12/x86_64/cm/RPM-GPG-KEY-cloudera    
    gpgcheck = 1
    
    username=MyUserName
    password=MyPassword
  4. Import the repository signing GPG key:
    sudo rpm --import https://username:password@archive.cloudera.com/p/cm5/sles/12/x86_64/cm/RPM-GPG-KEY-cloudera
  5. Continue to Step 2: Install Java Development Kit.

Ubuntu, Debian

  1. Download the cloudera.list file for your OS version to the /etc/apt/sources.list.d/ directory on the Cloudera Manager Server host.

    See the Repo File column in the Cloudera Manager Version and Download Information table for the URL.

  2. Edit the /etc/apt/sources.list.d/cloudera.list file and add the following lines:
    username=MyUserName
    password=MyPassword
    For example:
    # Packages for cm5, on Ubuntu 16.04 amd64       
    deb [arch=amd64] https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm xenial-cm5 contrib
    deb-src https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm xenial-cm5 contrib
    
    username=MyUserName
    password=MyPassword
  3. Import the repository signing GPG key. For example:
    wget https://username:password@archive.cloudera.com/p/cm5/ubuntu/xenial/amd64/cm/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.