Ambari Reference Guide
Also available as:
PDF
loading table of contents...

Download the Ambari Repo

Select the OS family running on your installation host.

RHEL/CentOS/Oracle Linux 7

On a server host that has Internet access, use a command line editor to perform the following steps:

  1. Log in to your host as root.

  2. Download the Ambari repository file to a directory on your installation host.

    wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.1.1/ambari.repo -O /etc/yum.repos.d/ambari.repo

    [Important]Important

    Do not modify the ambari.repo file name. This file is expected to be available on the Ambari Server host during Agent registration.

  3. Confirm that the repository is configured by checking the repo list.

    yum repolist

    You should see values similar to the following for Ambari repositories in the list.

    Version values vary, depending on the installation.

    repo id

    repo name

    status

    AMBARI.2.2.1.1-2.x

    Ambari 2.x

    8

    base

    CentOS-7 - Base

    6,518

    extras

    CentOS-7 - Extras

    37

    updates

    CentOS-7 - Updates

    785

  4. Proceed to Install the Ambari Agents manually.

[Note]Note

Accept the warning about trusting the Hortonworks GPG Key. That key will be automatically downloaded and used to validate packages from Hortonworks. You will see the following message:

Importing GPG key 0x07513CAD: Userid: "Jenkins (HDP Builds) <jenkin@hortonworks.com>" From : http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos7/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins

RHEL/CentOS/Oracle Linux 6

On a server host that has Internet access, use a command line editor to perform the following steps:

  1. Log in to your host as root.

  2. Download the Ambari repository file to a directory on your installation host.

    wget -nv http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.1.1/ambari.repo -O /etc/yum.repos.d/ambari.repo

    [Important]Important

    Do not modify the ambari.repo file name. This file is expected to be available on the Ambari Server host during Agent registration.

  3. Confirm that the repository is configured by checking the repo list.

    yum repolist

    You should see values similar to the following for Ambari repositories in the list.

    Version values vary, depending on the installation.

    repo id

    repo name

    status

    AMBARI.2.2.1.1-2.x

    Ambari 2.x

    8

    base

    CentOS-6 - Base

    6,518

    extras

    CentOS-6 - Extras

    37

    updates

    CentOS-6 - Updates

    785

  4. Proceed to Install the Ambari Agents manually.

[Note]Note

Accept the warning about trusting the Hortonworks GPG Key. That key will be automatically downloaded and used to validate packages from Hortonworks. You will see the following message:

Importing GPG key 0x07513CAD: Userid: "Jenkins (HDP Builds) <jenkin@hortonworks.com>" From : http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins

SLES 11

On a server host that has Internet access, use a command line editor to perform the following steps:

  1. Log in to your host as root.

  2. Download the Ambari repository file to a directory on your installation host.

    wget -nv http://public-repo-1.hortonworks.com/ambari/suse11/2.x/updates/2.2.1.1/ambari.repo -O /etc/zypp/repos.d/ambari.repo

    [Important]Important

    Do not modify the ambari.repo file name. This file is expected to be available on the Ambari Server host during Agent registration.

  3. Confirm the downloaded repository is configured by checking the repo list.

    zypper repos

    You should see the Ambari repositories in the list.

    Version values vary, depending on the installation.

    Alias

    Name

    Enabled

    Refresh

    AMBARI.2.2.1.1-2.x

    Ambari 2.x

    Yes

    No

    http-demeter.uni-regensburg.de-c997c8f9

    SUSE-Linux-Enterprise-Software-Development-Kit-11-SP1 11.1.1-1.57

    Yes

    Yes

    opensuse

    OpenSuse

    Yes

    Yes

  4. Proceed to Install the Ambari Agents manually.

Ubuntu 12

On a server host that has Internet access, use a command line editor to perform the following steps:

  1. Log in to your host as root.

  2. Download the Ambari repository file to a directory on your installation host.

    wget -nv http://public-repo-1.hortonworks.com/ambari/ubuntu12/2.x/updates/2.2.1.1/ambari.list -O /etc/apt/sources.list.d/ambari.list

    apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD

    apt-get update

    [Important]Important

    Do not modify the ambari.list file name. This file is expected to be available on the Ambari Server host during Agent registration.

  3. Confirm that Ambari packages downloaded successfully by checking the package name list.

    apt-cache showpkg ambari-server

    apt-cache showpkg ambari-agent

    apt-cache showpkg ambari-metrics-assembly

    You should see the Ambari packages in the list.

  4. Proceed to Install the Ambari Agents manually.

Ubuntu 14

On a server host that has Internet access, use a command line editor to perform the following steps:

  1. Log in to your host as root.

  2. Download the Ambari repository file to a directory on your installation host.

    wget -nv http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.1.1/ambari.list -O /etc/apt/sources.list.d/ambari.list

    apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD

    apt-get update

    [Important]Important

    Do not modify the ambari.list file name. This file is expected to be available on the Ambari Server host during Agent registration.

  3. Confirm that Ambari packages downloaded successfully by checking the package name list.

    apt-cache showpkg ambari-server

    apt-cache showpkg ambari-agent

    apt-cache showpkg ambari-metrics-assembly

    You should see the Ambari packages in the list.

  4. Proceed to Install the Ambari Agents manually.

Debian 7

On a server host that has Internet access, use a command line editor to perform the following steps:

  1. Log in to your host as root.

  2. Download the Ambari repository file to a directory on your installation host.

    wget -nv http://public-repo-1.hortonworks.com/ambari/debian7/2.x/updates/2.2.1.1/ambari.list -O /etc/apt/sources.list.d/ambari.list

    apt-key adv --recv-keys --keyserver keyserver.debian.com B9733A7A07513CAD

    apt-get update

    [Important]Important

    Do not modify the ambari.list file name. This file is expected to be available on the Ambari Server host during Agent registration.

  3. Confirm that Ambari packages downloaded successfully by checking the package name list.

    apt-cache showpkg ambari-server

    apt-cache showpkg ambari-agent

    apt-cache showpkg ambari-metrics-assembly

    You should see the Ambari packages in the list.

  4. Proceed to Install the Ambari Agents manually.