Search code examples
hadoopinstallationubuntu-14.04hortonworks-data-platformambari

How to create a local repository for HDP install on Ubuntu14?


I am trying to install HDP 2.5 on Ubuntu14.04. I don't have internet access on this machine, hence want to use local repos to install HDP as instructed here

After downloading and placing the "untared" files on my server, how to add them to the ambari.repo? How to Preparing The Ambari Repository Configuration File


Solution

  • I found the answer. The hortonworks doc is a little vague.

    We are to create a file names ambari.list:

    [Updates-Ambari-2.4.1.0]
    name=Ambari-2.4.1.0-Updates
    baseurl=INSERT-BASE-URL
    gpgcheck=0
    gpgkey= <link to local repo>
    enabled=0
    priority=1