In my previous post I covered Bill of Materials (BOM), hardware assembly, and installing Linux (Ubuntu). In this post I will cover how I installed Ambari.
Rather than build from source, I opted to use the distribution from Cloudera (formerly HortonWorks). Ambari 2.7.5 requires official support from Cloudera, so I went down to 2.7.3 which doesn't require a support agreement with Cloudera.
Install some pre-requisites
sudo apt install python-dev
sudo apt install gcc
Add Cloudera as a distribution
sudo wget -O /etc/apt/sources.list.d/ambari.list http://public-repo-1.hortonworks.com/ambari/ubuntu18/2.x/updates/220.127.116.11/ambari.list
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
sudo apt-get update
Verify packages show up
apt-cache showpkg ambari-server
apt-cache showpkg ambari-agent
apt-cache showpkg ambari-metrics-assembly
Install and setup the server on primary
sudo apt-get install ambari-server
Install and setup agent / metrics on all
sudo apt-get install ambari-agent
sudo apt-get install ambari-metrics-assembly
Cloudera also had some instructions that I followed on how to configure the Ambari server once installed.
Next up will be building the remaining boxes of the cluster and installing the agent on those.