b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

linux 网络状态命令 详解linux运维工程师高级篇(大数据安全方向)(4)

电脑杂谈  发布时间:2018-02-08 07:09:55  来源:网络整理

3.将单前目录生成的Keytab拷贝到AmbariServer所在的集群。linux 网络状态命令确定该文件有合适的权限,能够被启动Ambari Server守护进程所访问。

# scp ambari.server.keytab hdp140:/etc/security/keytabs/
# ll /etc/security/keytabs/ambari.server.keytab
-r--r----- 1 root root 530 Dec 18 20:06 /etc/security/keytabs/ambari.server.keytab

4.停止ambari server

# ambari-server stop

5.运行setup-security命令,设置JAAS。标红部分为需要设置部分。

A.选择3,Setup Ambari kerberos JAAS configuration

B.输入第一步为Ambari Server设置的principal名

C.输入Ambari principal的Keytab所在路径

# ambari-server setup-security
Using python  /usr/bin/python2
Security setup options...
===========================================================================
Choose one of the following options:
  [1] Enable HTTPS for Ambari server.
  [2] Encrypt passwords stored in ambari.properties file.
  [3] Setup Ambari kerberos JAAS configuration.
  [4] Setup truststore.
  [5] Import certificate to truststore.
===========================================================================
Enter choice, (1-5): 3
Setting up Ambari kerberos JAAS configuration to access secured Hadoop daemons...
Enter ambari servers kerberos principal name (ambari@VRV.COM): ambari-server@VRV.COM
Enter keytab path for ambari servers kerberos principal: /etc/security/keytabs/ambari.server.keytab
Ambari Server setup-security completed successfully.
重启Ambari Server
# ambari-server restart


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-66746-4.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...