Version: 3.3.2.0

Ambari安装

配置Yum仓库#

本地#

You can use every webserver. In this section we will use an httpd server.

  • Install httpd yum install httpd

  • Download the archive of HDP repository,For example x86 verison: http://x86.repo.hdp.link/ambari/centos7/2.7.6.0-0/repos-ambari.tar.gz

  • Extract the archive in /var/www/html (default installation folder for httpd)

  • Configure the yum repository on your servers. Edit /etc/yum.repos.d/ambari.repo

    [Ambari - HDP]
    name=Ambari - HDP
    baseurl=http://HOSTNAME_OF_MY_REPOSITORY_SERVER/ambari
    enabled=1
    priority=1
  • Clean your yum cache yum clean all

  • Check that the repository is set correctly yum repolist

远程#

If your servers have direct access to internet you can use directly our repository.

  • Configure the yum repository on your servers. Edit /etc/yum.repos.d/ambari.repo

    [Ambari - HDP]
    name=Ambari - HDP
    baseurl=http://x86.repo.hdp.link/ambari/centos7/2.7.6.0-0
    enabled=1
    priority=1
  • Clean your yum cache yum clean all

  • Check that the repository is set correctly yum repolist

Ambari Server Installation#

Requirements#

As we said before, the current stack is only compatible with CentOS 7.X

  • Packages needed : scp, curl, unzip, tar, wget, gcc, python (2.7.12 < ), python-devel, openssl (1.01 build16 <)

  • Minimum recommended ulimit is 10000 or more. To set the ulimit use ulimit -n 10000

  • Password less ssh if you want to let Ambari-Server install the ambari-agent manually on your servers, or go directly to "Ambari Agent > Manuel Installation"

  • Disable Selinux permanently. Set SELINUX=disable in /etc/selinux/config

  • If you installation contains Packagekit, disable it by setting enabled=0 in /etc/yum/pluginconf.d/refresh-packagekit.conf

  • Time synchronization : Install/configure NTP/Chrony(whatever) to synchronize time on your cluster

  • Databases requirements TO BE COMPLETED

Installation#


Ambari Agent Installation#

Manual installation

  • Configure the Ambari yum repository => Create Ambari repository

  • RHEL/CentOS : yum install ambari-agent

  • Edit /etc/ambari-agent/conf/ambari-agent.ini and set the hostname of your Ambari-Server

    [server]
    hostname=AMBARI_SERVER_HOSTNAME
    url_port=8440
    secured_url_port=8441

上级主题: : HiDataPlus(HDP)安装参考文档
下一主题: : 使用Ambari UI安装HiDataPlus(HDP)