2. Set Up the Server

The ambari-server command manages the setup process. Follow the prompts:

ambari-server setup
  1. If you have not temporarily disabled SELinux, you may get a warning. Enter y to continue.

  2. 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, select y at Customize user account for ambari-server daemon and give the prompt the username you want to use.

  3. If you have not temporarily disabled iptables you may get a warning. Enter y to continue. See Configuring Ports for (2.x) or (1.x) for more information on the ports that must be open and accessible.

  4. 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.

    [Note]Note

    By default, Ambari Server setup will download and install Oracle JDK 1.6. If you plan to download this JDK and install on all your hosts, or plan to use a different version of the JDK, skip this step and see Setup Options for more information

  5. At Enter advanced database configuration:

    • To use the default PostgreSQL database, named ambari, with the default username and password (ambari/bigdata), enter n.

    • To use an existing Oracle 11g r2 instance or to select your own database name, username and password for either database, enter y.

      • Select the database you want to use and provide any information required by the prompts, including hostname, port, Service Name or SID, username, and password.

        [Important]Important

        If you are using an existing Oracle instance, you must have prepared the instance using the steps detailed in Using Non-Default Databases before running the installer.

  6. Setup completes.


loading table of contents...