Debian 7
On a server host that has Internet access, use a command line editor to perform the following steps:
Log in to your host as
root
.Download the Ambari repository file to a directory on your installation host.
wget -nv http://public-repo-1.hortonworks.com/ambari/debian7/2.x/updates/2.4.2.0/ambari.list -O /etc/apt/sources.list.d/ambari.list
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
apt-get update
Important Do not modify the
ambari.list
file name. This file is expected to be available on the Ambari Server host during Agent registration.Confirm that Ambari packages downloaded successfully by checking the package name list.
apt-cache showpkg ambari-server
apt-cache showpkg ambari-agent
apt-cache showpkg ambari-metrics-assembly
You should see the Ambari packages in the list.
Install the Ambari bits. This also installs the default PostgreSQL Ambari database.
apt-get install ambari-server
Note | |
---|---|
When deploying HDP on a cluster having limited or no Internet access, you should provide access to the bits using an alternative method. For more information about setting up local repositories, see Using a Local Repository. Ambari Server by default uses an embedded PostgreSQL database. When you install the Ambari Server, the PostgreSQL packages and dependencies must be available for install. These packages are typically available as part of your Operating System repositories. Please confirm you have the appropriate repositories available for the postgresql-server packages. |