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, 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 find the URL in the Repo File column in the Cloudera Manager 6 Version and Download Information table for the Cloudera Manager version you want to install.

    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/cm6/6.3.3/redhat7/yum/RPM-GPG-KEY-cloudera
    • RHEL 6 compatible:
      sudo rpm --import https://username:password@archive.cloudera.com/p/cm6/6.3.3/redhat6/yum/RPM-GPG-KEY-cloudera
  3. Modify the baseurl and gpgkey URLs in the cloudera-manager.repo file to the authenticated URLs that you used to download the repository file and import the GPG key.

    For example, for Redhat 7:

    baseurl=https://username:password@archive.cloudera.com/p/cm6/6.3.3/redhat7/yum/
    gpgkey=https://username:password@archive.cloudera.com/p/cm6/6.3.3/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 in the Repo File column in the Cloudera Manager 6 Version and Download Information table for the Cloudera Manager version you want to install.

    For example:
    sudo zypper addrepo -f https://username:password@archive.cloudera.com/p/cm6/6.3.3/sles12/yum/cloudera-manager.repo
  3. Import the repository signing GPG key:
    sudo rpm --import https://username:password@archive.cloudera.com/cm6/6.3.3/sles12/yum/RPM-GPG-KEY-cloudera
  4. Modify the baseurl and gpgkey URLs in the cloudera-manager.repo file to the authenticated URLs that you used to download the repository file and import the GPG key.

    For example, for SLES 12:

    baseurl=https://username:password@archive.cloudera.com/p/cm6/6.3.3/sles12/yum/cloudera-manager.repo
    gpgkey=https://username:password@archive.cloudera.com/p/cm6/6.3.3/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 in the Repo File column in the Cloudera Manager 6 Version and Download Information table for the Cloudera Manager version you want to install.

  2. Import the repository signing GPG key:
    • Ubuntu 18.04 compatible:
      wget https://username:password@archive.cloudera.com/p/cm6/6.3.3/ubuntu1804/apt/archive.key
      sudo apt-key add archive.key
    • Ubuntu 16.04 compatible:
      wget https://username:password@archive.cloudera.com/p/cm6/6.3.3/ubuntu1604/apt/archive.key
      sudo apt-key add archive.key
  3. Modify the URL in the cloudera.list file to the authenticated base URL. For example, for Ubuntu 18.04:
    https://username:password@archive.cloudera.com/p/cm6/6.3.3/ubuntu1804/apt
  4. Update your system package index by running:
    sudo apt-get update
  5. Continue to Step 2: Install Java Development Kit.