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.

Is there any info or examples in HDP document regarding httpd.conf to setup http server on the master server?

Highlighted

Is there any info or examples in HDP document regarding httpd.conf to setup http server on the master server?

Contributor

we need info to modify this file in order to set http service on local master server when install HDP/ambari without internet access. Please help.

1 REPLY 1

Re: Is there any info or examples in HDP document regarding httpd.conf to setup http server on the master server?

@Robin Dong

See this http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_Installing_HDP_AMB/content/_getting_start...

  1. Create an HTTP server.
    1. On the mirror server, install an HTTP server (such as Apache httpd) using the instructions provided here .
    2. Activate this web server.
    3. Ensure that any firewall settings allow inbound HTTP access from your cluster nodes to your mirror server.
      [Note>Note
      If you are using Amazon EC2, make sure that SELinux is disabled.
  2. On your mirror server, create a directory for your web server.
    • For example, from a shell window, type:
      • For RHEL/CentOS/Oracle Linux:

        mkdir -p /var/www/html/

      • For SLES:

        mkdir -p /srv/www/htdocs/rpms

      • For Debian/Ubuntu:

        mkdir -p /var/www/html/

    • If you are using a symlink, enable the followsymlinks on your web server.
      [Note>Note
      After you have completed the steps in Getting Started Setting up a Local Repository, move on to specific setup for your repository internet access type.
Don't have an account?
Coming from Hortonworks? Activate your account here