一、集群软硬件环境准备:

操作系统:  centos 7 x86_64.1804

Ambari版本:2.7.0

HDP版本:3.0.0

HAWQ版本:2.3.0
5台PC作为工作站:

ep-bd01 ep-bd02 ep-bd03 ep-bd04 ep-bd05

  其中ep-bd01作为主节点,用于安装ambari-server。

二、配置操作系统,安装必备软件

1,安装CentOS 7操作系统:环境配置,安装必备软件。

2,安装配置NTP服务,保证集群时间保持同步,以防止由于时间不同而造成掉线故障。

详细看随笔:基于【CentOS-7+ Ambari 2.7.0 + HDP 3.0】搭建HAWQ数据仓库之——安装配置NTP服务,保证集群时间保持同步
见《安装配置NTP服务》

3,安装MariaDB Server用于Ambari server以及Hue和Hive

详细过程,参见:基于【CentOS-7+ Ambari 2.7.0 + HDP 3.0】搭建HAWQ数据仓库之一 —— MariaDB 安装配置

 4,安装yum priorities plugin

yum install yum-plugin-priorities -y

 

三、搭建本地仓库:

1,下载软件包:

cd /root
mkdir downloads
cd downloads
wget http://public-repo-1.hortonworks.com/HDP-GPL/centos7/3.x/updates/3.0.0.0/HDP-GPL-3.0.0.0-centos7-gpl.tar.gz
wget http://public-repo-1.hortonworks.com/HDP/centos7/3.x/updates/3.0.0.0/hdp.repo
wget http://public-repo-1.hortonworks.com/HDP/centos7/3.x/updates/3.0.0.0/HDP-3.0.0.0-1634.xml
wget http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.0.0/ambari.repo
wget http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/centos7/HDP-UTILS-1.1.0.22-centos7.tar.gz
wget http://public-repo-1.hortonworks.com/HDP/centos7/3.x/updates/3.0.0.0/HDP-3.0.0.0-centos7-rpm.tar.gz
wget http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.0.0/ambari-2.7.0.0-centos7.tar.gz

 

2、搭建本地仓库:

安装并开启Apache HTTP服务

yum install httpd -y
systemctl enable httpd
systemctl start httpd 
安装HTTPD服务

相关文章:

  • 2021-08-13
  • 2021-08-08
  • 2022-12-23
  • 2021-11-07
  • 2021-12-28
  • 2022-12-23
  • 2021-11-28
  • 2021-11-28
猜你喜欢
  • 2021-08-20
  • 2021-08-30
  • 2021-06-16
  • 2021-09-07
  • 2022-02-20
  • 2021-08-30
  • 2021-12-05
相关资源
相似解决方案