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…

 

 

0

评论0

请先
显示验证码
没有账号?注册  忘记密码?