zoukankan      html  css  js  c++  java
  • centos7安装ambari-2.7.3

    centos7安装Ambari-2.7.3

    原文参考官网

    https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-installation/content/prepare_the_environment.html

    准备工作

    产品的互操作性

    Ambari 2.7.3只支持HDP-3.1.0HDF-3.2.0

    使用以下URL确定对每个产品版本的支持。

    https://supportmatrix.hortonworks.com

    软件需求

    On each of your hosts:

    yumrpm (RHEL/CentOS/Oracle/Amazon Linux)

    zypperphp_curl (SLES)

    apt (Debian / Ubuntu)

    scpcurlunziptarwgetgcc*

    OpenSSL (v1.01,构建16或更高版本)

    Python (python-devel *)

    Ambari Metrics Monitor使用一个python(psutil),它需要gccpython-devel包。

     

     

    准备环境

    设置无密码SSH

    https://www.linuxidc.com/Linux/2018-09/154112.htm

    https://www.cnblogs.com/xiaoaofengyue/p/8080639.html

     

     

    在集群和浏览器主机上启用NTP

    https://www.cnblogs.com/quchunhui/p/7658853.html

     

     

    检查DNSNSCD

     

    配置iptables

     

    CentOS7如何关闭防火墙

    https://jingyan.baidu.com/article/ff42efa9fd8c1cc19e2202bb.html

     

    禁用SELinuxPackageKit并检查umask

     

    临时和永久关闭Selinux

    https://blog.csdn.net/xin_y/article/details/79007986

    UMASK Examples:

    为当前登录会话设置umask

    umask 0022

    检查您当前的umask

    umask

    永久更改所有交互式用户的umask

    echo umask 0022 >> /etc/profile

     

    1下载并设置数据库连接器
    2.使用本地存储库

    3.获取公共存储库

    我选择了mysql,具体可以参考我的另一篇文章 https://www.cnblogs.com/wangdaxianer/p/10521923.html 

    Mysql的连接器mysql-connector-java-8.0.13.jarambari-server setup的时候会用到)

    安装Ambari

    下载Ambari存储库

    RHEL / CentOS / Oracle Linux 7

    1. root。登录主机。
    1. Ambari存储库文件下载到安装主机上的目录中。
    1. wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.3.0/ambari.repo -O /etc/yum.repos.d/ambari.repo

     

     

     

    重要

    不要修改ambari.repo文件名。在代理注册期间,此文件应在Ambari Server主机上可用。

    1. 通过检查repo列表确认已配置存储库。
    1. yum repolist


    您应该在列表中看到与Ambari存储库类似的值。

    repo id                    repo name                                       status

    ambari-2.7.3.0-139        ambari Version - ambari-2.7.3.0-139            12

    epel/x86_64                Extra Packages for Enterprise Linux 7 - x86_64  11,387

    ol7_UEKR4/x86_64           Latest Unbreakable Enterprise Kernel Release 4

                                for Oracle Linux 7Server (x86_64)   295

    ol7_latest/x86_64          Oracle Linux 7Server Latest (x86_64)            18,642

    puppetlabs-deps/x86_64     Puppet Labs Dependencies El 7 - x86_64          17

    puppetlabs-products/x86_64 Puppet Labs Products El 7 - x86_64              225

     repolist: 30,578

    版本值因安装而异。

    安装Ambari位。这也安装了默认的PostgreSQL Ambari数据库。

    Yum -y install ambari-server

    成功安装显示类似于以下内容的输出:

    安装:postgresql-libs-9.2.18-1.el7.x86_64 1/4

    安装:postgresql-9.2.18-1.el7.x86_64 2/4

    安装:postgresql-server-9.2.18-1.el7.x86_64 3/4

    安装:ambari-server-2.7.3.0-139.x86_64 4/4

    验证:ambari-server-2.7.3.0-139.x86_64 1/4

    验证:postgresql-9.2.18-1.el7.x86_64 2/4

    验证:postgresql-server-9.2.18-1.el7.x86_64 3/4

    验证:postgresql-libs-9.2.18-1.el7.x86_64 4/4

    安装:

      ambari-server.x86_64 0:2.7.3.0-139

    安装依赖项:

     postgresql.x86_64 0:9.2.18-1.el7

     postgresql-libs.x86_64 0:9.2.18-1.el7

     postgresql-server.x86_64 0:9.2.18-1.el7

    完成!

    设置Ambari-server

    ambari-server setup

    启动httpd服务

    Systemctl start httpd.service

    访问页面192.168.255.132:8080进行页面继续安装

  • 相关阅读:
    艾氏筛法资料
    CF Soldier and Cards (模拟)
    CF Soldier and Badges (贪心)
    POJ 1308 Is It A Tree? (并查集)
    HDU 1272 小希的迷宫 (并查集)
    HDU 1213 How Many Tables (并查集)
    POJ 1611 The Suspects (并查集)
    POJ 2236 Wireless Network (并查集)
    Iptables-linux服务器做路由转发
    asdf
  • 原文地址:https://www.cnblogs.com/wangdaxianer/p/10524976.html
Copyright © 2011-2022 走看看