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.

install ambari 2.2 without internet

install ambari 2.2 without internet

Contributor

hi,

I following the instruction to install ambari 2.2.0.0 without internet

http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_Installing_HDP_AMB/content/_using_a_local...

so i have finished all download/upload following 4 files. they are ambari.rep, ambari.tarball, hdp tarball and hdp-utils tarball.

1. download/upload ambari 2.2 repositories to /var/www/html, untar

http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.0.0/ambari.repo

2.download/upload ambari tarball to /var/www/html, untar

http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.0.0/ambari-2.2.0.0-centos6.tar.g...

3. downloaded and uploaded HDP to namenode and mv to /var/www/html/hdp then untar

http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.4.0/HDP-2.3.4.0-centos6-rpm.tar.gz

4. downloaded anduploaded HDP-UTILS to namenode and mv to /var/www/html/hdp untar

http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6/HDP-UTILS-1.1.0.20-centos6.tar...

I like to double check to see if I miss any files I need and if any file is unnecessary.

then I can untar and start to ambari-server setup.

7 REPLIES 7

Re: install ambari 2.2 without internet

Mentor

You should be good. @Robin Dong

Re: install ambari 2.2 without internet

Good start. Now you still need to follow the instructions at http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_Installing_HDP_AMB/content/_getting_start... for setting up a local http server daemon, and validating that you can browse to the untarred repository files. It appears you will follow the doc thread for "Setting Up a Local Repository with No Internet Access", not the thread for "Setting Up a Local Repository with Temporary Internet Access".

Then you edit the ambari.repo file with your custom repository Base URL and put it in the right place in your ambari server host, as described in http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_Installing_HDP_AMB/content/_preparing_the...

Then you'll be ready to start installing.

Re: install ambari 2.2 without internet

Mentor

@Robin Dong has this been resolved? Can you post your solution or accept best answer?

Re: install ambari 2.2 without internet

New Contributor

@Robin Dong Hey I am also working on installation of hadoop using ambari without internet. Could you please guide me on this? I have seen all the link mentioned in above posts and have downloaded all the repos as well.Do I need to explicitly install apache web server?If possible, can you share the steps you have followed to install ambari without internet.

Re: install ambari 2.2 without internet

Contributor

@malvika pande, you dont need to explicitly install apache web server. after untar all these files.

  1. Untar under <web.server.directory>
  2. Create directory and untar under <web.server.directory>/hdp

so, after these 2 steps, it is kind of a local Internet to you.

you should be able to 'yum install ambari-server', 'ambari-server setup' then 'ambari-server start'

then http://your_ambari_server_ec2_ip:8080 will lead you to ambari installation.

Thanks,

Re: install ambari 2.2 without internet

New Contributor

@Robin Dong

I have untarred the packages(ambari,HDP and HDP-UTILS) at /var/www/html and /var/www/html/hdp respectively.

Now am running apt-get install ambari-server and am getting an error ' Unable to locate package ambari-server'

Also I tried editing the ambari.list with below text:

[Updates-Ambari-2.5.0.3]

name=Ambari-2.5.0.3-Updates

baseurl=http://ip-ec2/var/www/html/ambari/ubuntu14/tars/ambari/ambari-2.5.0.1.2.5.0.3-7

gpgcheck=0

enabled=1

priority=1

Then tried apt-get install ambari-server am getting error as

Reading package lists... Error! E: Type '[Updates-Ambari-2.5.0.3]' is not known on line 3 in source list /etc/apt/sources.list.d/ambari.list E: The list of sources could not be read. E: The package lists or status file could not be parsed or opened.

If you could suggest anything!!

Re: install ambari 2.2 without internet

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