Trying to find if the HDP installation (including Ambari) has it to be done using the source code and then generating binary or the recommendation is to get the binaries from hortonworks repo and install using the binaries.
It's best to use the binaries from the repo.
Install Ambari first following the steps in the below link:
Once the Ambari Server is up, use it to download and install the HDP binaries as shown in the following link:
View solution in original post