loading table of contents...

1. How To Set Up an Internet Proxy Server for Ambari

  1. On the Ambari Server host, add proxy settings to the following script: /var/lib/ambari-server/ambari-env.sh.

    -Dhttp.proxyHost=<yourProxyHost> -Dhttp.proxyPort=<yourProxyPort>

  2. Optionally, to prevent some host names from accessing the proxy server, define the list of excluded hosts, as follows:


  3. If your proxy server requires authentication, add the user name and password, as follows:

    -Dhttp.proxyUser=<username> -Dhttp.proxyPassword=<password>

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

If you plan to use local repositories, see Using a Local Repository. Configuring Ambari to use a proxy server and have Internet access is not required. The Ambari Server must have access to your local repositories.