Adding the MapR repository on RedHat, CentOS, or Oracle Linux

  1. Change to the root user or use sudo.
  2. Create a text file called maprtech.repo in the /etc/yum.repos.d/ directory with the following content, replacing <version> with the version of MapR that you want to install: (See the Release Notes for the correct paths for all past releases.)
    [maprtech]
    name=MapR Technologies
    baseurl=http://package.mapr.com/releases/<version>/redhat/
    enabled=1
    gpgcheck=0
    protect=1
    
    [maprecosystem]
    name=MapR Technologies
    baseurl=http://package.mapr.com/releases/ecosystem-5.x/redhat
    enabled=1
    gpgcheck=0
    protect=1
  3. If your connection to the Internet is through a proxy server, you must set the http_proxy environment variable before installation: You can also set the value for the http_proxy environment variable by adding the following section to the /etc/yum.conf file:
    http_proxy=http://<host>:<port>
    export http_proxy
    proxy=http://<host>:<port>
    proxy_username=<username>
    proxy_password=<password>
    Warning: The EPEL (Extra Packages for Enterprise Linux) repository contains dependencies for the mapr-metrics package on RedHat/CentOS/Oracle Linux. If your RedHat/CentOS/Oracle Linux cluster does not use the mapr-metrics service, you can skip EPEL configuration.