Establish Access to the Software
needs access to a package repository that contains the updated software packages. You can choose to access the public repositories directly, or you can download those repositories and set up a local repository to access them from within your network. If your cluster hosts do not have connectivity to the Internet, you must set up a local repository.
If you have enabled high availability for , perform the following steps on the hosts for both the active and passive instances of the server.
- Log in to the Server host.
Show Me How
ssh my_cloudera_manager_server_host
- Remove any older files in the existing
repository directory:
- RHEL / CentOS
-
sudo rm /etc/yum.repos.d/cloudera*manager.repo*
- SLES
-
sudo rm /etc/zypp/repos.d/cloudera*manager.repo*
- Ubuntu
-
sudo rm /etc/apt/sources.list.d/cloudera*.list*
- Fill in the form at the top of this page.
- Create a repository file so that the package
manager can locate and download the binaries.
Do one of the following, depending on whether or not you are using a local package repository:
-
Use a local package repository. (Required when cluster hosts do not have access to the internet.) See Configuring a Local Package epository.
-
Use the public repository
- RHEL / CentOS
-
- Create a file named
/etc/yum.repos.d/cloudera-manager.repo
with the following content:[cloudera-manager] name= baseurl=https://archive.cloudera.com/p/cm7/<Cloudera Manager version>/redhat<OS major version>/yum/ gpgkey =https://archive.cloudera.com/p/cm7/<Cloudera Manager version>/redhat<OS major version>/yum/RPM-GPG-KEY-cloudera username=changeme password=changeme gpgcheck=1 enabled=1 autorefresh=0 type=rpm-md
Replace
changeme
with yourusername
andpassword
in the/etc/yum.repos.d/cloudera-manager.repo
file.
- Create a file named
- SLES
-
- Create a file named
/etc/zypp/repos.d/cloudera-manager.repo
with the following content:[cloudera-manager] name= baseurl=https://archive.cloudera.com/p/cm7/<Cloudera Manager version>/sles<OS major version>/yum/ gpgkey =https://archive.cloudera.com/p/cm7/<Cloudera Manager version>/sles<OS major version>/yum/RPM-GPG-KEY-cloudera username=changeme password=changeme gpgcheck=1 enabled=1 autorefresh=0 type=rpm-md
-
Replace
changeme
with yourusername
andpassword
in the/etc/zypp/repos.d/cloudera-manager.repo
file.
- Create a file named
- Ubuntu
-
Debian is not a supported operating system for 6.x.
- Create a file named
/etc/apt/sources.list.d/cloudera_manager.list
with the following content:# <Cloudera Manager version> deb [arch=amd64] http://username:password@archive.cloudera.com/p/cm7/<Cloudera Manager version>/ubuntu1804/apt -cm<Cloudera Manager version> contrib
- Run the following
command:
sudo apt-get update
-
Replace
changeme
with yourusername
andpassword
in the/etc/apt/sources.list.d/cloudera_manager.list
file.
- Create a file named
-
- A upgrade can introduce
new package dependencies. Your organization may have restrictions or
require prior approval for installation of new packages. You can
determine which packages may be installed or upgraded:
- RHEL / CentOS
-
yum deplist cloudera-manager-agent
- SLES
-
zypper info --requires cloudera-manager-agent
- Ubuntu
-
apt-cache depends cloudera-manager-agent