Set Up the Data Fabric Repository: RHEL/CentOS
This section describes how to set up a maprtech.repo
file before
adding a
Data Fabric repository.
About this task
Before upgrading your cluster software, you need to set up or update a
maprtech.repo
file. The baseurl
properties of
the maprtech.repo
specify the URLs of the packages you want to
install. To access the URLs for all release packages, see .
Procedure
-
Change to the
root
user or usesudo
. -
Create a text file called
maprtech.repo
in the/etc/yum.repos.d/
directory with the following content, replacing<version>
with the version of software that you want to install.[maprtech] name=MapR Technologies baseurl=https://package.ezmeral.hpe.com/releases/v<version>/redhat/ enabled=1 gpgcheck=0 protect=1 [maprecosystem] name=MapR Technologies baseurl=https://package.ezmeral.hpe.com/releases/MEP/MEP-<version>/redhat enabled=1 gpgcheck=0 protect=1
-
If your connection to the Internet is through a proxy server, set the
http_proxy
environment variable before installation.- Method
1:
http_proxy=http://<host>:<port> export http_proxy
- Method 2: Set the value for the
http_proxy
environment variable by adding settings to the/etc/yum.conf
file.proxy=http://<host>:<port> proxy_username=<username> proxy_password=<password>
- Method
1:
-
Download and install EPEL (Extra Packages for Enterprise Linux) if you use the
mapr-metrics
service; otherwise, skip this step.- RHEL/CentOS
6.x:
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh epel-release-6*.rpm
- RHEL/CentOS
7.0
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- RHEL/CentOS
6.x: