Download the Ambari repository on Debian 9
To install Ambari agents, first download the Ambari repository to a host in your cluster.
- Log in to your host as root.
Download the Ambari repository file to a directory on your installation host.
wget -O /etc/apt/sources.list.d/ambari.list https://archive.cloudera.com/p/ambari/2.x/184.108.40.206/debian9/ambari.list apt-key adv --recv-keys --keyserver keyserver.debian.com B9733A7A07513CAD apt-get updateNoteDo 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
apt-cache showpkg ambari-server apt-cache showpkg ambari-agent apt-cache showpkg ambari-metrics-assemblyYou should see the Ambari packages in the list.