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.
On the Ambari Server, edit /var/lib/ambari-server/ambari-env.sh.
Add "-Dhttp.proxyHost=myproxyhost -Dhttp.proxyPort=1234" to the AMBARI_JVM_ARGS.
Restart the Ambari Server to pick up this change.
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. |