Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Installing Ambari with zero internet on Ubuntu

Solved Go to solution

Installing Ambari with zero internet on Ubuntu

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

Accepted Solutions
Highlighted

Re: Installing Ambari with zero internet on Ubuntu

Expert Contributor

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. 

1 REPLY 1
Highlighted

Re: Installing Ambari with zero internet on Ubuntu

Expert Contributor

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. 

Don't have an account?
Coming from Hortonworks? Activate your account here