Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Build and install Ambari 1.

...

5.

...

0

Step 1: Download and build Ambari 1.45.4 0 source:#]  wget http

 

Code Block
wget http://www.apache.org/dist/ambari/ambari-1.

...

5.

...

0/ambari-1.

...

5.

...

0.tar.gz

...


tar xfvz ambari-1.

...

5.

...

0.tar.gz

...


cd ambari-1.

...

5.0
mvn versions:set -DnewVersion=1.5.0
mvn -B clean install package rpm:rpm -DskipTests -Dpython.ver="python >= 2.6"

Notes:

...

NoteYou need to have tools such as rpm-build tool

...

,

...

brunch, etc.  For details on prerequisites, please see https://cwiki.apache.org/confluence/display/AMBARI/Coding+Guidelines+for+Ambari

...

Once the rpm build succeeds you should be able to install the Ambari repository.

Step 2: Install Ambari Server:

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

[For CentOS 5 or 6]

Code Block
yum install ambari-server*.rpm    #This should also pull in postgres packages as well.

[For SLES 11]

Code Block
zypper install ambari-server*.rpm    #This should also pull in postgres packages as well.

Step 3: Setup and Start Ambari Server:

Run :

#]  ambari-server setup

Note that you will see a new set of prompts when running setup:

Ambari-server daemon is configured to run under user 'root'. Change this setting [y/n] (n)?

You can proceed with a no (n).

Enter advanced database configuration [y/n] (n)?

For advanced database installation say y: with n it will default to username ambari and password bigdata.

Choose one of the following options:
[1] - PostgreSQL (Embedded)
[2] - Oracle

You can choose 1 or 2 depending on the database you want to use.

Username [ambari]:

You can use any username here. This is the username that ambari uses to connect to DB. If you press enter it will use the default ambari-server

Password [bigdata]:

Password for the DB username, default is bigdata, pressing enter will use the default, else you can enter your own password.

Do you accept the Oracle Binary Code License Agreement [y/n] (y)?

This is to accept Oracle JDK’s license. Go ahead and say ‘y’.

Start Ambari server

...

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

Code Block
ambari-server setup

Follow the on-screen instructions to proceed.

Once set up is done, start Ambari Server:

Code Block
ambari-server start

Step 4: BootStrap the Agents using the UI  and begin the deploy/start process.

...

$AMBARI_SERVER:8080/

Login using: admin/adminUsername *admin* and password *admin*

The step below are only required if the ambari agent is being bootstrapped manually.

...