Centos 安装配置 Ambari
目录
一、基本配置................................................................................................................................................................................. 1
1. 配置静态 IP(所有节点)............................................................................................................................................... 1
2. 配置 hostname(所有节点)......................................................................................................................................... 1
3. 设置 ambari 用户(所有节点)..................................................................................................................................... 1
4. 设置 sudo 免密................................................................................................................................................................. 2
5. 配置免密登陆(server 节点)........................................................................................................................................2
6. 开启 NTP 服务..................................................................................................................................................................2
7. 配置 FQDN(所有节点)............................................................................................................................................... 2
8. 关闭 SELinux(所有节点)............................................................................................................................................2
9. 关闭防火墙........................................................................................................................................................................2
二、制作本地源(主节点)......................................................................................................................................................... 2
1. 安装 Apache HTTP、允许服务通过防火墙(永久)..................................................................................................2
2. 安装本地源制作相关工具................................................................................................................................................2
3. 下载安装资源....................................................................................................................................................................2
三、安装数据库............................................................................................................................................................................. 4
1. 下载 mysql 的 repo 源..................................................................................................................................................... 4
四、 安装
JDK
................................................................................................................................................................................ 5
1. 下载安装............................................................................................................................................................................5
2. 设置环境变量....................................................................................................................................................................5
五、 配置
ambari
...........................................................................................................................................................................5
1. 安装 ambari-server.......................................................................................................................................................... 5
1 yum install ambari-server................................................................................................................................ 5
2. 配置 Ambari...................................................................................................................................................................... 5