Apache Ambari安装过程(CentOS 6.5)
一.准备环境
1.host
本人准备了三台服务器,
vim /etc/hosts
192.168.1.131 dk11
192.168.1.132 dk21
192.168.1.133 dk31
2.免密 SSH
cd ~
ssh-keygen
一直按回车
配置本地的免登录
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
配置其他节点
scp ~/.ssh/authorized_keys dk11:/root/.ssh/
scp ~/.ssh/authorized_keys dk21:/root/.ssh/
scp ~/.ssh/authorized_keys dk31:/root/.ssh/
OK .测试一下是否成功: ssh dk21, ssh dk31
出现
Last login: Tue Mar :: from dk11
说明成功
3. 关闭防火墙
4.同步集群的时间(ntp)
5. 关闭 selinux ,需要重启
vim /etc/selinux/config
SELINUX=disabled
重启.
二、安装Ambari Server
2.1添加 yum 源
wget http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.0.1/ambari.repo cp ambari.repo /etc/yum.repos.d yum install epel-release
检查是否成功 :yum repolist
[root@dk11 run]# yum repolist
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.zju.edu.cn
* epel: mirror.premi.st
* extras: mirrors.btte.net
* updates: mirrors.cn99.com
repo id repo name status
HDP-UTILS-1.1.0.15 Hortonworks Data Platform Utils Version - HDP-UTI
Updates-ambari-1.2.4.9 ambari-1.2.4.9 - Updates
ambari-.x Ambari .x
base CentOS- - Base ,
epel Extra Packages for Enterprise Linux - x86_64 ,
extras CentOS- - Extras
updates CentOS- - Updates
repolist: ,
出现 epel 则成功
2.2 安装
yum install ambari-server
2.3 设置
ambari-server setup



会提示安装jdk,网速好的可以确定,否则可以下载jdk-6u31-linux-x64.bin,放到/var/lib/ambari-server/resources/下面
接着会提示配置用的数据库,可以选择Oracle或postgresql,选择n会按默认配置
数据库类型:postgresql
数据库:ambari
用户名:ambari
密码:bigdata
如果提示Oracle JDK license,yes
等待安装完成
三、配置Ambari
启动 Ambari-server
ambari-server start

用户名密码: admin,admin

开始配置
点击




注意,秘钥 在 /root/.ssh/id_rsa 中
四.遇到的错误
4.1 Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
4.2 ambari 版本太低
Cluster primary OS type is redhat6 and local OS type is centos5 Local OS is not compatible with cluster primary OS. Please perform manual bootstrap on this host.
检查是不是你下载的
wget http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/1.2.4.9/ambari.repo
如果是,请改成 本文推荐的版本
wget http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.0.1/ambari.repo
4.3 . error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group
解决方案: yum install openssl
Apache Ambari安装过程(CentOS 6.5)的更多相关文章
- apache/tomcat安装过程略
apache/tomcat安装过程略 一些变量 apache安装目录 APACHE_PREFIX=/Data/app/apache apache配置文件 APACHE_CONF=/etc/httpd/ ...
- hadoop集群监控工具Apache Ambari安装配置教程
ambari 1.2.4 下载地址:http://www.apache.org/dist/incubator/ambari/ambari-1.2.4/ambari-1.2.4-incubating.t ...
- ambari安装过程中的问题汇总
今天重新安装ambari过程中,遇到了几个问题,耗费了我很长时间,在此记录一下 ambari重新安装可参考我之前的一篇随笔 http://www.cnblogs.com/6tian/p/4097401 ...
- Ubuntu下Apache的安装
Ubuntu下可快速安装LAMP server(Apache+MySQL+PHP5),参见<Ubuntu下快速安装LAMP server>一文. 也可以手动安装Apache.本文介绍如何手 ...
- 转: CentOS上安装LAMP之第一步:Apache环境及安装过程报错解决方案(纯净系统环境)
传送门:http://blog.csdn.net/zhangatle/article/details/77416996 小心坑!填完就懂怎么安装了 Note:要从零开始搭建,就不要嫌中间遇到各种问题 ...
- CentOS 7下Cloudera Manager及CDH 6.0.1安装过程详解
目录 一.概念介绍 1.CDH 概览 2.Cloudera Manager 概览 二.环境准备 1.软件版本选择 2.节点准备(四个节点) 3.配置主机名和hosts解析(所有节点) 4.关闭防火墙 ...
- Centos 7 安装LAMP以及在Apache上安装positiveSSL。
简介 LAMP(linux , Apache, mysql , php)是集成动态网站经常使用的一套开源软件,实际包含linux操作系统,Apache web服务器,mysql(mariadb 分支) ...
- CentOS 6.5(6.4)安装过程图文教程
CentOS 6.4是最新的出的系统,这里分享下安装教程,有些设置大部分教程没出现过,特分享下,方便需要的朋友 1.首先,要有一张CentOS 6.4的安装介质,使用介质启动电脑出现如下界面 界面说明 ...
- linux安装apache的纠结过程
本以为linux下安装apache是件很简单的过程.三命令就可以搞定,jxvf解压,make 编译,make install 安装就OK了.没想到这个过程还颇费周折.可能和环境有关吧.先说一下我的环境 ...
随机推荐
- P4554 小明的游戏
SPFA板子题 #include <stdio.h> #include <string.h> #define Clean(X,K) memset(X,K,sizeof(X)) ...
- [LeetCode] 6. Z 字形变换
题目链接:(https://leetcode-cn.com/problems/zigzag-conversion/) 题目描述: 将一个给定字符串根据给定的行数,以从上往下.从左到右进行 Z 字形排列 ...
- MongoDB 用MongoTemplate查询指定时间范围的数据
mongoDB大于小于符号对应: > 大于 $gt< 小于 $lt>= 大于等于 $gte<= 小于等于 $lte 要查询同一个时间多个约束可能出现的error: org.sp ...
- .net后台以post方式调用http接口[转]
string strResult = ""; try { HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create( ...
- CCPC-Wannafly Winter Camp Day1部分题目解析
Preface 最近恰好不知道做什么题,所以就按老叶要求做上面的比赛. 稍微看了下感觉难度适中,大部分题目偏向联赛难度,当然也有些题目打到了省选题的感觉(基本都是Div1的题) 这里就简单拿一些我做得 ...
- 【原创】分布式之大话CAP
引言 本文翻译自博客 http://ksat.me/a-plain-english-introduction-to-cap-theorem/ 博主觉得这个故事讲的生动活泼,因此翻译来给大家分享,顺便加 ...
- element ui 时间 date 差一天
let BirthdayYMD = common.formatDate(this.addForm.Dendline); this.addForm.Dendline = new Date(Birthda ...
- MySQL数据类型的选择
+++++++++++++++++++++++++++++++++++++++++++标题:MySQL数据类型的选择时间:2019年2月22日内容:MySQL数据类型的选择范式参考重点:主要讲述MyS ...
- [模板] 数学基础:快速幂/乘/逆元/exGCD/(ex)CRT/(ex)Lucas定理
方便复制 快速乘/幂 时间复杂度 \(O(\log n)\). ll nmod; //快速乘 ll qmul(ll a,ll b){ ll l=a*(b>>hb)%nmod*(1ll< ...
- axios页面无刷新提交from表单
页面部分大概意思一下 <form method="post" enctype="multipart/form-data"> ... </for ...