Ambari Centos7离线安装教程详细指导(参考)

导读:本篇文章讲解 Ambari Centos7离线安装教程详细指导(参考),希望对大家有帮助,欢迎收藏,转发!站点地址:www.bmabk.com

版本下载地址:

https://docs.cloudera.com/HDPDocuments/

Ambari Centos7离线安装教程详细指导(参考)

新版本下载需要认证:

Ambari Centos7离线安装教程详细指导(参考)

github:

https://github.com/apache/ambari

官方安装服务

https://github.com/hortonworks/hdp_ambari_definitions-release

api:

https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md

镜像下载

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

http://public-repo-1.hortonworks.com/HDP-GPL/centos7/3.x/updates/3.1.0.0

官方自定义服务指导

https://cwiki.apache.org/confluence/display/AMBARI/Defining+a+Custom+Service

https://community.hortonworks.com/articles/215078/how-to-install-elk-stack-632-in-ambari.html

https://community.hortonworks.com/articles/242228/create-a-test-base-for-elk-stack-632.html

 

Apache Ambari-2.7.3+Centos7离线安装

https://www.cnblogs.com/ivan0626/p/4143963.html

https://blog.csdn.net/Happy_Sunshine_Boy/article/details/86595945

Ambari2.7.1安装配置

https://blog.csdn.net/create_17/article/details/83692585

 

大数据基础之Ambari(2)通过Ambari部署ElasticSearch(ELK)

https://www.cnblogs.com/barneywill/p/10281678.html

https://github.com/saurabhmishra/ambarielasticsearch

https://github.com/steven-dfheinz/dfhz_elk_mpack

大数据基础之Ambari(5)通过Ambari部署Hue

https://www.cnblogs.com/barneywill/p/10296516.html

大数据基础之Ambari(3)通过Ambari部署Airflow

https://www.cnblogs.com/barneywill/p/10268501.html

https://www.cnblogs.com/barneywill/p/10284804.html

https://github.com/miho120/ambari-airflow-mpack

 

Hue-release-4.3.0集成Ambari2.7.3

https://blog.csdn.net/Happy_Sunshine_Boy/article/details/96169834

 

HDP3.1.4的安装简要步骤

详细参照:https://blog.csdn.net/qq_40791253/article/details/102500998

1.安装相应的工具

yum install -y yum-utils createrepo httpd

 

2.修改/etc/httpd/conf/httpd.conf

#将DocumentRoot "/var/www/html"改为自己设置的路径/notebooks/download/hdp


# DocumentRoot "/var/www/html"
DocumentRoot "/notebooks/download/hdp"

 

3.启动httpd服务

systemctl start httpd

 

4.下载ambari

wget http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.4.0/ambari.repo

wget http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.4.0/ambari-2.7.4.0-centos7.tar.gz

 

5.下载hdp

# hdp
wget http://public-repo-1.hortonworks.com/HDP/centos7/3.x/updates/3.1.4.0/hdp.repo

wget http://public-repo-1.hortonworks.com/HDP/centos7/3.x/updates/3.1.4.0/HDP-3.1.4.0-centos7-rpm.tar.gz




# HDP-UTILS
wget http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/centos7/HDP-UTILS-1.1.0.22-centos7.tar.gz


# HDP-GPL
wget http://public-repo-1.hortonworks.com/HDP-GPL/centos7/3.x/updates/3.1.4.0/hdp.gpl.repo

wget http://public-repo-1.hortonworks.com/HDP-GPL/centos7/3.x/updates/3.1.4.0/HDP-GPL-3.1.4.0-centos7-gpl.tar.gz

 

6.解压

tar -zxvf ambari-2.7.4.0-centos7.tar.gz
tar -zxvf HDP-3.1.4.0-centos7-rpm.tar.gz      
tar -zxvf HDP-UTILS-1.1.0.22-centos7.tar.gz
tar -zxvf HDP-GPL-3.1.4.0-centos7-gpl.tar.gz

 

7.修改ambari.repo (同理修改其他的)

vim /etc/yum.repos.d/ambari.repo

#VERSION_NUMBER=2.7.4.0-118
[ambari-2.7.4.0]
#json.url = http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json
name=ambari Version - ambari-2.7.4.0
#baseurl=http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.4.0
baseurl=http://0.0.0.0/ambari/centos7/2.7.4.0-118
gpgcheck=1
#gpgkey=http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.4.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
gpgkey=http://0.0.0.0/ambari/centos7/2.7.4.0-118/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1

 

vim /etc/yum.repos.d/hdp.repo

#VERSION_NUMBER=3.1.4.0-315
[HDP-3.1.4.0]
name=HDP Version - HDP-3.1.4.0
baseurl=http://0.0.0.0/HDP/centos7/3.1.4.0-315
gpgcheck=1
gpgkey=http://0.0.0.0/HDP/centos7/3.1.4.0-315/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1


[HDP-UTILS-1.1.0.22]
name=HDP-UTILS Version - HDP-UTILS-1.1.0.22
baseurl=http://0.0.0.0/HDP-UTILS/centos7/1.1.0.22
gpgcheck=1
gpgkey=http://0.0.0.0/HDP-UTILS/centos7/1.1.0.22/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1

 

vim /etc/yum.repos.d/hdp.gpl.repo

#VERSION_NUMBER=3.1.4.0-315
[HDP-GPL-3.1.4.0]
name=HDP-GPL Version - HDP-GPL-3.1.4.0
baseurl=http://0.0.0.0/HDP-GPL/centos7/3.1.4.0-315
gpgcheck=1
gpgkey=http://0.0.0.0/HDP-GPL/centos7/3.1.4.0-315/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1

 

8.yum创建缓存

yum clean all
yum makecache

# 查看仓库
yum repolist

 

9.安装ambari

#主节点
yum install ambari-server
#从节点
yum install ambari-agent

# 启动前先配置
ambari-server setup


ambari-server start

ambari-server status


ambari-server stop

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

文章由极客之音整理,本文链接:https://www.bmabk.com/index.php/post/14017.html

(0)
小半的头像小半

相关推荐

极客之音——专业性很强的中文编程技术网站,欢迎收藏到浏览器,订阅我们!