Apache Ambari Installation
Also available as:
PDF

Preparing The Ambari Repository Configuration File

  1. Download the ambari.repo file from the private repository.

    https://archive.cloudera.com/p/ambari/2.x/2.6.0.0/<os>/ambari.repo

    where <OS> is centos6, centos7, sles11, sles12, ubuntu14, ubuntu16, or debian7.

  2. Edit the ambari.repo file and replace the Ambari Base URL baseurl obtained when setting up your local repository.

    [Note]Note

    You can disable the GPG check by setting gpgcheck =0. Alternatively, you can keep the check enabled but replace the gpgkey with the URL to the GPG-KEY in your local repository.

    [Updates-Ambari-2.5.0.3]
    name=Ambari-2.5.0.3-Updates
    baseurl=INSERT-BASE-URL
    gpgcheck=1
    gpgkey=https://archive.cloudera.com/p/ambari/2.x/2.6.0.0/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
    enabled=1
    priority=1

    Base URL for a Local Repository

    Built with Repository Tarball (No Internet Access)

    http://<web.server>/Ambari-2.5.0.3/<OS>

    Built with Repository File (Temporary Internet Access)

    http://<web.server>/ambari/<OS>/Updates-Ambari-2.5.0.3

    where <web.server> = FQDN of the web server host, and <OS> is centos6, centos7, sles11, sles12, , ubuntu14, or debian7.

  3. Place the ambari.repo file on the machine you plan to use for the Ambari Server.

    For RHEL/CentOS/Oracle Linux:
    /etc/yum.repos.d/ambari.repo
    For SLES:
    /etc/zypp/repos.d/ambari.repo
    For Debain/Ubuntu:
    /etc/apt/sources.list.d/ambari.list
  4. Edit the /etc/yum/pluginconf.d/priorities.conf file to add the following:

    [main]
    enabled=1
    gpgcheck=0

Next Steps

Proceed to Installing Ambari Server to install and setup Ambari Server.

More Information

Setting Up a Local Repository with No Internet Access

Setting up a Local Repository With Temporary Internet Access