Skip to content

Instantly share code, notes, and snippets.

@asears
Created June 29, 2016 02:47
Show Gist options
  • Save asears/43dbb59139b96bf53a3a54f30e60d508 to your computer and use it in GitHub Desktop.
Save asears/43dbb59139b96bf53a3a54f30e60d508 to your computer and use it in GitHub Desktop.
#setup kerberos for ambari server
kadmin.local
addprinc -randkey ambari-server@HWX.COM
xst -k ambari.server.keytab ambari-server@HWX.COM
cp *.keytab /etc/security/keytabs/ambari.server.keytab
chown deployuser:hadoop ambari.server.keytab
ambari-server stop
ambari-server setup-security
3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment