[root@rh1 ~]# ambari-server setup -s
Using python /usr/bin/python2.6
Setup ambari-server
Checking SELinux…
SELinux status is ‘enabled’
SELinux mode is ‘enforcing’
Temporarily disabling SELinux
WARNING: SELinux is set to ‘permissive’ mode and temporarily disabled.
OK to continue [y/n] (y)?
Customize user account for ambari-server daemon [y/n] (n)?
Adjusting ambari-server permissions and ownership…
Checking iptables…
Checking JDK…
To download the Oracle JDK you must accept the license terms found at http://www.oracle.com/technetwork/java/javase/terms/license/index.html and not accepting will cancel the Ambari Server setup.
Do you accept the Oracle Binary Code License Agreement [y/n] (y)?
Downloading JDK from http://public-repo-1.hortonworks.com/ARTIFACTS/jdk-6u31-linux-x64.bin to /var/lib/ambari-server/resources/jdk-6u31-linux-x64.bin
JDK distribution size is 85581913 bytes
jdk-6u31-linux-x64.bin… 100% (81.6 MB of 81.6 MB)
Successfully downloaded JDK distribution to /var/lib/ambari-server/resources/jdk-6u31-linux-x64.bin
Installing JDK to /usr/jdk64
Successfully installed JDK to /usr/jdk64/jdk1.6.0_31
Downloading JCE Policy archive from http://public-repo-1.hortonworks.com/ARTIFACTS/jce_policy-6.zip to /var/lib/ambari-server/resources/jce_policy-6.zip
Successfully downloaded JCE Policy archive to /var/lib/ambari-server/resources/jce_policy-6.zip
Completing setup…
Configuring database…
Enter advanced database configuration [y/n] (n)?
Default properties detected. Using built-in database.
Checking PostgreSQL…
Running initdb: This may take upto a minute.
About to start PostgreSQL
Configuring local database…
Connecting to the database. Attempt 1…
Configuring PostgreSQL…
Restarting PostgreSQL
Ambari Server ‘setup’ completed successfully.

[root@rh1 ~]# ambari-server start
Using python /usr/bin/python2.6
Starting ambari-server
Ambari Server running with ‘root’ privileges.
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Ambari Server ‘start’ completed successfully.

[root@rh1 ~]# yum -y install ambari-server
Loaded plugins: priorities, product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
HDP- | 2.9 kB 00:00
HDP-2.x | 951 B 00:00
HDP-UTILS- | 2.9 kB 00:00
Updates-ambari- | 2.9 kB 00:00
ambari-1.x | 1.3 kB 00:00
viscosity | 3.9 kB 00:00 …
12 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package ambari-server.noarch 0: will be installed
–> Processing Dependency: postgresql-server >= 8.1 for package: ambari-server-
–> Running transaction check
—> Package postgresql-server.x86_64 0:8.4.18-1.el6_4 will be installed
–> Processing Dependency: postgresql-libs(x86-64) = 8.4.18-1.el6_4 for package: postgresql-server-8.4.18-1.el6_4.x86_64
–> Processing Dependency: postgresql(x86-64) = 8.4.18-1.el6_4 for package: postgresql-server-8.4.18-1.el6_4.x86_64
–> Processing Dependency: libpq.so.5()(64bit) for package: postgresql-server-8.4.18-1.el6_4.x86_64
–> Running transaction check
—> Package postgresql.x86_64 0:8.4.18-1.el6_4 will be installed
—> Package postgresql-libs.x86_64 0:8.4.18-1.el6_4 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size
ambari-server noarch Updates-ambari- 37 M
Installing for dependencies:
postgresql x86_64 8.4.18-1.el6_4 viscosity 2.8 M
postgresql-libs x86_64 8.4.18-1.el6_4 viscosity 201 k
postgresql-server x86_64 8.4.18-1.el6_4 viscosity 3.4 M

Transaction Summary
Install 4 Package(s)

Total download size: 43 M
Installed size: 88 M
Downloading Packages:
(1/4): ambari-server- | 37 MB 00:46
Total 951 kB/s | 43 MB 00:46
warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID 07513cad: NOKEY
Retrieving key from http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
Importing GPG key 0x07513CAD:
Userid: “Jenkins (HDP Builds)
From : http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : postgresql-libs-8.4.18-1.el6_4.x86_64 1/4
Installing : postgresql-8.4.18-1.el6_4.x86_64 2/4
Installing : postgresql-server-8.4.18-1.el6_4.x86_64 3/4
Installing : ambari-server- 4/4
Verifying : postgresql-server-8.4.18-1.el6_4.x86_64 1/4
Verifying : postgresql-libs-8.4.18-1.el6_4.x86_64 2/4
Verifying : ambari-server- 3/4
Verifying : postgresql-8.4.18-1.el6_4.x86_64 4/4

ambari-server.noarch 0:

Dependency Installed:
postgresql.x86_64 0:8.4.18-1.el6_4 postgresql-libs.x86_64 0:8.4.18-1.el6_4 postgresql-server.x86_64 0:8.4.18-1.el6_4