Skip to end of metadata
Go to start of metadata

Build and install Ambari 2.6.0

 
Refer Ambari Development for prerequisites and additional information on how to build Apache Ambari.

 

Step 1: Download and build Ambari 2.6.0 source

Go to http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.6.0  and find the suggested mirror for download. The process to verify the download is described is at http://www.apache.org/dyn/closer.cgi#verify

 

Note: If running into errors while compiling the ambari-metrics package due to missing the artifacts of jms, jmxri, jmxtools:

The work around is to manually install the three missing artifacts:

The three poms are:


 

RHEL (CentOS 5 or 6) & SUSE (SLES 11):

 

Ubuntu/Debian:

 

Note: You need to have tools such as rpm-build tool, brunch, etc.  For details on prerequisites, please see Ambari Development.

Step 2: Install Ambari Server

Install the rpm package from ambari-server/target/rpm/ambari-server/RPMS/noarch/

[For CentOS 5 or 6]

[For SLES 11]

[For Ubuntu/Debian]

Step 3: Setup and Start Ambari Server

Run the setup command to configure your Ambari Server, Database, JDK, LDAP, and other options:

Follow the on-screen instructions to proceed.

Once set up is done, start Ambari Server:

Step 4: Install and Start Ambari Agent on All Hosts

Note: This step needs to be run on all hosts that will be managed by Ambari.

Copy the rpm package from ambari-agent/target/rpm/ambari-agent/RPMS/x86_64/ and run:

[For CentOS 5 or 6]

[For SLES 11]

[Ubuntu/Debian]

Edit /etc/ambari-agent/ambari.ini

Make sure hostname under the [server] section points to the actual Ambari Server host, rather than "localhost".

Step 5: Deploy Cluster using Ambari Web UI

Open up a web browser and go to http://<ambari-server-host>:8080.

Log in with username admin and password admin and follow on-screen instructions. Secure your environment by ensuring your administrator details are changed from the default values as soon as possible.

Under Install Options page, enter the hosts to add to the cluster.  Do not supply any SSH key, and check "Perform manual registration on hosts and do not use SSH" and hit "Next".

  • No labels