CentOS 7.2 安装 Ambari 2.2.2 (二)

4.进行安装Ambari

4.1 安装Ambari2.2.2

4.1.1安装Ambari

yum install ambari-server

4.1.2配置Ambari

ambari-server setup

下面是配置执行流程,按照提示操作

1.检查SELinux是否关闭,如果关闭不用操作

Using Python  /usr/bin/python
Setup ambari-server
Checking SELinux...
SELinux status is 'disabled'

2.提示是否自定义设置。输入:y

Customize user account for ambari-server daemon [y/n] (n)? y

3.ambari-server 账号。输入:ambari

Enter user account for ambari-server daemon (root):ambari
Adjusting ambari-server permissions and ownership...

4.检查防火墙,如果关闭则不用操作

Checking firewall status...
Redirecting to /bin/systemctl status  iptables.service

5.设置JDK。输入:3

Checking JDK...
Do you want to change Oracle JDK [y/n] (n)? y
[1] Oracle JDK 1.8 + Java Cryptography Extension (JCE) Policy Files 8
[2] Oracle JDK 1.7 + Java Cryptography Extension (JCE) Policy Files 7
[3] Custom JDK
==============================================================================
Enter choice (1): 3

6.如果上面选择3自定义JDK,则需要设置JAVA_HOME。输入:/opt/java/jdk1.8.0_91

WARNING: JDK must be installed on all hosts and JAVA_HOME must be valid on all hosts.
WARNING: JCE Policy files are required for configuring Kerberos security. If you plan to use Kerberos,please make sure JCE Unlimited Strength Jurisdiction Policy Files are valid on all hosts.
Path to JAVA_HOME: /opt/java/jdk1.8.0_91
Validating JDK on Ambari Server...done.
Completing setup...

 

 

文章链接: https://www.mfisp.com/19748.html

文章标题:CentOS 7.2 安装 Ambari 2.2.2 (二)

文章版权:梦飞科技所发布的内容,部分为原创文章,转载请注明来源,网络转载文章如有侵权请联系我们!

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。

给TA打赏
共{{data.count}}人
人已打赏
建站教程

CentOS 7.2 安装 Ambari

2023-4-18 12:43:10

建站教程

CentOS 7.2 安装 Ambari(三)

2023-4-19 12:05:35

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
客户经理
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索

梦飞科技 - 最新云主机促销服务器租用优惠