当前位置:   article > 正文

ambari+hdp+spark集群本地源搭建详细图解教程_ambari下载spark集群修改

ambari下载spark集群修改

Ambari本地源搭建hdp+spark集群

一、   操作系统

     RHEL 7

二、   本地源搭建

1.     安装apache web服务

a)       安装

选择一台节点单独作为apache web服务,并通过yum来安装;

b)       自动启动和停止

启动和停止

#systemctl enable httpd.service        

# systemctl start httpd.service启动

# systemctl restart httpd.service重新启动

# systemctl stop httpd.service停止服务

c)       测试

# echo"www.linuxidc.local" > /var/www/html/index.html

# echo"good web服务" >> /var/www/html/index.html

然后在浏览器中输入http://hostname会出现以上输入的文字

 

2.     获取本地仓库软件包

1)   创建本地仓库Repositories的目录

1、在Apache http web服务上的默认根目录:/var/www/html/

 

2)   下载Ambari Repositories仓库

注:此例是下载ambari 2.4.1.0,请下载最新版本

Base URL

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

Repo File

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

Tarball md5 |asc

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

 

把下载ambari.repoambari-2.4.1.0-centos7.tar.gz文件

拷贝到web服务器上Ambari/centos7/ 目录下

 

3)   下载HDP Stack Repositories仓库

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/天景科技苑/article/detail/743348
推荐阅读
相关标签
  

闽ICP备14008679号