Apache Ambari Installation
Also available as:
PDF

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 https://archive.cloudera.com/p/ambari/2.x/2.5.0.3/suse11/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.

    # | Alias                    | Name                                 | Enabled | Refresh
    --+--------------------------+--------------------------------------+---------+--------
    1 | ambari-2.5.0.0-1094      | ambari Version - ambari-2.5.0.0-1094 | Yes     | No
    2 | http-demeter.uni         |SUSE-Linux-Enterprise-Software
         -regensburg.de-c997c8f9 | -Development-Kit-11-SP3 12.1.1-1.57  | Yes     | Yes
    3 | opensuse                 | OpenSuse                             | Yes     | Yes

    Version values vary, depending on the installation.

  4. Install the Ambari bits. This also installs the default PostgreSQL Ambari database.

    zypper install ambari-server
  5. Enter y when prompted to to confirm transaction and dependency checks.

    A successful installation displays output similar to the following:

     Retrieving package postgresql-libs-8.3.5-1.12.x86_64 (1/4), 172.0 KiB (571.0 KiB unpacked)
    Retrieving: postgresql-libs-8.3.5-1.12.x86_64.rpm [done (47.3 KiB/s)]
    Installing: postgresql-libs-8.3.5-1.12 [done]
    Retrieving package postgresql-8.3.5-1.12.x86_64 (2/4), 1.0 MiB (4.2 MiB unpacked)
    Retrieving: postgresql-8.3.5-1.12.x86_64.rpm [done (148.8 KiB/s)]
    Installing: postgresql-8.3.5-1.12 [done]
    Retrieving package postgresql-server-8.3.5-1.12.x86_64 (3/4), 3.0 MiB (12.6 MiB unpacked)
    Retrieving: postgresql-server-8.3.5-1.12.x86_64.rpm [done (452.5 KiB/s)]
    Installing: postgresql-server-8.3.5-1.12 [done]
    Updating etc/sysconfig/postgresql...
    Retrieving package ambari-server-2.5.0.3-135.noarch (4/4), 99.0 MiB (126.3 MiB unpacked)
    Retrieving: ambari-server-2.5.0.3-135.noarch.rpm [done (3.0 MiB/s)]
    Installing: ambari-server-2.5.0.3-135 [done]
    ambari-server 0:off 1:off 2:off 3:on 4:off 5:on 6:off
[Note]Note

When deploying a cluster having limited or no Internet access, you should provide access to the bits using an alternative method.

Ambari Server by default uses an embedded PostgreSQL database. When you install the Ambari Server, the PostgreSQL packages and dependencies must be available for install. These packages are typically available as part of your Operating System repositories. Please confirm you have the appropriate repositories available for the postgresql-server packages.

Next Step

Set Up the Ambari Server

More Information

Using a Local Repository