The ambari-server
command manages the setup process. Run the following
command and respond to the prompts:
ambari-server setup
If you have not temporarily disabled SELinux, you may get a warning. Enter
y
to continue.By default, Ambari Server runs under
root
. If you want to create a different user to run the Ambari Server instead, or to assign a previously created user, selecty
at Customize user account for ambari-server daemon then provide a user name at the prompt.If you have not temporarily disabled
iptables
you may get a warning. Entery
to continue.Select a JDK version to download. Enter 1 to download Oracle JDK 1.7.
Note By default, Ambari Server setup downloads and installs Oracle JDK 1.7. If you plan to use a different version of the JDK, see Setup Options for more information.
Agree to the Oracle JDK license when asked. You must accept this license to be able to download the necessary JDK from Oracle. The JDK is installed during the deploy phase.
At Enter advanced database configuration:
To use the default PostgreSQL database, named
ambari
, with the default user name and password (ambari/bigdata
), entern
.Important If you are using an existing PostgreSQL, MySQL, or Oracle database instance, you must prepare the instance using the steps detailed in Using Non-Default Databases-Ambari before running the installer.
To use an existing Oracle 11g r2 instance, and select your own database name, user name and password for that database, enter
2
.Select the database you want to use and provide any information required by the prompts, including host name, port, Service Name or SID, user name, and password.
To use an existing MySQL 5.x database, and select your own database name, user name and password for that database, enter
3
.Select the database you want to use and provide any information required by the prompts, including host name, port, database name, user name, and password.
To use an existing PostgreSQL 9.x database, and select your own database name, user name and password for that database, enter 4.
Select the database you want to use and provide any information required by the prompts, including host name, port, database name, user name, and password.
Setup completes.
Note If your host accesses the Internet through a proxy server, you must configure Ambari Server to use this proxy server. See Configure Ambari Server for Internet Proxy for more information.