Apache Ambari Installation
Also available as:
PDF
loading table of contents...

RHEL/CentOS/Oracle Linux 6

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

Steps

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

    yum install ambari-server
  2. Enter y when prompted to confirm transaction and dependency checks.

    A successful installation displays output similar to the following:

    Installing : postgresql-libs-8.4.20-6.el6.x86_64         1/4
    Installing : postgresql-8.4.20-6.el6.x86_64              2/4
    Installing : postgresql-server-8.4.20-6.el6.x86_64       3/4
    Installing : ambari-server-2.6.1.5-3.x86_64           4/4
    Verifying  : ambari-server-2.6.1.5-3.x86_64           1/4
    >>>>>>> ab6ac8f... update Ambari version to 2.6.1.5
    Verifying  : postgresql-8.4.20-6.el6.x86_64              2/4
    Verifying  : postgresql-server-8.4.20-6.el6.x86_64       3/4
    Verifying  : postgresql-libs-8.4.20-6.el6.x86_64         4/4
    
    Installed:
      ambari-server.x86_64 0:2.6.1.5-3
    
    
    Dependency Installed:
     postgresql.x86_64 0:8.4.20-6.el6
     postgresql-libs.x86_64 0:8.4.20-6.el6
     postgresql-server.x86_64 0:8.4.20-6.el6
     Complete!
    [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

[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