Support Questions

Find answers, ask questions, and share your expertise

Installing Ambari with zero internet on Ubuntu

avatar
New Contributor

I am trying to install ambari on ubuntu 16.04 LTS on server with zero internet access. I am following the steps mentioned in:

https://docs.cloudera.com/HDPDocuments/Ambari-2.7.4.0/bk_ambari-installation/content/

I hosted a local repository using apache http server. I configured to use local repository in /etc/apt/sources.list.d/ambari.list. The file contains

#VERSION_NUMBER=2.7.4.0-118
#json.url = http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json
deb [trusted=yes] http://my.repository/ambari/ubuntu16/2.7.4.0-118/ Ambari main

 

when I run sudo apt-get update it is not fetching the binaries. I am attaching log of the process

Get:1 http://my.repository/ambari/ubuntu16/2.7.4.0-118 Ambari InRelease [7379 B]
Ign:1 http://my.repository/ambari/ubuntu16/2.7.4.0-118 Ambari InRelease                            
Get:2 http://my.repository/ambari/ubuntu16/2.7.4.0-118 Ambari/main amd64 Packages [1513 B]         
0% [Connecting to archive.ubuntu.com (91.189.88.31)] [Connecting to security.ubuntu.com (91.189.88.173)]

As there is no internet access it fails after this.

Is there any configuration I am missing for offline installation. Any help is appreciated. Thanks!!

 

1 ACCEPTED SOLUTION

avatar
Super Collaborator

The Ambari installation is probably attempting to update some of the Ubuntu packages due to the installation dependencies of Ambari and the HDP components. We usually have a local repo for the O/S available installed when a fully disconnected HDP installation is performed. 

View solution in original post

1 REPLY 1

avatar
Super Collaborator

The Ambari installation is probably attempting to update some of the Ubuntu packages due to the installation dependencies of Ambari and the HDP components. We usually have a local repo for the O/S available installed when a fully disconnected HDP installation is performed.