1. Setting up an Internet Proxy server for Ambari

If you plan to use the public repositories for installing the Stack, Ambari Server must have Internet access to confirm access to the repositories and validate the repositories. If your machine requires use of an Internet Proxy, you must configure Ambari Server to use the proxy.

  1. On the Ambari Server, edit /var/lib/ambari-server/ambari-env.sh.

  2. Add "-Dhttp.proxyHost=myproxyhost -Dhttp.proxyPort=1234" to the AMBARI_JVM_ARGS.

  3. Restart the Ambari Server to pick up this change.

[Note]Note

If you plan to use local repositories, see Optional: Configure Ambari for Local Repositories. Configuring Ambari to use a proxy server and have Internet access is not required. The Ambari Server must have access to your local repositories.


loading table of contents...